#include <BBlockRefFeature.h>

The BBlockRefFeature class represents a reference to group of features that will be treated as one. The geometry associated with this feature must be a BPointGeo object, representing the insertion point for the block of BFeature objects.
Public Member Functions | |
| BBlockRefFeature (const BBlockRefFeature &feat) | |
| Copy constructor. | |
| BBlockRefFeature () | |
| Default constructor. | |
| virtual BFeature * | Clone (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. | |
| const BString & | GetRefName (void) const |
| Gets the name of the BBlockDef that is referenced by this BBlockRefFeature. | |
| virtual void | SetGeometry (const BGeometryPtr &geo) |
| Sets the geometry for this BFeature. | |
| void | SetRefName (const BString &refName) |
| Sets the name of the BBlockDef that is referenced by this BBlockRefFeature. | |
| virtual BByteArray | ToByteArray (void) const |
| Stores this object in a BByteArray. | |
| BBlockRefFeature | ( | ) | [inline] |
Default constructor.
This constructor creates a new BBlockRefFeature that does not reference a BBlockDef.
| BBlockRefFeature | ( | const BBlockRefFeature & | feat | ) | [inline] |
| virtual BFeature* Clone | ( | void | ) | const [inline, virtual] |
Creates a deep-copy of this object.
Reimplemented from BFeature.
| virtual size_t ComputeSize | ( | void | ) | const [inline, virtual] |
Computes the size of the BByteArray required to store this object.
Reimplemented from BFeature.
| virtual void FromByteArray | ( | const BByteArray & | bytes, | |
| size_t & | startPos | |||
| ) | [virtual] |
Initializes an instance of this object from a BByteArray.
| bytes | The BByteArray containing the byte representation for this 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 BFeature.
| const BString& GetRefName | ( | void | ) | const [inline] |
Gets the name of the BBlockDef that is referenced by this BBlockRefFeature.
| virtual void SetGeometry | ( | const BGeometryPtr & | geo | ) | [virtual] |
| void SetRefName | ( | const BString & | refName | ) | [inline] |
Sets the name of the BBlockDef that is referenced by this BBlockRefFeature.
| refName | The BBlockDef name. |
| virtual BByteArray ToByteArray | ( | void | ) | const [virtual] |
Stores this object in a BByteArray.
Reimplemented from BFeature.