#include <shibsp/remoting/ddf.h>
Public Member Functions | |
| DDF () | |
| OFF | |
| DDF (const char *n) | |
| DDF (const char *n, const char *val, bool safe=true) | |
| DDF (const char *n, long val) | |
| DDF (const char *n, double val) | |
| DDF (const char *n, void *val) | |
| DDF & | destroy () |
| DDF | copy () const |
| const char * | name () const |
| DDF & | name (const char *n) |
| bool | isnull () const |
| bool | isempty () const |
| bool | isstring () const |
| bool | isint () const |
| bool | isfloat () const |
| bool | isstruct () const |
| bool | islist () const |
| bool | ispointer () const |
| const char * | string () const |
| long | integer () const |
| double | floating () const |
| void * | pointer () const |
| size_t | strlen () const |
| bool | operator== (const char *s) const |
| DDF & | empty () |
| DDF & | string (const char *val) |
| DDF & | unsafe_string (const char *val) |
| DDF & | string (char *val, bool copyit=true, bool safe=true) |
| DDF & | string (long val) |
| DDF & | string (double val) |
| DDF & | integer (long val) |
| DDF & | integer (const char *val) |
| DDF & | floating (double val) |
| DDF & | floating (const char *val) |
| DDF & | structure () |
| DDF & | list () |
| DDF & | pointer (void *val) |
| DDF & | add (DDF &child) |
| DDF & | addbefore (DDF &child, DDF &before) |
| DDF & | addafter (DDF &child, DDF &after) |
| void | swap (DDF &arg) |
| DDF & | remove () |
| DDF | parent () const |
| DDF | first () |
| DDF | next () |
| DDF | last () |
| DDF | previous () |
| DDF | operator[] (unsigned long index) const |
| DDF | operator[] (const char *path) const |
| DDF | addmember (const char *path) |
| DDF | getmember (const char *path) const |
| void | dump (FILE *f=NULL, int indent=0) const |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const DDF &obj) |
| Serializes a DDF object to a stream. | |
| std::istream & | operator>> (std::istream &is, DDF &obj) |
| Reconstitutes a DDF object from a stream. | |
When stack objects leave scope, only the handle is freed. Copying and assigning handle objects is a constant time operation equivalent to a single pointer assignment, handled by compiler-generated behavior.
|
||||||||||||
|
Serializes a DDF object to a stream.
|
|
||||||||||||
|
Reconstitutes a DDF object from a stream.
|
1.3.9.1