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

IDEA::PslOutputFilter Class Reference
[PlanServer handle classes]

Controlls what's printed by the PslDatabase (which objects) and PslObject (which timelines). More...

#include <PslOutputFilter.hh>

List of all members.

Public Types

typedef std::map< const PslObject *,
PslTimelineSet
Object2TimelineMap
 Map objects to list of timelines. Entities not in this map should not be printed.


Public Methods

 PslOutputFilter (const PslDatabase *db)
 Creates an PslOutputFilter for PslDatabase instance db.

virtual ~PslOutputFilter ()
const Object2TimelineMapgetObjects () const
 Returns all the objects and timelines we want to generate output for.

void add (const std::string &object)
 Will add object object to the list of objects that will be included in the output All timelines for this object will be included in the output. Object must already exist in the plan database, otherwise an error is raised.

void add (const PslObject *object)
void add (const std::string &object, const std::string &timeline)
 Will add timeline to the list of timelines that will be included in the output. Object must already exist in the plan database, otherwise an error is raised.

void add (const PslObject *object, const PslTimeline *timeline)
 Will add timeline to the list of timelines that will be included in the output. This method accomodates dynamic objects.


Protected Attributes

const PslDatabasem_Database
Object2TimelineMap m_ObjectMap
 Attributes we want to output per object.


Detailed Description

Controlls what's printed by the PslDatabase (which objects) and PslObject (which timelines).


Member Typedef Documentation

typedef std::map< const PslObject*, PslTimelineSet > IDEA::PslOutputFilter::Object2TimelineMap
 

Map objects to list of timelines. Entities not in this map should not be printed.


Constructor & Destructor Documentation

IDEA::PslOutputFilter::PslOutputFilter const PslDatabase   db
 

Creates an PslOutputFilter for PslDatabase instance db.

virtual IDEA::PslOutputFilter::~PslOutputFilter   [inline, virtual]
 


Member Function Documentation

void IDEA::PslOutputFilter::add const PslObject   object,
const PslTimeline   timeline
 

Will add timeline to the list of timelines that will be included in the output. This method accomodates dynamic objects.

void IDEA::PslOutputFilter::add const std::string &    object,
const std::string &    timeline
 

Will add timeline to the list of timelines that will be included in the output. Object must already exist in the plan database, otherwise an error is raised.

void IDEA::PslOutputFilter::add const PslObject   object
 

Will add object object to the list of objects that will be included in the output All timelines for this object will be included in the output. This method accomodates dynamic objects.

void IDEA::PslOutputFilter::add const std::string &    object
 

Will add object object to the list of objects that will be included in the output All timelines for this object will be included in the output. Object must already exist in the plan database, otherwise an error is raised.

const PslOutputFilter::Object2TimelineMap & IDEA::PslOutputFilter::getObjects  
 

Returns all the objects and timelines we want to generate output for.


Member Data Documentation

const PslDatabase* IDEA::PslOutputFilter::m_Database [protected]
 

Object2TimelineMap IDEA::PslOutputFilter::m_ObjectMap [protected]
 

Attributes we want to output per object.


Contact information
© IDEA
Generated on Fri Feb 3 17:09:48 2006 for IDEA.