106 virtual char*
encode(
char*)
const;
109 virtual const char*
decode(
const char*);
115 virtual int count()
const;
118 virtual void getSelf(DtlObjPtr args,
122 virtual void writeSelf(std::string& fp,
int indentLevel = 0,
123 bool writeUnspecified =
false,
const DtFilename& path =
124 DtFilename::nullFilename());
125 virtual void writeData(std::string& fp,
int indentLevel = 0,
126 bool writeUnspecified =
false,
const DtFilename& path =
127 DtFilename::nullFilename());
151 virtual void writePrototype(
const DtReaderWriter*, std::string& fp,
int indentLevel,
bool writeHeader =
true)
const;
155 DtlObjPtr variableItem,
160 virtual DtlObjPtr variablesStart(DtlObjPtr args)
const;
165 virtual DtlObjPtr
getData(DtlObjPtr variableList,
174 virtual void assignPrototypeToChildren();
178 virtual void postWriteItem(std::string& fp,
DtReaderWriter* rw,
int indentLevel);
179 virtual void preWriteItem(std::string& fp,
DtReaderWriter* rw,
int indentLevel);
DtRwProperties & operator=(const DtRwProperties &orig)
#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 void cloneAndAddProperty(const DtReaderWriter &rw)
Clones the given RW and tries to add it to this list.
DT_DLL_readerWriter DtBoost::shared_ptr< DtEnvironment > DtEnvironmentSP
Definition: readerWriter.h:30
voidpf void uLong size
Definition: ioapi.h:39
Definition: readerWriter.h:85
Definition: readerWriterRegistry.h:39
virtual const char * xmlType() const
Definition: rwPropertiesList.h:100
bool operator==(const DtRwVariableBindings &) const
Interface class used to define minimal interface for a property.
Definition: propertyInterface.h:48
virtual const char * decode(const char *)
Decodes the variable bindings from the specified buffer.
virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference())
Override to allow a variable to be assigned to a property of derived type.
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
DtPropertyInterface * myPrototype
Definition: rwPropertiesList.h:187
virtual void writeData(std::string &fp, int indentLevel, bool writeUnspecified, const DtFilename &path)
virtual const char * readerWriterType() const
Used to supply a string type that this reader writer type is.
virtual void putData(std::string &, int indentLevel=0)
Deriving class overrides these to get/put class specific data.
static const DtVariableBindingsList & nullVariableReference()
virtual void writeSelf(std::string &fp, int indentLevel, bool writeUnspecified, const DtFilename &path)
Writes out registry data, but includes the type strings when writing.
Defines the DtPropertyInterface class, the interface for all property classes.
virtual void bindToRwAsVariable(const DtReaderWriter *rw)
Copies values from the specified DtReaderWriter.
Definition: rwProperty.h:264
virtual int count() const
Number of properties.
Acts as a DtRwList for properties.
Definition: rwPropertiesList.h:38
Definition: rwProperties.h:25
virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference())
Reads in items, using the factory to read the correct types.
A list of properties.
Definition: rwProperties.h:126
DtRwPropertyInt myCount
Definition: rwPropertiesList.h:188
static const char * theXmlType()
The type that is used when archiving to an XML stream.
virtual char * encode(char *) const
Encodes the variable bindings into the supplied buffer.
virtual int hlaAlignment() const
The required byte alignment of this property when encoding to HLA.
virtual bool isSimilarProperty(const DtPropertyInterface *rhs, bool strict=true) const
Returns true if the readerWriterType is the same.
virtual bool isValidProperty(const DtPropertyInterface *) const
Returns true if this is a valid property for the properties list.