#include <ot_lib.h>
Public Member Functions | |
ot_path (const string &path) | |
ot_path (const char *path) | |
ot_path (const ot_path &r) | |
ot_obj * | dup (void) const |
Duplicate object. | |
void | asXml (ostream &s=cout, int i=0) const |
bool | asData (ostream &s) const |
const ot_path & | operator= (const ot_path &c) |
Operator =. | |
bool | operator== (const ot_path &v) const |
Operator ==. | |
bool | operator== (const ot_obj *o) const |
Op. ==. | |
const string | getInterfaceName (void) const |
const string | getName (void) const |
const string | getPath (void) const |
Private Member Functions | |
void | stripPath (const string &path, string &iPath, string &name) const |
Private Attributes | |
string | m_path |
ot_lib::ot_path::ot_path | ( | const string & | path | ) |
ot_lib::ot_path::ot_path | ( | const char * | path | ) |
ot_lib::ot_path::ot_path | ( | const ot_path & | r | ) |
void ot_lib::ot_path::stripPath | ( | const string & | path, | |
string & | iPath, | |||
string & | name | |||
) | const [private] |
ot_obj* ot_lib::ot_path::dup | ( | void | ) | const [virtual] |
void ot_lib::ot_path::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_path::asData | ( | ostream & | s | ) | const [virtual] |
bool ot_lib::ot_path::operator== | ( | const ot_path & | v | ) | const |
Operator ==.
bool ot_lib::ot_path::operator== | ( | const ot_obj * | o | ) | const [inline, virtual] |
const string ot_lib::ot_path::getInterfaceName | ( | void | ) | const |
const string ot_lib::ot_path::getName | ( | void | ) | const |
const string ot_lib::ot_path::getPath | ( | void | ) | const |
string ot_lib::ot_path::m_path [private] |