#include <BByteStreamable.h>

Public Member Functions | |
| virtual size_t | ComputeSize (void) const =0 |
| Computes the size of the BByteArray required to store this object. | |
| virtual void | FromByteArray (const BByteArray &bytes, size_t &startPos)=0 |
| Initializes an instance of this object from a BByteArray. | |
| virtual BByteArray | ToByteArray (void) const =0 |
| Stores this object in a BByteArray. | |
Protected Member Functions | |
| BByteStreamable () | |
| Default constructor. | |
| BByteStreamable | ( | ) | [inline, protected] |
Default constructor.
| virtual size_t ComputeSize | ( | void | ) | const [pure virtual] |
Computes the size of the BByteArray required to store this object.
Implemented in BAggregateArea, BAggregateGeo, BAggregateLinear, BAggregatePoint, BArc, BAreaGeo, BAttribute, BAttributes, BBlockRefFeature, BColor, BDonut, BEllipse, BExternalRefFeature, BFeature, BFillStyle, BFont, BGeometry, BKeyValuePairs, BLine, BLinearGeo, BLineStyle, BMetadataContainer, BMultilineTextFeature, BPath, BPoint, BPointGeo, BPoints, BPolygon, BPolyline, BRect, BRendition, BRotation, BRoundRectangle, BSegLink, BSegment, BString, BSymbolFeature, BTextFeature, BTextLine, BTextLines, and BVariant.
| virtual void FromByteArray | ( | const BByteArray & | bytes, | |
| size_t & | startPos | |||
| ) | [pure 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. |
Implemented in BAggregateArea, BAggregateGeo, BAggregateLinear, BAggregatePoint, BArc, BAreaGeo, BAttribute, BAttributes, BBlockRefFeature, BColor, BDonut, BEllipse, BExternalRefFeature, BFeature, BFillStyle, BFont, BGeometry, BKeyValuePairs, BLine, BLinearGeo, BLineStyle, BMetadataContainer, BMultilineTextFeature, BPath, BPoint, BPointGeo, BPoints, BPolygon, BPolyline, BRect, BRendition, BRotation, BRoundRectangle, BSegLink, BSegment, BString, BSymbolFeature, BTextFeature, BTextLine, BTextLines, and BVariant.
| virtual BByteArray ToByteArray | ( | void | ) | const [pure virtual] |
Stores this object in a BByteArray.
Implemented in BAggregateArea, BAggregateGeo, BAggregateLinear, BAggregatePoint, BArc, BAreaGeo, BAttribute, BAttributes, BBlockRefFeature, BColor, BDonut, BEllipse, BExternalRefFeature, BFeature, BFillStyle, BFont, BGeometry, BKeyValuePairs, BLine, BLinearGeo, BLineStyle, BMetadataContainer, BMultilineTextFeature, BPath, BPoint, BPointGeo, BPoints, BPolygon, BPolyline, BRect, BRendition, BRotation, BRoundRectangle, BSegLink, BSegment, BString, BSymbolFeature, BTextFeature, BTextLine, BTextLines, and BVariant.