OT_ENUM_FIELD_LIST Class Reference

#include <ot_enum_field_list.h>

Inheritance diagram for OT_ENUM_FIELD_LIST:

ot_obj

List of all members.

Public Member Functions

 OT_ENUM_FIELD_LIST (const OT_ENUM_FIELD &f)
 OT_ENUM_FIELD_LIST (const OT_ENUM_FIELD_LIST &r)
ot_objdup (void) const
void asXml (ostream &s, int i) const
bool asData (ostream &s) const
bool set (const string &str)
bool set (int val)
string getSelectedString (void) const
int getSelectedInt (void) const
OT_ENUM_FIELD getSelected (void) const
OT_ENUM_FIELD_LIST operator+ (const OT_ENUM_FIELD_LIST &r) const
OT_ENUM_FIELD_LIST operator+ (const OT_ENUM_FIELD &r) const
OT_ENUM_FIELD_LIST operator= (const OT_ENUM_FIELD_LIST &r)
void operator+= (const OT_ENUM_FIELD &r)
bool operator== (const OT_ENUM_FIELD_LIST &r) const
bool operator== (const ot_obj *o) const
 Op. ==.

Static Public Member Functions

static OT_ENUM_FIELD_LISTfromData (istream &s)

Private Member Functions

 OT_ENUM_FIELD_LIST (void)
void deleteSelection (void)

Static Private Member Functions

static bool checkIntegrity (const OT_ENUM_FIELD_LIST &r, const string &filename, int line)

Private Attributes

map< string, OT_ENUM_FIELD > m_fields


Constructor & Destructor Documentation

OT_ENUM_FIELD_LIST::OT_ENUM_FIELD_LIST ( void   )  [private]

OT_ENUM_FIELD_LIST::OT_ENUM_FIELD_LIST ( const OT_ENUM_FIELD &  f  ) 

OT_ENUM_FIELD_LIST::OT_ENUM_FIELD_LIST ( const OT_ENUM_FIELD_LIST r  ) 


Member Function Documentation

static bool OT_ENUM_FIELD_LIST::checkIntegrity ( const OT_ENUM_FIELD_LIST r,
const string &  filename,
int  line 
) [static, private]

void OT_ENUM_FIELD_LIST::deleteSelection ( void   )  [private]

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

Clone the object and return the pointer of the new object

Returns:
Pointer to the new object

Implements ot_obj.

void OT_ENUM_FIELD_LIST::asXml ( ostream &  s,
int  i 
) const [virtual]

Write the object XML rappresentation on output stream

Parameters:
s The output stream
i The indent spaces

Implements ot_obj.

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

Build a binary image of the object

Parameters:
s The output stream

Implements ot_obj.

static OT_ENUM_FIELD_LIST* OT_ENUM_FIELD_LIST::fromData ( istream &  s  )  [static]

bool OT_ENUM_FIELD_LIST::set ( const string &  str  ) 

bool OT_ENUM_FIELD_LIST::set ( int  val  ) 

string OT_ENUM_FIELD_LIST::getSelectedString ( void   )  const

int OT_ENUM_FIELD_LIST::getSelectedInt ( void   )  const

OT_ENUM_FIELD OT_ENUM_FIELD_LIST::getSelected ( void   )  const

OT_ENUM_FIELD_LIST OT_ENUM_FIELD_LIST::operator+ ( const OT_ENUM_FIELD_LIST r  )  const

OT_ENUM_FIELD_LIST OT_ENUM_FIELD_LIST::operator+ ( const OT_ENUM_FIELD &  r  )  const

OT_ENUM_FIELD_LIST OT_ENUM_FIELD_LIST::operator= ( const OT_ENUM_FIELD_LIST r  ) 

void OT_ENUM_FIELD_LIST::operator+= ( const OT_ENUM_FIELD &  r  ) 

bool OT_ENUM_FIELD_LIST::operator== ( const OT_ENUM_FIELD_LIST r  )  const

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

Op. ==.

Implements ot_obj.

References ot_obj::getType().


Member Data Documentation

map<string,OT_ENUM_FIELD> OT_ENUM_FIELD_LIST::m_fields [private]


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

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