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.
 
DecomposeradvanceFormat (Formatter &formatter)
 Advance formatting the type.
 
void begin (const T &type, const char *name)
 Begin decomposing a type.
 
void beginFormat (Formatter &formatter)
 Begin formatting the type.
 
void format (Formatter &formatter)
 Format the type completely.
 
Decomposerparent () const
 Returns the parent.
 
void setParent (Decomposer *parent)
 Sets the parent.
 

Protected Member Functions

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