ulxr::ValueParserBase::MemberState Class Reference

Helper class to represent the data of the current parsing step when the xml element is a Struct. More...

#include <ulxr_valueparse_base.h>

Inheritance diagram for ulxr::ValueParserBase::MemberState:

Inheritance graph
[legend]
Collaboration diagram for ulxr::ValueParserBase::MemberState:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MemberState (unsigned st, Value *val)
 Constructs a MemberState.
virtual void takeValue (Value *val)
 Transfers a Value into the MemberState.
virtual void takeName (const CppString &name)
 Transfers a member name into the MemberState.

Protected Attributes

Valuemem_val

Private Member Functions

 MemberState (const MemberState &)
MemberStateoperator= (const MemberState &)

Detailed Description

Helper class to represent the data of the current parsing step when the xml element is a Struct.

Definition at line 137 of file ulxr_valueparse_base.h.


Constructor & Destructor Documentation

ulxr::ValueParserBase::MemberState::MemberState ( unsigned  st,
Value val 
)

Constructs a MemberState.

Parameters:
st the actual state
val pointer to the resulting value

Definition at line 133 of file ulxr_valueparse_base.cpp.

References ulxr::ValueParserBase::ValueState::value.

ulxr::ValueParserBase::MemberState::MemberState ( const MemberState  )  [private]


Member Function Documentation

void ulxr::ValueParserBase::MemberState::takeValue ( Value val  )  [virtual]

Transfers a Value into the MemberState.

Parameters:
val the value

Reimplemented from ulxr::ValueParserBase::ValueState.

Definition at line 141 of file ulxr_valueparse_base.cpp.

References ULXR_PCHAR, and ULXR_TRACE.

void ulxr::ValueParserBase::MemberState::takeName ( const CppString name  )  [virtual]

Transfers a member name into the MemberState.

Parameters:
name the member name

Reimplemented from ulxr::ValueParserBase::ValueState.

Definition at line 154 of file ulxr_valueparse_base.cpp.

MemberState& ulxr::ValueParserBase::MemberState::operator= ( const MemberState  )  [private]


Member Data Documentation

Value* ulxr::ValueParserBase::MemberState::mem_val [protected]

Definition at line 159 of file ulxr_valueparse_base.h.


The documentation for this class was generated from the following files:
Generated on Sun Aug 19 20:09:12 2007 for ulxmlrpcpp by  doxygen 1.5.1