17 namespace DtBufferSerialize
30 Location_Absolute = 0,
35 static DtString locationTypeString(LocationType posType);
38 static LocationType stringToLocationType(
const DtString& s,
bool& valid);
59 virtual LocationType locationType()
const;
60 virtual void setLocationType(LocationType posType);
66 virtual DtUUID object()
const;
67 virtual void setObject(
const DtUUID&
object);
74 virtual void setVector(
const DtVector& v);
78 virtual void setAbsoluteLocation(
const DtVector& worldLocation);
80 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:83
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:85
Definition: readerWriterRegistry.h:39
Contains the DtUUID class declaration.
LocationType
Definition: rwLocationReference.h:28
uuid class
Definition: rwUUID.h:26
Definition: rwVector.h:23
Description: Readable, Writable int.
Definition: rwInt.h:25
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...
#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:86
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...