MappingContainer Class Reference

#include <mappingcontainer.h>

Inheritance diagram for MappingContainer:

Inheritance graph
[legend]
Collaboration diagram for MappingContainer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MappingContainer (const char *name)
virtual ~MappingContainer ()
MappingObj * getChild (const char *name)
ChannelMapping * getChannel (const char *name)
MappingContainer * getContainer (const char *name)
mapping_obj_t getType ()
virtual TraceContext * getChildContext (const char *name)
virtual TraceChannel * getChildChannel (const char *name)
virtual TraceContext * getParentContext ()
virtual int getCommChannelID (const std::string name)
virtual void collectChannels (BasicArray< TraceChannel * > &array)

Protected Member Functions

void addContainer (MappingContainer *container)
void addChannel (ChannelMapping *channel)
void addCommChannelMap (const std::string name, const int id)

Friends

class MappingSAXHandler

Constructor & Destructor Documentation

MappingContainer::MappingContainer (  const char *  name  ) 
 

Construct a default MappingContainer.

Parameters:
name The mapping name.

virtual MappingContainer::~MappingContainer (   )  [inline, virtual]
 


Member Function Documentation

MappingObj * MappingContainer::getChild (  const char *  name  ) 
 

Get a child by name.

Parameters:
name The name of the child.
Returns:
A pointer to the MappingObj associated with name, NULL if there is none.

ChannelMapping * MappingContainer::getChannel (  const char *  name  ) 
 

Get a child channel by name.

Parameters:
name The name of the child channel.
Returns:
A pointer to the ChannelMapping associated with name, NULL if there is none.

MappingContainer * MappingContainer::getContainer (  const char *  name  ) 
 

Get a child container by name.

Parameters:
name The name of the child container.
Returns:
A pointer to the MappingContainer associated with name, NULL if there is none.

mapping_obj_t MappingContainer::getType (   )  [inline, virtual]
 

Get the MapingObj type.

Returns:
MAPPING_CONTAINER

Implements MappingObj.

virtual TraceContext* MappingContainer::getChildContext (  const char *  name  )  [inline, virtual]
 

See also:
TraceContext

Implements TraceContext.

virtual TraceChannel* MappingContainer::getChildChannel (  const char *  name  )  [inline, virtual]
 

See also:
TraceContext

Implements TraceContext.

virtual TraceContext* MappingContainer::getParentContext (   )  [inline, virtual]
 

See also:
TraceContext

Implements TraceContext.

virtual int MappingContainer::getCommChannelID (  const std::string  name  )  [virtual]
 

Implements TraceContext.

void MappingContainer::collectChannels (  BasicArray< TraceChannel * > &  array  )  [virtual]
 

See also:
TraceContext

Implements TraceContext.

void MappingContainer::addContainer (  MappingContainer *  container  )  [protected]
 

Add a child MappingContainer.

Parameters:
container The child to add.

void MappingContainer::addChannel (  ChannelMapping *  channel  )  [protected]
 

Add a child ChannelMapping.

Parameters:
channel The child to add.

void MappingContainer::addCommChannelMap (  const std::string  name,
const int  id
)  [protected]
 


Friends And Related Function Documentation

friend class MappingSAXHandler [friend]
 


The documentation for this class was generated from the following files:
Generated on Wed Apr 5 21:04:21 2006 for Sesame by  doxygen 1.4.6