ot_path Class Reference

#include <ot_path.h>

Inheritance diagram for ot_path:

ot_obj

List of all members.

Public Member Functions

 ot_path (const string &path)
 ot_path (const char *path)
 ot_path (const ot_path &r)
ot_objdup (void) const
 Duplicate object.
void asXml (ostream &s=cout, int i=0) const
bool asData (ostream &s) const
const ot_pathoperator= (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


Constructor & Destructor Documentation

ot_path::ot_path ( const string &  path  ) 

ot_path::ot_path ( const char *  path  ) 

ot_path::ot_path ( const ot_path r  ) 


Member Function Documentation

void ot_path::stripPath ( const string &  path,
string &  iPath,
string &  name 
) const [private]

ot_obj* ot_path::dup ( void   )  const [virtual]

Duplicate object.

Implements ot_obj.

void ot_path::asXml ( ostream &  s = cout,
int  i = 0 
) const [virtual]

Print the XML rappresentation of object into string

Parameters:
s The output string
i The indent spaces

Implements ot_obj.

bool ot_path::asData ( ostream &  s  )  const [virtual]

Build a binary image of data object

Parameters:
s The output stream

Implements ot_obj.

const ot_path& ot_path::operator= ( const ot_path c  ) 

Operator =.

bool ot_path::operator== ( const ot_path v  )  const

Operator ==.

bool ot_path::operator== ( const ot_obj o  )  const [inline, virtual]

Op. ==.

Implements ot_obj.

References ot_obj::getType().

const string ot_path::getInterfaceName ( void   )  const

const string ot_path::getName ( void   )  const

const string ot_path::getPath ( void   )  const


Member Data Documentation

string ot_path::m_path [private]


The documentation for this class was generated from the following file:

Generated on Sun May 4 12:42:44 2008 for OT_LIB 4.1 by  doxygen 1.5.5