version 3.3

VRS::ID Class Reference

VRS Identifier. More...

#include <vrs/id.h>

List of all members.

Public Member Functions

 ID ()
 ID (const char *id)
bool operator== (const ID &id) const
bool operator!= (const ID &id) const
bool operator< (const ID &id) const
bool operator> (const ID &id) const
const char * text () const
 Returns the pointer to the string.


Detailed Description

VRS Identifier.

Constructor & Destructor Documentation

VRS::ID::ID (  )  [inline]

VRS::ID::ID ( const char *  id  ) 

An `ID' object stores a pointer to a (global) string which represents an identifier or a name relevant for VRS. Note that this class wraps a string pointer.


Member Function Documentation

bool VRS::ID::operator== ( const ID id  )  const [inline]

bool VRS::ID::operator!= ( const ID id  )  const [inline]

bool VRS::ID::operator< ( const ID id  )  const [inline]

bool VRS::ID::operator> ( const ID id  )  const [inline]

IMPORTANT !!! Two IDs are considered to be equal if _and only if_ they encapsulate the same pointer. The value of the the string is not involved at all.

const char * VRS::ID::text (  )  const [inline]

Returns the pointer to the string.


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

Generated on Sun May 19 06:00:33 2013 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact