BSymbolFeature Class Reference

#include <BSymbolFeature.h>

Inheritance diagram for BSymbolFeature:

Inheritance graph
[legend]

List of all members.


Detailed Description

A feature containing a symbol and a collection of points at which the symbol will be displayed.

Public Member Functions

 BSymbolFeature (const BSymbolFeature &feat)
 Copy constructor.
 BSymbolFeature (const BString &sym)
 Constructor.
 BSymbolFeature ()
 Default constructor.
virtual BFeatureClone (void) const
 Creates a deep-copy of this object.
virtual size_t ComputeSize (void) const
 Computes the size of the BByteArray required to store this object.
virtual void FromByteArray (const BByteArray &bytes, size_t &startPos)
 Initializes an instance of this object from a BByteArray.
virtual const BRectGetMBR (void) const
 Gets the minimum bounding rectangle for this BTextFeature.
const BStringGetSymbol (void) const
 Gets the symbol character.
virtual void SetGeometry (const BGeometryPtr &geo)
 Set this BFeature's geometry.
void SetSymbol (const BString &sym)
 Sets the symbol character.
virtual BByteArray ToByteArray (void) const
 Stores this object in a BByteArray.
virtual void Transform (const BTransform &cst)
 Transforms the symbol points to a different coordinate system.
virtual void TransformReverse (const BTransform &cst)
 Transforms the symbol points to a different coordinate system using the "reverse" of the BTransform.
virtual ~BSymbolFeature ()
 Destructor.

Constructor & Destructor Documentation

BSymbolFeature (  )  [inline]

Default constructor.

BSymbolFeature ( const BString sym  )  [inline]

Constructor.

Parameters:
sym The symbol character.

BSymbolFeature ( const BSymbolFeature feat  )  [inline]

Copy constructor.

Parameters:
feat The BSymbolFeature to copy.

virtual ~BSymbolFeature (  )  [inline, virtual]

Destructor.


Member Function Documentation

virtual BFeature* Clone ( void   )  const [inline, virtual]

Creates a deep-copy of this object.

Returns:
A deep-copy of this object.

Reimplemented from BTextFeature.

virtual size_t ComputeSize ( void   )  const [inline, virtual]

Computes the size of the BByteArray required to store this object.

Returns:
The size of the BByteArray.

Reimplemented from BTextFeature.

virtual void FromByteArray ( const BByteArray bytes,
size_t &  startPos 
) [virtual]

Initializes an instance of this object from a BByteArray.

Parameters:
bytes The BByteArray containing the byte representation of the object.
startPos The position in the BByteArray where the byte representation begins. This value will be updated to point to the byte past the end of this object in the byte array.

Reimplemented from BTextFeature.

virtual const BRect& GetMBR ( void   )  const [virtual]

Gets the minimum bounding rectangle for this BTextFeature.

Returns:
The minimum bounding rectangle.

Reimplemented from BTextFeature.

const BString& GetSymbol ( void   )  const [inline]

Gets the symbol character.

Returns:
The symbol character.

virtual void SetGeometry ( const BGeometryPtr geo  )  [virtual]

Set this BFeature's geometry.

Note that the geometry for a BSymbolFeature must always be a BAggregatePoint.

Parameters:
geo The geometry.

Reimplemented from BTextFeature.

void SetSymbol ( const BString sym  )  [inline]

Sets the symbol character.

Parameters:
sym The symbol character.

virtual BByteArray ToByteArray ( void   )  const [virtual]

Stores this object in a BByteArray.

Returns:
A BByteArray that stores the contents of this object.

Reimplemented from BTextFeature.

virtual void Transform ( const BTransform cst  )  [virtual]

Transforms the symbol points to a different coordinate system.

Parameters:
cst The BTransform that describes the transformation.

Reimplemented from BTextFeature.

virtual void TransformReverse ( const BTransform cst  )  [virtual]

Transforms the symbol points to a different coordinate system using the "reverse" of the BTransform.

Parameters:
cst The BTransform that describes the transformation.

Reimplemented from BTextFeature.


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

GeoTranslate 5.0 From Blue Marble Geographics