BLayerProcessor Class Reference

#include <BLayerProcessor.h>

Inheritance diagram for BLayerProcessor:

Inheritance graph
[legend]

List of all members.


Detailed Description

An abstract class that performs some operation on a collection of BLayer objects.

Public Member Functions

virtual void AddData (const BDataReader &reader)
 Adds a collection of BLayer objects to the collection of data to be processed.
virtual void AddData (const BLayers &layers)
 Adds a collection of BLayer objects to the collection of data to be processed.
virtual void AddData (const BLayerPtr &pLayer)
 Adds a BLayer to the collection of data to be processed.
 BLayerProcessor ()
 Default constructor.
virtual BLayersGetData (void)
 Gets the the BLayers that will be processed by this BLayerProcessor, or the BLayers that have been processed by this BLayerProcessor, if the Process method has been called.
virtual const BLayersGetData (void) const
 Gets the the BLayers that will be processed by this BLayerProcessor, or the BLayers that have been processed by this BLayerProcessor, if the Process method has been called.
virtual bool Process (void)=0
 Processes the data.
virtual void SetData (const BDataReader &reader)
 Sets the BLayers to be processed.
virtual void SetData (const BLayers &layers)
 Sets the BLayers to be processed.
virtual void SetData (const BLayerPtr &pLayer)
 Sets the BLayer to be processed.

Protected Attributes

BLayers m_layers
 The collection of BLayer objects to be processed.

Constructor & Destructor Documentation

BLayerProcessor (  )  [inline]

Default constructor.


Member Function Documentation

virtual void AddData ( const BDataReader reader  )  [inline, virtual]

Adds a collection of BLayer objects to the collection of data to be processed.

The BLayer objects will be retrieved from the BDataReader using the BDataReader::GetLayers method. The specified BLayers will be appended to the collection.

Parameters:
reader A BDataReader that contains a BLayers collection to be added to the collection of data to be processed.

virtual void AddData ( const BLayers layers  )  [virtual]

Adds a collection of BLayer objects to the collection of data to be processed.

The specified BLayers will be appended to the collection.

Parameters:
layers A BLayers collection to be added to the collection of data to be processed.

virtual void AddData ( const BLayerPtr pLayer  )  [inline, virtual]

Adds a BLayer to the collection of data to be processed.

The specified BLayer will be appended to the collection.

Parameters:
pLayer A BLayer to be added to the collection of data to be processed.

virtual BLayers& GetData ( void   )  [inline, virtual]

Gets the the BLayers that will be processed by this BLayerProcessor, or the BLayers that have been processed by this BLayerProcessor, if the Process method has been called.

Returns:
The collection of data layers

virtual const BLayers& GetData ( void   )  const [inline, virtual]

Gets the the BLayers that will be processed by this BLayerProcessor, or the BLayers that have been processed by this BLayerProcessor, if the Process method has been called.

Returns:
The collection of data layers

virtual bool Process ( void   )  [pure virtual]

Processes the data.

Implemented in BCoordinateTransformer, and BVectorTransformer.

virtual void SetData ( const BDataReader reader  )  [inline, virtual]

Sets the BLayers to be processed.

The BLayers will be retrieved from the specified BDataReader using the BDataReader::GetLayers method. If any BLayer objects have been added to this BLayerProcessor previously, they will be removed and replaced by the specified BLayers.

Parameters:
reader A BDataReader that contains the BLayers to be processed.

virtual void SetData ( const BLayers layers  )  [virtual]

Sets the BLayers to be processed.

If any BLayer objects have been added to this BLayerProcessor previously, they will be removed and replaced by the specified BLayers.

Parameters:
layers The BLayers to be processed.

virtual void SetData ( const BLayerPtr pLayer  )  [inline, virtual]

Sets the BLayer to be processed.

If any BLayer objects have been added to this BLayerProcessor previously, they will be removed and replaced by the specified BLayer.

Parameters:
pLayer A BLayer to be processed.


Member Data Documentation

BLayers m_layers [protected]

The collection of BLayer objects to be processed.


The documentation for this class was generated from the following file:

GeoTranslate 5.0 From Blue Marble Geographics