#include <ot_ior.h>
Public Types | |
enum | IORTYPE { NULL_IOR, INTERFACE, FUNCTION, ATTRIBUTE } |
Public Member Functions | |
ot_ior (void) | |
ot_ior (const string &host, int port, IORTYPE type, const string &iPath) | |
ot_ior (const ot_ior &c) | |
virtual | ~ot_ior (void) |
Destructor. | |
ot_obj * | dup (void) const |
void | asXml (ostream &s=cout, int i=0) const |
bool | asData (ostream &s) const |
const string & | getHost (void) const |
Get the interface element. | |
int | getPort (void) const |
const string & | getInterfacePath (void) const |
IORTYPE | getIORType (void) const |
ot_ior & | operator= (const ot_ior &c) |
Assign op. | |
bool | operator== (const ot_ior &c) const |
Eq op. | |
bool | operator!= (const ot_ior &v) |
Operator !=. | |
bool | operator== (const ot_obj *o) const |
Eq op. | |
Static Public Member Functions | |
static ot_ior | null (void) |
Private Attributes | |
string | m_host |
int | m_port |
IORTYPE | m_type |
Identify the object type. | |
string | m_iPath |
This class implement a NET OT objects.
enum ot_ior::IORTYPE |
ot_ior::ot_ior | ( | void | ) |
size | size of the array |
obj | Network object |
ot_ior::ot_ior | ( | const ot_ior & | c | ) |
Copy constructor
c | Object to copy |
virtual ot_ior::~ot_ior | ( | void | ) | [virtual] |
Destructor.
ot_obj* ot_ior::dup | ( | void | ) | const [virtual] |
Duplicate the object Clone the array and all the objects contained.
Implements ot_obj.
void ot_ior::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_obj.
bool ot_ior::asData | ( | ostream & | s | ) | const [virtual] |
const string& ot_ior::getHost | ( | void | ) | const |
Get the interface element.
Return the interface element
int ot_ior::getPort | ( | void | ) | const |
const string& ot_ior::getInterfacePath | ( | void | ) | const |
IORTYPE ot_ior::getIORType | ( | void | ) | const |
static ot_ior ot_ior::null | ( | void | ) | [static] |
bool ot_ior::operator== | ( | const ot_ior & | c | ) | const |
Eq op.
bool ot_ior::operator!= | ( | const ot_ior & | v | ) |
Operator !=.
bool ot_ior::operator== | ( | const ot_obj * | o | ) | const [inline, virtual] |
string ot_ior::m_host [private] |
int ot_ior::m_port [private] |
IORTYPE ot_ior::m_type [private] |
string ot_ior::m_iPath [private] |