![]() |
RTFX
0.3
Real time special effects collaborative visualization and production library.
|
Properties which are raw dat. More...
#include <RTFXPropertyRawData.h>
Public Member Functions | |
| RTFXPropertyRawData () | |
| void | Copy (RTFXProperty *_p) |
| ~RTFXPropertyRawData () | |
| void | SetValue (char *_value, RTFXBIGINT _length) |
| char * | GetValue () |
| RTFXBIGINT | GetLength () |
| void | SetValue (std::string _path, std::string _fileName, std::string _fileType) |
| void | WriteFile (std::string _location) |
| void | SetFileName (std::string _fileName) |
| void | SetFileType (std::string _fileType) |
| std::string | GetFileName () |
| std::string | GetFileType () |
| bool | EqualTo (RTFXProperty *_other) |
Public Member Functions inherited from RTFX::RTFXProperty | |
| RTFXProperty () | |
| virtual | ~RTFXProperty () |
| void | SetType (RTFXPropertyType _type) |
| void | SetName (string _name) |
| void | SetOwner (boost::uuids::uuid _owner) |
| void | SetChanged (bool _changed) |
| void | SetDescription (string _description) |
| void | SetID (unsigned int _id) |
| void | SetDelete (bool _v) |
| bool | GetDelete () |
| void | SetAll (string _name, string _description, bool _changed, unsigned int _id) |
| RTFXPropertyType | GetType () |
| string | GetName () |
| boost::uuids::uuid | GetOwner () |
| bool | GetChanged () |
| string | GetDescription () |
| unsigned int | GetID () |
| virtual void | ChangeFrame (AXISFRAME frameA, AXISFRAME frameB) |
| void | SetBasis (bool _basis) |
| bool | GetBasis () |
| void | SetOwnedByObject (bool _ownedByObject) |
| bool | GetOwnedByObject () |
| RTFXPropertyData | GetDataType () |
| void | SetDataType (RTFXPropertyData _dt) |
| AXISFRAME | GetAxis () |
| void | SetAxis (AXISFRAME _frame) |
Private Attributes | |
| char * | value |
| RTFXBIGINT | length |
| std::string | fileName |
| std::string | fileType |
Friends | |
| class | boost::serialization::access |
| Serialization Routines. | |
Additional Inherited Members | |
Public Types inherited from RTFX::RTFXProperty | |
| enum | RTFXPropertyType { BASICTYPE = 0, STRING = 1, CHARARRAY = 2, VECTOR3 = 3, POINT3 = 4, MATRIX4 = 5, RAWDATA = 6, VECTOROF = 7, COLOUR = 8, BASICARRAY = 9, DELETEOBJECT = 10 } |
| enum | RTFXPropertyData { CHAR = 0, BOOL = 1, INT = 2, UNSIGNEDINT = 3, DOUBLE = 4, FLOAT = 5, DATASTRING = 6, UNKNOWN = 7 } |
Static Public Member Functions inherited from RTFX::RTFXProperty | |
| static void | EncodeLong (RTFXBIGINT _encodeMe, char *_data) |
| static void | DecodeLong (RTFXBIGINT &_decodeTo, char *_data) |
Protected Attributes inherited from RTFX::RTFXProperty | |
| boost::mutex * | dataLock |
Properties which are raw dat.
This property type is not templated, and can only represent an array of raw data. This property is meant to hold unprocessed (hence, raw) files, such as images, FBX, OTL, audio, etc.
|
inline |
Constructor: initializes the TYPE to RAWDATA, and the value to null
|
inline |
Destructor
|
inlinevirtual |
Turn this object into a copy of another
Implements RTFX::RTFXProperty.
References RTFX::RTFXProperty::GetChanged(), RTFX::RTFXProperty::GetDelete(), RTFX::RTFXProperty::GetDescription(), RTFX::RTFXProperty::GetID(), RTFX::RTFXProperty::GetName(), RTFX::RTFXProperty::GetOwner(), and RTFX::RTFXProperty::GetType().
|
inlinevirtual |
Determine if this property is equal to another: assumes the properties are of the same type and template
Implements RTFX::RTFXProperty.
References RTFX::RTFXProperty::GetType().
|
inline |
Get the file name of the property
|
inline |
Get the file type of the property
|
inlinevirtual |
Get the length of the character array
Reimplemented from RTFX::RTFXProperty.
|
inline |
Get the value of this property
|
inline |
Set the file name of the property
|
inline |
Set the file type of the property
|
inline |
Set the value of this property
|
inline |
Set the value of this property by loading data directly from the file
|
inline |
Write the contents of this property to a file on the local disk
|
private |
The name of the file which this property contains
|
private |
The type of the file which this property contains
|
private |
The length of the array storing the binary data
|
private |
The value of this property