Initializer of a structure based on a structure description feeded with a serialization. More...
#include <structParser.hpp>
Public Types | |
typedef boost::shared_ptr< void > | ObjectReference |
Public Member Functions | |
StructParser (void *obj, const StructDescriptionBase *descr) | |
Constructor. More... | |
StructParser (const ObjectReference &obj, const StructDescriptionBase *descr) | |
Constructor. More... | |
StructParser (const StructParser &o) | |
Copy constructor. More... | |
virtual | ~StructParser () |
Destructor. More... | |
void | init (const langbind::TypedInputFilterR &i, serialize::Flags::Enum flags=serialize::Flags::None) |
Parser start initialization. More... | |
const ObjectReference & | object () const |
Get a shared reference of the parsed objects base pointer. More... | |
const StructDescriptionBase * | descr () const |
Get the structure description of the parsed object. More... | |
bool | call () |
Call of one processing step the parser. More... | |
Static Public Member Functions | |
static std::string | getElementPath (const ParseStateStack &stk) |
Get the current element path defined by the stack 'stk' as string for error messages. More... | |
Private Attributes | |
void * | m_ptr |
ObjectReference | m_obj |
const StructDescriptionBase * | m_descr |
Context | m_ctx |
langbind::TypedInputFilterR | m_inp |
ParseStateStack | m_stk |
Initializer of a structure based on a structure description feeded with a serialization.
typedef boost::shared_ptr<void> _Wolframe::serialize::StructParser::ObjectReference |
_Wolframe::serialize::StructParser::StructParser | ( | void * | obj, |
const StructDescriptionBase * | descr | ||
) |
Constructor.
_Wolframe::serialize::StructParser::StructParser | ( | const ObjectReference & | obj, |
const StructDescriptionBase * | descr | ||
) |
Constructor.
_Wolframe::serialize::StructParser::StructParser | ( | const StructParser & | o | ) |
Copy constructor.
|
inlinevirtual |
Destructor.
bool _Wolframe::serialize::StructParser::call | ( | ) |
Call of one processing step the parser.
|
inline |
Get the structure description of the parsed object.
|
static |
Get the current element path defined by the stack 'stk' as string for error messages.
void _Wolframe::serialize::StructParser::init | ( | const langbind::TypedInputFilterR & | i, |
serialize::Flags::Enum | flags = serialize::Flags::None |
||
) |
Parser start initialization.
|
inline |
Get a shared reference of the parsed objects base pointer.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Copyright © 2014 - Project Wolframe - All Rights Reserved