Wolframe, 0.0.3

_Wolframe::serialize::DDLFormSerializer Class Reference

Serializer of a form defined by a DDL. More...

#include <ddlFormSerializer.hpp>

Inheritance diagram for _Wolframe::serialize::DDLFormSerializer:
_Wolframe::serialize::DDLStructSerializer _Wolframe::langbind::TypedInputFilter _Wolframe::langbind::FilterBase

Public Member Functions

 DDLFormSerializer ()
 Default constructor. More...
 
 DDLFormSerializer (const types::FormR &form_)
 Constructor. More...
 
 DDLFormSerializer (const types::FormR &form_, const types::VariantStruct *substructure)
 Constructor. More...
 
 DDLFormSerializer (const DDLFormSerializer &o)
 Copy constructor. More...
 
virtual ~DDLFormSerializer ()
 Destructor. More...
 
DDLFormSerializeroperator= (const DDLFormSerializer &o)
 Assignment operator. More...
 
const types::FormRform () const
 Get a shared reference to the form of this serializer. More...
 
- Public Member Functions inherited from _Wolframe::serialize::DDLStructSerializer
 DDLStructSerializer ()
 Default constructor. More...
 
 DDLStructSerializer (const types::VariantStruct *st)
 Constructor. More...
 
 DDLStructSerializer (const DDLStructSerializer &o)
 Copy constructor. More...
 
virtual ~DDLStructSerializer ()
 Destructor. More...
 
DDLStructSerializeroperator= (const DDLStructSerializer &o)
 Assignment operator. More...
 
void init (const langbind::TypedOutputFilterR &out, serialize::Flags::Enum flags=serialize::Flags::None)
 Serialize start initialization. More...
 
bool call ()
 Call of one processing step the serializer. More...
 
virtual TypedInputFiltercopy () const
 Get a self copy. More...
 
virtual bool getNext (langbind::FilterBase::ElementType &type, types::VariantConst &value)
 Get the next element of the serialization. More...
 
virtual bool setFlags (Flags f)
 Set the flags stearing the serialization. More...
 
- Public Member Functions inherited from _Wolframe::langbind::TypedInputFilter
 TypedInputFilter (const char *name_)
 Constructor. More...
 
 TypedInputFilter (const TypedInputFilter &o)
 Copy constructor. More...
 
virtual ~TypedInputFilter ()
 Destructor. More...
 
State state () const
 Get the current state. More...
 
void setState (State s, const char *msg=0)
 Set input filter state with error message. More...
 
virtual void resetIterator ()
 Set the iterator to the start (if implemented) More...
 
- Public Member Functions inherited from _Wolframe::langbind::FilterBase
 FilterBase (const char *name_)
 
 FilterBase (const FilterBase &o)
 
virtual ~FilterBase ()
 
virtual const char * getError () const
 Get the las error in case of error state. More...
 
void setError (const char *msg=0)
 Set input filter error message. More...
 
bool flag (Flags f) const
 Query a flag (or a set of flags) More...
 
Flags flags () const
 Get all flags. More...
 
virtual bool checkSetFlags (Flags) const
 Test if a flag can be set (allowed) More...
 
const char * name () const
 Get the name of the filter. More...
 

Private Attributes

types::FormR m_form
 reference to the form of this serializer More...
 

Additional Inherited Members

- Public Types inherited from _Wolframe::langbind::TypedInputFilter
typedef InputFilter::State State
 
- Public Types inherited from _Wolframe::langbind::FilterBase
enum  ElementType { OpenTag, Attribute, Value, CloseTag }
 Content element type that describes the role of the element in the structured input. More...
 
enum  Flags { None =0x00, SerializeWithIndices =0x01, PropagateNoCase =0x02, PropagateNoAttr =0x04 }
 
- Static Public Member Functions inherited from _Wolframe::langbind::FilterBase
static const char * elementTypeName (ElementType i)
 Get the name of an ElementType as string. More...
 

Detailed Description

Serializer of a form defined by a DDL.

Constructor & Destructor Documentation

_Wolframe::serialize::DDLFormSerializer::DDLFormSerializer ( )
inline

Default constructor.

_Wolframe::serialize::DDLFormSerializer::DDLFormSerializer ( const types::FormR form_)
inlineexplicit

Constructor.

_Wolframe::serialize::DDLFormSerializer::DDLFormSerializer ( const types::FormR form_,
const types::VariantStruct substructure 
)
inlineexplicit

Constructor.

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

Copy constructor.

virtual _Wolframe::serialize::DDLFormSerializer::~DDLFormSerializer ( )
inlinevirtual

Destructor.

Member Function Documentation

const types::FormR& _Wolframe::serialize::DDLFormSerializer::form ( ) const
inline

Get a shared reference to the form of this serializer.

DDLFormSerializer& _Wolframe::serialize::DDLFormSerializer::operator= ( const DDLFormSerializer o)
inline

Assignment operator.

Member Data Documentation

types::FormR _Wolframe::serialize::DDLFormSerializer::m_form
private

reference to the form of this serializer


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