#include <TextSerialize.h>

# Comments {\ }*fieldname: value
# additional fields... . # single period
Definition at line 36 of file TextSerialize.h.
Public Member Functions | |
| TextMarshal (context_t context, ExpandableBuffer *buf, int options=0, const char *comment=0) | |
| void | process (const char *name, u_int64_t *i) |
| Virtual functions inherited from SerializeAction. | |
| void | process (const char *name, u_int32_t *i) |
| Virtual functions inherited from SerializeAction. | |
| void | process (const char *name, u_int16_t *i) |
| Virtual functions inherited from SerializeAction. | |
| void | process (const char *name, u_int8_t *i) |
| Virtual functions inherited from SerializeAction. | |
| void | process (const char *name, bool *b) |
| Virtual functions inherited from SerializeAction. | |
| void | process (const char *name, u_char *bp, u_int32_t len) |
| Virtual functions inherited from SerializeAction. | |
| void | process (const char *name, u_char **bp, u_int32_t *lenp, int flags) |
| Virtual functions inherited from SerializeAction. | |
| void | process (const char *name, std::string *s) |
| Virtual functions inherited from SerializeAction. | |
| void | process (const char *name, SerializableObject *object) |
| Virtual functions inherited from SerializeAction. | |
Private Member Functions | |
| void | indent () |
| void | unindent () |
| void | add_indent () |
Private Attributes | |
| int | indent_ |
| StringBuffer | buf_ |
| oasys::TextMarshal::TextMarshal | ( | context_t | context, | |
| ExpandableBuffer * | buf, | |||
| int | options = 0, |
|||
| const char * | comment = 0 | |||
| ) |
| void oasys::TextMarshal::process | ( | const char * | name, | |
| u_int64_t * | i | |||
| ) | [virtual] |
Virtual functions inherited from SerializeAction.
Implements oasys::SerializeAction.
Definition at line 39 of file TextSerialize.cc.
References oasys::StringBuffer::appendf(), and buf_.
| void oasys::TextMarshal::process | ( | const char * | name, | |
| u_int32_t * | i | |||
| ) | [virtual] |
Virtual functions inherited from SerializeAction.
Implements oasys::SerializeAction.
Definition at line 46 of file TextSerialize.cc.
References oasys::StringBuffer::appendf(), and buf_.
| void oasys::TextMarshal::process | ( | const char * | name, | |
| u_int16_t * | i | |||
| ) | [virtual] |
Virtual functions inherited from SerializeAction.
Implements oasys::SerializeAction.
Definition at line 53 of file TextSerialize.cc.
References oasys::StringBuffer::appendf(), and buf_.
| void oasys::TextMarshal::process | ( | const char * | name, | |
| u_int8_t * | i | |||
| ) | [virtual] |
Virtual functions inherited from SerializeAction.
Implements oasys::SerializeAction.
Definition at line 60 of file TextSerialize.cc.
References oasys::StringBuffer::appendf(), and buf_.
| void oasys::TextMarshal::process | ( | const char * | name, | |
| bool * | b | |||
| ) | [virtual] |
Virtual functions inherited from SerializeAction.
Implements oasys::SerializeAction.
Definition at line 67 of file TextSerialize.cc.
References oasys::StringBuffer::appendf(), and buf_.
| void oasys::TextMarshal::process | ( | const char * | name, | |
| u_char * | bp, | |||
| u_int32_t | len | |||
| ) | [virtual] |
Virtual functions inherited from SerializeAction.
Implements oasys::SerializeAction.
Definition at line 74 of file TextSerialize.cc.
References oasys::StringBuffer::appendf(), buf_, oasys::StringBuffer::expandable_buf(), and indent_.
| void oasys::TextMarshal::process | ( | const char * | name, | |
| u_char ** | bp, | |||
| u_int32_t * | lenp, | |||
| int | flags | |||
| ) | [virtual] |
Virtual functions inherited from SerializeAction.
Implements oasys::SerializeAction.
Definition at line 83 of file TextSerialize.cc.
References oasys::StringBuffer::appendf(), buf_, oasys::StringBuffer::expandable_buf(), and indent_.
| void oasys::TextMarshal::process | ( | const char * | name, | |
| std::string * | s | |||
| ) | [virtual] |
Virtual functions inherited from SerializeAction.
Implements oasys::SerializeAction.
Definition at line 93 of file TextSerialize.cc.
References oasys::StringBuffer::appendf(), buf_, oasys::StringBuffer::expandable_buf(), and indent_.
| void oasys::TextMarshal::process | ( | const char * | name, | |
| SerializableObject * | object | |||
| ) | [virtual] |
Virtual functions inherited from SerializeAction.
Reimplemented from oasys::SerializeAction.
Definition at line 104 of file TextSerialize.cc.
References oasys::StringBuffer::appendf(), buf_, indent(), and unindent().
| void oasys::TextMarshal::indent | ( | ) | [inline, private] |
| void oasys::TextMarshal::unindent | ( | ) | [inline, private] |
Definition at line 61 of file TextSerialize.h.
References ASSERT, and indent_.
Referenced by process().
| void oasys::TextMarshal::add_indent | ( | ) | [private] |
Definition at line 115 of file TextSerialize.cc.
References oasys::StringBuffer::append(), buf_, and indent_.
int oasys::TextMarshal::indent_ [private] |
Definition at line 57 of file TextSerialize.h.
Referenced by add_indent(), indent(), process(), and unindent().
StringBuffer oasys::TextMarshal::buf_ [private] |
Definition at line 58 of file TextSerialize.h.
Referenced by add_indent(), process(), and TextMarshal().
1.5.3