OSB_LIB::MappedPartInfoList Class Reference

Collaboration diagram for OSB_LIB::MappedPartInfoList:

Collaboration graph
[legend]
List of all members.

Detailed Description

A list of mapped part info.

This class keep a list of mapped part info object. The list of objects are sorted according to their validity period. Starting from the future to the past.

Definition at line 409 of file cpmapper.h.

Public Types

Public Member Functions

Public Attributes


Member Typedef Documentation

typedef std::list<MappedPartInfo> OSB_LIB::MappedPartInfoList::MappedPartInfos

Define a list of MappedPartInfo as MappedPartInfos.

Definition at line 412 of file cpmapper.h.


Member Function Documentation

void OSB_LIB::MappedPartInfoList::add ( const MappedPartInfo info  ) 

Add in mapped part info into the list.

This function will internally sort the list of mapped part info according to their release date from future to past.

Parameters:
info New mapped part info to be inserted.

void OSB_LIB::MappedPartInfoList::map2Cp ( Id< ConnectionPt > &  cpId,
const DateTime ts 
) const

Get the valid connection point at the given time.

This function will take in a time stamp and search through the list of mapped part info for a connection point that is valid for the given time.

Parameters:
cpId Connection point id found.
ts Timestamp of the mapping.

void OSB_LIB::MappedPartInfoList::print ( std::ostream &  os,
std::string  spacer 
) const

Print for testing purposes.


Member Data Documentation

std::list<MappedPartInfo> OSB_LIB::MappedPartInfoList::mappedInfo_

Store mapping info.

Definition at line 415 of file cpmapper.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:15:29 2006 for OSB Library by  doxygen 1.4.7