53 virtual void setFixedSize(
unsigned s);
74 virtual char*
encode(
char*)
const;
78 virtual const char*
decode(
const char*);
120 unsigned myNextPropertyIndex;
virtual DtPropertyInterface * addItem()
Items cannot be added to a fixed array.
Definition: rwPropertiesFixedArray.h:109
#define DT_DLL_readerWriter
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: readerWriterDefines.h:34
virtual DtlObjPtr variablesStart(DtlObjPtr args) const
voidpf void uLong size
Definition: ioapi.h:39
virtual void erase(DtPropertyInterface *item)
Items cannot be removed from a fixed array.
Definition: rwPropertiesFixedArray.h:112
Definition: readerWriterRegistry.h:39
Interface class used to define minimal interface for a property. The DtPropertyInterface class provid...
Definition: propertyInterface.h:53
virtual bool isSimilarProperty(const DtPropertyInterface *rhs, bool strict=true) const
Returns true prototype is the same.
Acts as a fixed array for properties. This is essentially the same as a DtRwPropertiesList, except that the number of entries is fixed and the size is not encoded on the network.
Definition: rwPropertiesFixedArray.h:33
virtual char * encode(char *) const
Encodes the property into the supplied buffer. Does not align the property. Buffer must already be al...
virtual DtPropertyInterface * createPrototype(DtlObjPtr)
virtual const char * decode(const char *)
Decodes the property from the specified buffer. Assumes buffer is the start of the property and prece...
int getSize() const
Returns the network size of this item in bytes. This does not include any upfront padding for alignme...
virtual DtPropertyInterface * clonePrototype(DtReaderWriterRegistry *parent=0)
Returns a clone of the prototype that belongs to this list.
virtual const char * xmlType() const
Definition: rwPropertiesFixedArray.h:67
virtual bool addItem(DtPropertyInterface *item)
Items cannot be added to a fixed array.
Definition: rwPropertiesFixedArray.h:106
bool operator==(const DtRwPropertiesList &) const
virtual void erase(DtPropertyInterface *item)
Erases the specified item.
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...
Acts as a DtRwList for properties. Only real difference between this class and a DtRwProperties class...
Definition: rwPropertiesList.h:38
Definition: rwProperties.h:21
virtual int hlaAlignment() const
The required byte alignment of this property when encoding to HLA.
static const char * theXmlType()
The type that is used when archiving to an XML stream.