Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members  

Monitor::BellMaster::BellCode Class Reference

#include <bellcode.h>

List of all members.

Public Methods

 BellCode ()
 Default constructor. More...

 BellCode (const unsigned char *newSequence, const char *newDescription)
 Constructor. More...

 BellCode (const string &newSequence, const string &newDescription)
 Constructor. More...

 BellCode (const BellCode &other)
 Copy constructor. More...

virtual ~BellCode ()
 Destructor. More...

const string & getSequence () const
const string & getDescription () const
BellCode & operator= (const BellCode &other)
int operator== (const BellCode &other) const
int matchesSequence (const string &targetSequence) const
int operator< (const BellCode &other) const

Private Attributes

string sequence
string description


Constructor & Destructor Documentation

BellCode::BellCode  
 

Default constructor.

Definition at line 44 of file bellcode.cpp.

References _USEMYTRACE_.

BellCode::BellCode const unsigned char *    newSequence,
const char *    newDescription
 

Constructor.

Parameters:
newSequence  Sets of rings constituting bell code.
newDescription  Text describing bell code.

Definition at line 52 of file bellcode.cpp.

References _USEMYTRACE_.

BellCode::BellCode const string &    newSequence,
const string &    newDescription
 

Constructor.

Parameters:
newSequence  Sets of rings constituting bell code.
newDescription  Text describing bell code.

Definition at line 61 of file bellcode.cpp.

References _USEMYTRACE_.

BellCode::BellCode const BellCode &    other
 

Copy constructor.

Definition at line 70 of file bellcode.cpp.

References _USEMYTRACE_.

BellCode::~BellCode   [virtual]
 

Destructor.

Definition at line 78 of file bellcode.cpp.

References _USEMYTRACE_.


Member Function Documentation

const string& Monitor::BellMaster::BellCode::getDescription   const [inline]
 

Returns:
'String holding description of bell code.

Definition at line 94 of file bellcode.h.

References description.

const string& Monitor::BellMaster::BellCode::getSequence   const [inline]
 

Returns:
'String holding sets of rings, terminated by 0 value.

Definition at line 88 of file bellcode.h.

References sequence.

int BellCode::matchesSequence const string &    targetSequence const
 

Returns:
!0 ('true') if sequence matches that of this code, else 0 ('true').

Definition at line 106 of file bellcode.cpp.

References sequence.

int BellCode::operator< const BellCode &    other const
 

Returns:
!0 ('true') if description lexically '<' that of other, else 0 ('true').

Definition at line 114 of file bellcode.cpp.

References description.

BellCode & BellCode::operator= const BellCode &    other
 

Definition at line 86 of file bellcode.cpp.

References description, and sequence.

int BellCode::operator== const BellCode &    other const
 

Returns:
!0 ('true') if sequence and description match that of other, else 0 ('true').

Definition at line 97 of file bellcode.cpp.

References description, and sequence.


Member Data Documentation

string Monitor::BellMaster::BellCode::description [private]
 

Definition at line 122 of file bellcode.h.

Referenced by getDescription, operator<, operator=, and operator==.

string Monitor::BellMaster::BellCode::sequence [private]
 

Definition at line 121 of file bellcode.h.

Referenced by getSequence, matchesSequence, operator=, and operator==.


Generated on Wed Oct 29 20:54:52 2003 for Bellmaster BC Common by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002