Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

STILVectorEvent Class Reference

STILVectorEvent. More...

#include <stilvectorevent.h>

List of all members.

Public Member Functions

 STILVectorEvent ()
 STILVectorEvent (const STILVectorEvent &)
 ~STILVectorEvent ()
STILVectorEventoperator= (const STILVectorEvent &)
bool operator== (const STILVectorEvent &) const
bool operator< (const STILVectorEvent &) const
void init ()
LONG getCount () const
STILEvent getEvent (LONG) const
const STILTimeExpr getTime (LONG) const
void addEvent (STILEvent)
void addTime (const STILTimeExpr &)
void setWFC (const char c)
const char getWFC () const
void print () const


Detailed Description

STILVectorEvent.


Constructor & Destructor Documentation

STILVectorEvent::STILVectorEvent  ) 
 

default constructor for STILVectorEvent class

Parameters:
 
Returns:

STILVectorEvent::STILVectorEvent const STILVectorEvent ve  ) 
 

Copy constructor for STILVectorEvent class.

Parameters:
ve (STILVectorEvent&) ve
Returns:

STILVectorEvent::~STILVectorEvent  ) 
 

Destructor for a STILVectorEvent object.

Parameters:
 
Returns:


Member Function Documentation

void STILVectorEvent::addEvent STILEvent  e  ) 
 

Add an event.

Parameters:
e The event to set it to
Returns:
(void)

void STILVectorEvent::addTime const STILTimeExpr t  ) 
 

Add a time to correspond with an event.

Parameters:
t The time to set
Returns:
(void)

LONG STILVectorEvent::getCount  )  const [inline]
 

Parameters:
 
Returns:

STILEvent STILVectorEvent::getEvent LONG  en  )  const [inline]
 

Parameters:
 
Returns:

const STILTimeExpr STILVectorEvent::getTime LONG  t  )  const [inline]
 

Parameters:
 
Returns:

const char STILVectorEvent::getWFC  )  const [inline]
 

Parameters:
 
Returns:

void STILVectorEvent::init void   ) 
 

Initialize(reset) this object.

Parameters:
 
Returns:
(void)

bool STILVectorEvent::operator< const STILVectorEvent vel  )  const
 

Less than operator.

Parameters:
vel Source object to check
Returns:
bool, true if <, false if >
NOTE: This really doesnt check anything useful for now. If the time units also get stored with the vector event object, we can sort and print and check < or > by comparing time of event.

STILVectorEvent & STILVectorEvent::operator= const STILVectorEvent ve  ) 
 

Assignment operator.

Parameters:
ve Source object to assign this object from
Returns:
(STILVectorEvent &)

bool STILVectorEvent::operator== const STILVectorEvent vel  )  const
 

Equality operator. - implemented only for STL build.

Parameters:
vel Source object to check for equality
Returns:
false

void STILVectorEvent::print  )  const
 

Print out the vector events (for testing).

Parameters:
 
Returns:
(void)

void STILVectorEvent::setWFC const char  c  )  [inline]
 

Parameters:
 
Returns:
(void)


The documentation for this class was generated from the following files:
This page last updated on 6 Jul 2007

SourceForge.net Logo