#include <BMetadataContainer.h>

Public Member Functions | |
| BMetadataContainer (const BMetadataContainer &mdc) | |
| Copy constructor. | |
| BMetadataContainer () | |
| Default constructor. | |
| 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. | |
| BMetadata & | GetMetadata (void) |
| Gets the BMetadata associated with this BMetadataContainer. | |
| const BMetadata & | GetMetadata (void) const |
| Gets the BMetadata associated with this BMetadataContainer. | |
| BMetadata & | GetPrivateMetadata (void) |
| Get the private BMetadata associated with this BMetadataContainer. | |
| const BMetadata & | GetPrivateMetadata (void) const |
| Get the private BMetadata associated with this BMetadataContainer. | |
| void | SetMetadata (const BMetadata &props) |
| Sets the BMetadata associated with this BMetadataContainer. | |
| void | SetPrivateMetadata (const BMetadata &props) |
| Sets the private BMetadata associated with this BMetadataContainer. | |
| virtual BByteArray | ToByteArray (void) const |
| Stores this object in a BByteArray. | |
| virtual | ~BMetadataContainer () |
| Destructor. | |
| BMetadataContainer | ( | ) | [inline] |
Default constructor.
| BMetadataContainer | ( | const BMetadataContainer & | mdc | ) | [inline] |
| virtual ~BMetadataContainer | ( | ) | [inline, virtual] |
Destructor.
| virtual size_t ComputeSize | ( | void | ) | const [inline, virtual] |
Computes the size of the BByteArray required to store this object.
Implements BByteStreamable.
Reimplemented in BBlockRefFeature, BExternalRefFeature, BFeature, BMultilineTextFeature, BSymbolFeature, and BTextFeature.
| virtual void FromByteArray | ( | const BByteArray & | bytes, | |
| size_t & | startPos | |||
| ) | [inline, virtual] |
Initializes an instance of this object from a BByteArray.
| 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. |
Implements BByteStreamable.
Reimplemented in BBlockRefFeature, BExternalRefFeature, BFeature, BMultilineTextFeature, BSymbolFeature, and BTextFeature.
| BMetadata& GetMetadata | ( | void | ) | [inline] |
Gets the BMetadata associated with this BMetadataContainer.
| const BMetadata& GetMetadata | ( | void | ) | const [inline] |
Gets the BMetadata associated with this BMetadataContainer.
| BMetadata& GetPrivateMetadata | ( | void | ) | [inline] |
Get the private BMetadata associated with this BMetadataContainer.
This data is meant to be used internally by readers and writers. End-user applications that use these values should do so at their own risk.
| const BMetadata& GetPrivateMetadata | ( | void | ) | const [inline] |
Get the private BMetadata associated with this BMetadataContainer.
This data is meant to be used internally by readers and writers. End-user applications that use these values should do so at their own risk.
| void SetMetadata | ( | const BMetadata & | props | ) | [inline] |
Sets the BMetadata associated with this BMetadataContainer.
| props | The BMetadata associated with this BMetadataContainer. |
| void SetPrivateMetadata | ( | const BMetadata & | props | ) | [inline] |
Sets the private BMetadata associated with this BMetadataContainer.
This data is meant to be used internally by readers and writers. End-user applications that use these values should do so at their own risk.
| props | The private BMetadata associated with this BMetadataContainer. |
| virtual BByteArray ToByteArray | ( | void | ) | const [inline, virtual] |
Stores this object in a BByteArray.
Implements BByteStreamable.
Reimplemented in BBlockRefFeature, BExternalRefFeature, BFeature, BMultilineTextFeature, BSymbolFeature, and BTextFeature.