17 namespace DtBufferSerialize
30 Location_Absolute = 0,
35 static DtString locationTypeString(LocationType posType);
38 static LocationType stringToLocationType(
const DtString& s,
bool& valid);
56 operator DtVector()
const;
65 virtual LocationType locationType()
const;
66 virtual void setLocationType(LocationType posType);
72 virtual DtUUID object()
const;
73 virtual void setObject(
const DtUUID&
object);
79 virtual DtVector vector()
const;
80 virtual void setVector(
const DtVector& v);
84 virtual void setAbsoluteLocation(
const DtVector& worldLocation);
86 virtual void setObjectLocation(
const DtUUID&
object);
UUID is a unique ID wrapper class.
Definition: uuid.h:59
virtual const char * readerWriterType() const
Used to supply a string type that this reader writer type is. This can be used in place of dynamic-ca...
DT_DLL_readerWriter int getSize(const DtString &val)
The number of bytes required to encode the value.
DtRwInt myLocationType
Enumerated location type represented by this location.
Definition: rwLocationReference.h:96
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
Holds a position of some form. May be an absolute position, or a reference to another object...
Definition: rwLocationReference.h:25
Definition: readerWriter.h:85
DtRwVector myVector
Raw vector data. This is used as different types of data depending on the location type...
Definition: rwLocationReference.h:98
Definition: readerWriterRegistry.h:39
Contains the DtUUID class declaration.
LocationType
Definition: rwLocationReference.h:28
uuid class
Definition: rwUUID.h:26
Definition: rwVector.h:23
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
Description: Readable, Writable int.
Definition: rwInt.h:25
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
DT_DLL_readerWriter char * encode(const DtFilename &val, char *buffer)
Serializes the provided value val into buffer. buffer must have at least the number of bytes returned...
virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference())
Top level to read itself from an input stream. searchPath is passed down to all DtReaderWriter member...
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34
DtRwUUID myObject
Definition: rwLocationReference.h:99
const DtReaderWriter & operator=(const DtReaderWriter &orig)
assignment operator
DT_DLL_readerWriter const char * decode(DtString &val, const char *buffer)
Decodes a value from buffer and places the result in val of the type specified by val...