#include <ot_lib.h>

Public Member Functions | |
| ot_bool (bool value=false) | |
| ot_bool (const ot_bool &c) | |
| virtual | ~ot_bool () |
| Destructor. | |
| ot_obj * | dup (void) const |
| Duplicate object. | |
| void | asXml (ostream &s=cout, int i=0) const |
| bool | asData (ostream &s) const |
| bool | get (void) const |
| const ot_bool & | operator= (const ot_bool &c) |
| Operator =. | |
| const ot_bool & | operator= (bool v) |
| Operator =. | |
| bool | operator== (const ot_bool &v) const |
| Operator ==. | |
| bool | operator== (bool v) const |
| Operator ==. | |
| bool | operator!= (const ot_bool &v) const |
| Operator !=. | |
| bool | operator!= (bool v) const |
| Operator !=. | |
| bool | operator== (const ot_obj *o) const |
| Op. ==. | |
| operator bool (void) const | |
Private Attributes | |
| bool | m_value |
| Boolean value. | |
Implementation of the base boolean object
| ot_lib::ot_bool::ot_bool | ( | bool | value = false |
) |
Costructor
| val | The string |
| ot_lib::ot_bool::ot_bool | ( | const ot_bool & | c | ) |
| virtual ot_lib::ot_bool::~ot_bool | ( | ) | [virtual] |
Destructor.
| ot_obj* ot_lib::ot_bool::dup | ( | void | ) | const [virtual] |
| void ot_lib::ot_bool::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_bool::asData | ( | ostream & | s | ) | const [virtual] |
| bool ot_lib::ot_bool::get | ( | void | ) | const |
Get string value
| const ot_bool& ot_lib::ot_bool::operator= | ( | bool | v | ) |
Operator =.
| bool ot_lib::ot_bool::operator== | ( | const ot_bool & | v | ) | const |
Operator ==.
| bool ot_lib::ot_bool::operator== | ( | bool | v | ) | const |
Operator ==.
| bool ot_lib::ot_bool::operator!= | ( | const ot_bool & | v | ) | const |
Operator !=.
| bool ot_lib::ot_bool::operator!= | ( | bool | v | ) | const |
Operator !=.
| bool ot_lib::ot_bool::operator== | ( | const ot_obj * | o | ) | const [inline, virtual] |
| ot_lib::ot_bool::operator bool | ( | void | ) | const |
bool ot_lib::ot_bool::m_value [private] |
Boolean value.
1.5.5