User Manual, Developers Guide and API Documentation

wns::Birthmark Class Reference

Unique identifier.

#include <Birthmark.hpp>

Inheritance diagram for wns::Birthmark:

Inheritance graph
[legend]
Collaboration diagram for wns::Birthmark:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Birthmark ()
 Default constructor.
virtual bool operator!= (const Birthmark &other) const
 Inequality operator for two birthmarks.
virtual bool operator< (const Birthmark &other) const
 less operator, needed to use birthmarks as keys in STL maps
virtual bool operator== (const Birthmark &other) const
 Equality operator for two birthmarks.
virtual ~Birthmark ()
 Virtual destructor.

Private Member Functions

virtual std::string doToString () const
 Debugging output (shows the internal realization).

Private Attributes

long long int id
 Local id (makes the birthmark unique).

Static Private Attributes

static long long int globalId = 0
 Provides unique ids to make distinguish birthmarks.


Detailed Description

Definition at line 38 of file Birthmark.hpp.


Constructor & Destructor Documentation

Birthmark::Birthmark (  ) 

Definition at line 37 of file Birthmark.cpp.

Birthmark::~Birthmark (  )  [virtual]

Definition at line 45 of file Birthmark.cpp.


Member Function Documentation

std::string Birthmark::doToString (  )  const [private, virtual]

Reimplemented from wns::PythonicOutput.

Definition at line 51 of file Birthmark.cpp.

bool Birthmark::operator!= ( const Birthmark other  )  const [virtual]

Definition at line 69 of file Birthmark.cpp.

bool Birthmark::operator< ( const Birthmark other  )  const [virtual]

Definition at line 75 of file Birthmark.cpp.

bool Birthmark::operator== ( const Birthmark other  )  const [virtual]

Definition at line 62 of file Birthmark.cpp.


Member Data Documentation

long long int Birthmark::globalId = 0 [static, private]

Definition at line 82 of file Birthmark.hpp.

long long int wns::Birthmark::id [private]

Definition at line 87 of file Birthmark.hpp.


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

Generated on Sat May 26 03:32:50 2012 for openWNS by  doxygen 1.5.5