#include <BVectorDataWriter.h>

Public Member Functions | |
| virtual void | Close () |
| Closes the underlying data sink and frees resources. | |
| virtual void | Open (const BString &dsName, const BParamList &parms)=0 |
| Opens the underlying data sink. | |
| virtual | ~BVectorDataWriter () |
| Destructor. | |
Protected Member Functions | |
| virtual void | BeginWrite (void) |
| Derived classes should override this method to perform initialization required at the beginning of the Write method. | |
| BVectorDataWriter (const BString &type, const BParamList &parms) | |
| Constructor. | |
| BVectorDataWriter () | |
| Default constructor. | |
| virtual void | CompleteDataSourceLayer (void) |
| Completes processing for the current data source layer. | |
| virtual void | CreateDataSourceLayer (const BVectorLayerPtr &pLayer)=0 |
| Creates a BLayer object appropriate for the underlying data source. | |
| bool | CurFeatureIsVisible (void) |
| Indicates whether or not the current feature is visible. | |
| BMetadata & | GetCurFeatureMetadata (void) |
| Gets the current BFeature's BMetadata. | |
| virtual void | StoreAggregateAreaFeature (const BFeaturePtr &pFeature) |
| Writes the contents of the specified BFeature to the data sink. | |
| virtual void | StoreAggregateGeoFeature (const BFeaturePtr &pFeature) |
| Writes the contents of the specified BFeature to the data sink. | |
| virtual void | StoreAggregateLinearFeature (const BFeaturePtr &pFeature) |
| Writes the contents of the specified BFeature to the data sink. | |
| virtual void | StoreAggregatePointFeature (const BFeaturePtr &pFeature) |
| Writes the contents of the specified BFeature to the data sink. | |
| virtual void | StoreArcFeature (const BFeaturePtr &pFeature) |
| Writes the contents of the specified BFeature to the data sink. | |
| virtual void | StoreBlockReferenceFeature (const BFeaturePtr &pFeature, const BVectorLayerPtr &pLayer) |
| Writes the contents of the specified BFeature to the data sink. | |
| virtual void | StoreDonutFeature (const BFeaturePtr &pFeature) |
| Writes the contents of the specified BFeature to the data sink. | |
| virtual void | StoreEllipseFeature (const BFeaturePtr &pFeature) |
| Writes the contents of the specified BFeature to the data sink. | |
| virtual void | StoreExternalReferenceFeature (const BFeaturePtr &pFeature) |
| Writes the contents of the specified BFeature to the data sink. | |
| virtual void | StoreFeature (const BFeaturePtr &pFeature) |
| Writes the contents of the specified BFeature to the data sink. | |
| virtual void | StoreLayer (const BLayerPtr &pLayer) |
| Stores the contents of a BLayer in the data sink. | |
| virtual void | StoreLineFeature (const BFeaturePtr &pFeature) |
| Writes the contents of the specified BFeature to the data sink. | |
| virtual void | StoreMultilineTextFeature (const BFeaturePtr &pFeature) |
| Writes the contents of the specified BFeature to the data sink. | |
| virtual void | StoreNoGeometryFeature (const BFeaturePtr &pFeature) |
| Writes the contents of the specified BFeature to the data sink. | |
| virtual void | StorePathFeature (const BFeaturePtr &pFeature) |
| Writes the contents of the specified BFeature to the data sink. | |
| virtual void | StorePixelBufferFeature (const BFeaturePtr &pFeature) |
| Writes the contents of the specified BFeature to the data sink. | |
| virtual void | StorePointFeature (const BFeaturePtr &pFeature) |
| Writes the contents of the specified BFeature to the data sink. | |
| virtual void | StorePolygonFeature (const BFeaturePtr &pFeature) |
| Writes the contents of the specified BFeature to the data sink. | |
| virtual void | StorePolylineFeature (const BFeaturePtr &pFeature) |
| Writes the contents of the specified BFeature to the data sink. | |
| virtual void | StoreRasterGridFeature (const BFeaturePtr &pFeature) |
| Writes the contents of the specified BFeature to the data sink. | |
| virtual void | StoreRectangleFeature (const BFeaturePtr &pFeature) |
| Writes the contents of the specified BFeature to the data sink. | |
| virtual void | StoreRoundRectangleFeature (const BFeaturePtr &pFeature) |
| Writes the contents of the specified BFeature to the data sink. | |
| virtual void | StoreSymbolFeature (const BFeaturePtr &pFeature) |
| Writes the contents of the specified BFeature to the data sink. | |
| virtual void | StoreTextFeature (const BFeaturePtr &pFeature) |
| Writes the contents of the specified BFeature to the data sink. | |
Protected Attributes | |
| BMetadata | m_curFeatureMetadata |
| The BMetadata attached to the current BFeature. | |
| bool | m_curFeatureVisible |
| Indicates whether or not the current feature is marked "visible". | |
| UInt32 | m_featureNum |
| The current BFeature number (used for progress reporting). | |
| UInt32 | m_totNumFeatures |
| The total number of BFeatures to be written (used for progress reporting). | |
| virtual ~BVectorDataWriter | ( | ) | [virtual] |
Destructor.
| BVectorDataWriter | ( | ) | [inline, protected] |
Default constructor.
This constructor is hidden because this is an abstract class.
| BVectorDataWriter | ( | const BString & | type, | |
| const BParamList & | parms | |||
| ) | [inline, protected] |
Constructor.
This constructor is hidden because this is an abstract class.
| type | The type of the underlying data sink. | |
| parms | A set of format-specific parameters that describe the nature of the writer that shall be created. |
| virtual void BeginWrite | ( | void | ) | [protected, virtual] |
Derived classes should override this method to perform initialization required at the beginning of the Write method.
Reimplemented from BDataWriter.
| virtual void Close | ( | void | ) | [inline, virtual] |
Closes the underlying data sink and frees resources.
Derived classes should call the base class implementation of this method.
Reimplemented from BDataWriter.
| virtual void CompleteDataSourceLayer | ( | void | ) | [inline, protected, virtual] |
Completes processing for the current data source layer.
Override to provide format-specific processing. Default implementation does nothing.
| virtual void CreateDataSourceLayer | ( | const BVectorLayerPtr & | pLayer | ) | [protected, pure virtual] |
Creates a BLayer object appropriate for the underlying data source.
This is an abstract method that must be implemented in derived classes.
| pLayer | the BVectorLayer that should be set up for the specific data format. |
| bool CurFeatureIsVisible | ( | void | ) | [inline, protected] |
Indicates whether or not the current feature is visible.
| BMetadata& GetCurFeatureMetadata | ( | void | ) | [inline, protected] |
| virtual void Open | ( | const BString & | dsName, | |
| const BParamList & | parms | |||
| ) | [pure virtual] |
Opens the underlying data sink.
| dsName | The name of the underlying data sink. For a file-based data sink, this would be the path and file name. | |
| parms | Format-specific parameters that describe how to open the data sink. |
Implements BDataWriter.
| virtual void StoreAggregateAreaFeature | ( | const BFeaturePtr & | pFeature | ) | [inline, protected, virtual] |
Writes the contents of the specified BFeature to the data sink.
Implement this in your derived class if the data type supports this geometry.
| pFeature | The BFeature containing a BAggregateArea geometry object. |
| virtual void StoreAggregateGeoFeature | ( | const BFeaturePtr & | pFeature | ) | [inline, protected, virtual] |
Writes the contents of the specified BFeature to the data sink.
Implement this in your derived class if the data type supports this geometry.
| pFeature | The BFeature containing a BAggregateGeo geometry object. |
| virtual void StoreAggregateLinearFeature | ( | const BFeaturePtr & | pFeature | ) | [inline, protected, virtual] |
Writes the contents of the specified BFeature to the data sink.
Implement this in your derived class if the data type supports this geometry.
| pFeature | The BFeature containing a BAggregateLinear geometry object. |
| virtual void StoreAggregatePointFeature | ( | const BFeaturePtr & | pFeature | ) | [inline, protected, virtual] |
Writes the contents of the specified BFeature to the data sink.
Implement this in your derived class if the data type supports this geometry.
| pFeature | The BFeature containing a BAggregatePoint geometry object. |
| virtual void StoreArcFeature | ( | const BFeaturePtr & | pFeature | ) | [inline, protected, virtual] |
| virtual void StoreBlockReferenceFeature | ( | const BFeaturePtr & | pFeature, | |
| const BVectorLayerPtr & | pLayer | |||
| ) | [protected, virtual] |
Writes the contents of the specified BFeature to the data sink.
Implement this in your derived class if the data type supports this feature type.
| pFeature | A BBlockRefFeature to write to the data sink. | |
| pLayer | The BVectorLayer that contains the BBlockDef. |
| virtual void StoreDonutFeature | ( | const BFeaturePtr & | pFeature | ) | [inline, protected, virtual] |
| virtual void StoreEllipseFeature | ( | const BFeaturePtr & | pFeature | ) | [inline, protected, virtual] |
| virtual void StoreExternalReferenceFeature | ( | const BFeaturePtr & | pFeature | ) | [inline, protected, virtual] |
Writes the contents of the specified BFeature to the data sink.
Implement this in your derived class if the data type supports this feature type.
| pFeature | A BExternalRefFeature to write to the data sink. |
| virtual void StoreFeature | ( | const BFeaturePtr & | pFeature | ) | [protected, virtual] |
| virtual void StoreLayer | ( | const BLayerPtr & | pLayer | ) | [protected, virtual] |
Stores the contents of a BLayer in the data sink.
| pLayer | Pointer to the BLayer to be stored. |
Implements BDataWriter.
| virtual void StoreLineFeature | ( | const BFeaturePtr & | pFeature | ) | [inline, protected, virtual] |
| virtual void StoreMultilineTextFeature | ( | const BFeaturePtr & | pFeature | ) | [inline, protected, virtual] |
Writes the contents of the specified BFeature to the data sink.
Implement this in your derived class if the data type supports this feature type.
| pFeature | A BMultilineTextFeature to write to the data sink. |
| virtual void StoreNoGeometryFeature | ( | const BFeaturePtr & | pFeature | ) | [inline, protected, virtual] |
| virtual void StorePathFeature | ( | const BFeaturePtr & | pFeature | ) | [inline, protected, virtual] |
| virtual void StorePixelBufferFeature | ( | const BFeaturePtr & | pFeature | ) | [inline, protected, virtual] |
| virtual void StorePointFeature | ( | const BFeaturePtr & | pFeature | ) | [inline, protected, virtual] |
| virtual void StorePolygonFeature | ( | const BFeaturePtr & | pFeature | ) | [inline, protected, virtual] |
| virtual void StorePolylineFeature | ( | const BFeaturePtr & | pFeature | ) | [inline, protected, virtual] |
| virtual void StoreRasterGridFeature | ( | const BFeaturePtr & | pFeature | ) | [inline, protected, virtual] |
| virtual void StoreRectangleFeature | ( | const BFeaturePtr & | pFeature | ) | [inline, protected, virtual] |
Writes the contents of the specified BFeature to the data sink.
Implement this in your derived class if the data type supports this geometry.
| pFeature | The BFeature containing a BRectangle geometry object. |
| virtual void StoreRoundRectangleFeature | ( | const BFeaturePtr & | pFeature | ) | [inline, protected, virtual] |
Writes the contents of the specified BFeature to the data sink.
Implement this in your derived class if the data type supports this geometry.
| pFeature | The BFeature containing a BRoundRectangle geometry object. |
| virtual void StoreSymbolFeature | ( | const BFeaturePtr & | pFeature | ) | [inline, protected, virtual] |
Writes the contents of the specified BFeature to the data sink.
Implement this in your derived class if the data type supports this feature type.
| pFeature | A BSymbolFeature to write to the data sink. |
| virtual void StoreTextFeature | ( | const BFeaturePtr & | pFeature | ) | [inline, protected, virtual] |
Writes the contents of the specified BFeature to the data sink.
Implement this in your derived class if the data type supports this feature type.
| pFeature | A BTextFeature to write to the data sink. |
BMetadata m_curFeatureMetadata [protected] |
bool m_curFeatureVisible [protected] |
Indicates whether or not the current feature is marked "visible".
UInt32 m_featureNum [protected] |
The current BFeature number (used for progress reporting).
UInt32 m_totNumFeatures [protected] |
The total number of BFeatures to be written (used for progress reporting).