#include <Pt/Decomposer.h>
Manages the decomposition of types during serialization.
Inherits Decomposer.
Public Member Functions | |
| BasicDecomposer (SerializationContext *context=0) | |
| Construct with context. | |
| Decomposer * | advanceFormat (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. | |
| Decomposer * | parent () const |
| Returns the parent. | |
| void | setParent (Decomposer *parent) |
| Sets the parent. | |
Protected Member Functions | |
| Decomposer * | onAdvanceFormat (Formatter &formatter) |
| Advance formatting the type. | |
| void | onBeginFormat (Formatter &formatter) |
| Begin formatting the type. | |
| void | onFormat (Formatter &formatter) |
| Format the type completely. | |