BasicDecomposer< T > Class Template Reference

#include <Pt/Decomposer.h>

Manages the decomposition of types during serialization.

Inherits Decomposer.

Public Member Functions

 BasicDecomposer (SerializationContext *context=0)
 Construct with context.
void begin (const T &type, const char *name)
 Begin decomposing a type.
void setParent (Decomposer *parent)
 Sets the parent.
Decomposerparent () const
 Returns the parent.
void format (Formatter &formatter)
 Format the type completely.
void beginFormat (Formatter &formatter)
 Begin formatting the type.
DecomposeradvanceFormat (Formatter &formatter)
 Advance formatting the type.

Protected Member Functions

void onFormat (Formatter &formatter)
 Format the type completely.
void onBeginFormat (Formatter &formatter)
 Begin formatting the type.
DecomposeronAdvanceFormat (Formatter &formatter)
 Advance formatting the type.