#include <kfbxtypes.h>
Uninitialized data of a specified size, to be filled by the user.
Definition at line 155 of file kfbxtypes.h.
| Constructors and Destructor | |
| fbxBlob () | |
| Constructor. Set attributes to 0. | |
| fbxBlob (int pSize) | |
| Constructor. | |
| fbxBlob (const fbxBlob &pRHS) | |
| Copy constructor. | |
| fbxBlob (const void *pData, int pSize) | |
| Constructor. | |
| ~fbxBlob () | |
| Destructor. | |
| Assignment. | |
| fbxBlob & | operator= (fbxBlob const &pValue) | 
| Share the buffer of the specified blob with
this blob. | |
| void | Assign (const void *pData, int pSize) | 
| Copy the data in the buffer. | |
| Boolean operation | |
| bool | operator== (fbxBlob const &pRHS) const | 
| Equivalence operator. | |
| bool | operator!= (fbxBlob const &pRHS) const | 
| Non-equivalence operator. | |
| Access | |
| const void * | Access () const | 
| Retrieve the buffer pointer. | |
| int | Size () const | 
| Retrieve the buffer size. | |
| Public Member Functions | |
| void * | Modify () | 
| Make a copy if the reference count > 1
(i.e. if the buffer is shared). | |
| void | Clear () | 
| Free the memory if this blob is the last one
to hold it. | |
| fbxBlob | ( | ) | [inline] | 
Constructor. Set attributes to 0.
Definition at line 163 of file kfbxtypes.h.
| fbxBlob | ( | int | pSize | ) | 
Constructor.
Construct a buffer with uninitialized data of a specified size, to be filled by the user.
| pSize | Buffer size. | 
Copy constructor.
| pRHS | The blob to be copied to this blob. | 
Definition at line 173 of file kfbxtypes.h.
| fbxBlob | ( | const void * | pData, | |
| int | pSize | |||
| ) | [inline] | 
Constructor.
| pData | The data to be filled in the buffer. | |
| pSize | Buffer size. | 
Definition at line 179 of file kfbxtypes.h.
| ~fbxBlob | ( | ) | 
Destructor.
Share the buffer of the specified blob with this blob.
| pValue | The blob whose buffer is shared with this blob. | 
| void Assign | ( | const void * | pData, | |
| int | pSize | |||
| ) | 
Copy the data in the buffer.
| pData | The buffer to be copied data from. | |
| pSize | Buffer size. | 
| bool operator== | ( | fbxBlob const & | pRHS | ) | const | 
Equivalence operator.
| pRHS | The blob to be compared with this blob. | 
True, if the two blobs are equal,
false otherwise.| bool operator!= | ( | fbxBlob const & | pRHS | ) | const [inline] | 
Non-equivalence operator.
| pRHS | The blob to be compared with this blob. | 
True, if the two blobs are unequal, otherwise
false.Definition at line 219 of file kfbxtypes.h.
| void* Modify | ( | ) | 
Make a copy if the reference count > 1 (i.e. if the buffer is shared).
| const void* Access | ( | ) | const [inline] | 
Retrieve the buffer pointer.
Definition at line 233 of file kfbxtypes.h.
| int Size | ( | ) | const [inline] | 
| void Clear | ( | ) | 
Free the memory if this blob is the last one to hold it.