#include <VXIvalue.h>
Public Member Functions | |
VXIContentHolder () | |
VXIContentHolder (VXIContent *c) | |
Takes ownership of an existing VXIContent. | |
virtual | ~VXIContentHolder () |
Destroys the contained VXIContent. | |
const VXIbyte * | GetContent () |
Returns the VXIContent content. | |
const VXIchar * | GetType () |
Returns the VXIContent type. | |
VXIulong | GetSize () |
Returns the VXIContent size. | |
const VXIContent * | GetValue () |
Returns the internal map. | |
VXIContent * | Release (void) |
Give up ownership of the contained VXIContent. | |
bool | Create (const VXIchar *contentType, VXIbyte *content, VXIulong contentSizeBytes, void(*Destroy)(VXIbyte **content, void *userData), void *userData) |
Creates a new contained VXIContent, destroying the current content if needed. | |
void | Acquire (VXIContent *content) |
Acquires an existing VXIContent, destroying the contained content if needed. |
|
|
|
Takes ownership of an existing VXIContent.
|
|
Destroys the contained VXIContent.
|
|
Acquires an existing VXIContent, destroying the contained content if needed.
|
|
Creates a new contained VXIContent, destroying the current content if needed.
|
|
Returns the VXIContent content. Same as would be returned by VXIContentCreate. |
|
Returns the VXIContent size. Same as would be returned by VXIContentCreate. |
|
Returns the VXIContent type. Same as would be returned by VXIContentCreate. |
|
Returns the internal map.
|
|
Give up ownership of the contained VXIContent. This does not destroy the contained VXIContent. Rather, a a pointer is returned, and it is the callers responsibility to destroy the map with a call to VXIContentDestroy.
|