Wolframe, 0.0.3

_Wolframe::serialize::DDLParseState Class Reference

State stack element for an initializer of a DDL structure from an iterator (serialization) More...

#include <ddlParseStack.hpp>

Public Member Functions

 DDLParseState (const DDLParseState &o)
 Copy constructor. More...
 
 DDLParseState (const char *name_, types::VariantStruct *v, const types::NormalizeFunction *n)
 Constructor. More...
 
 ~DDLParseState ()
 Destructor. More...
 
types::VariantStructvalue () const
 Reference to the substructure visited in this state. More...
 
const char * name () const
 Reference name of the substructure visited in this state. More...
 
void state (std::size_t idx)
 Set the internal state. More...
 
std::size_t state () const
 Get the internal state. More...
 
const types::NormalizeFunctionnormalizer () const
 Get the normalizer function of the value node of this state. More...
 

Private Attributes

std::size_t m_size
 
std::size_t m_elemidx
 
types::VariantStructm_value
 
const types::NormalizeFunctionm_normalizer
 
const char * m_name
 
std::size_t m_stateidx
 

Detailed Description

State stack element for an initializer of a DDL structure from an iterator (serialization)

Constructor & Destructor Documentation

_Wolframe::serialize::DDLParseState::DDLParseState ( const DDLParseState o)
inline

Copy constructor.

_Wolframe::serialize::DDLParseState::DDLParseState ( const char *  name_,
types::VariantStruct v,
const types::NormalizeFunction n 
)
inline

Constructor.

_Wolframe::serialize::DDLParseState::~DDLParseState ( )
inline

Destructor.

Member Function Documentation

const char* _Wolframe::serialize::DDLParseState::name ( ) const
inline

Reference name of the substructure visited in this state.

const types::NormalizeFunction* _Wolframe::serialize::DDLParseState::normalizer ( ) const
inline

Get the normalizer function of the value node of this state.

void _Wolframe::serialize::DDLParseState::state ( std::size_t  idx)
inline

Set the internal state.

std::size_t _Wolframe::serialize::DDLParseState::state ( ) const
inline

Get the internal state.

types::VariantStruct* _Wolframe::serialize::DDLParseState::value ( ) const
inline

Reference to the substructure visited in this state.

Member Data Documentation

std::size_t _Wolframe::serialize::DDLParseState::m_elemidx
private
const char* _Wolframe::serialize::DDLParseState::m_name
private
const types::NormalizeFunction* _Wolframe::serialize::DDLParseState::m_normalizer
private
std::size_t _Wolframe::serialize::DDLParseState::m_size
private
std::size_t _Wolframe::serialize::DDLParseState::m_stateidx
private
types::VariantStruct* _Wolframe::serialize::DDLParseState::m_value
private

The documentation for this class was generated from the following file: