#include <ot_lib.h>
Public Member Functions | |
ot_null (void) | |
Costructor. | |
virtual | ~ot_null () |
Destructor. | |
ot_null (const ot_null &c) | |
ot_obj * | dup (void) const |
Duplicate object. | |
void | asXml (ostream &s=cout, int i=0) const |
bool | asData (ostream &s) const |
bool | operator== (const ot_obj *o) const |
Op. ==. |
Implementation of the null object
ot_lib::ot_null::ot_null | ( | void | ) |
Costructor.
virtual ot_lib::ot_null::~ot_null | ( | ) | [virtual] |
Destructor.
ot_lib::ot_null::ot_null | ( | const ot_null & | c | ) |
ot_obj* ot_lib::ot_null::dup | ( | void | ) | const [virtual] |
void ot_lib::ot_null::asXml | ( | ostream & | s = cout , |
|
int | i = 0 | |||
) | const [virtual] |
Print the XML rappresentation of object into string
s | the output string | |
i | The indent spaces |
Implements ot_lib::ot_obj.
bool ot_lib::ot_null::asData | ( | ostream & | s | ) | const [virtual] |
bool ot_lib::ot_null::operator== | ( | const ot_obj * | o | ) | const [inline, virtual] |