|
| | DtRwProperty (const DtString &name, DtReaderWriterRegistry *parentRegistry=0) |
| |
| | DtRwProperty (const DtString &name, const DtRwProperty &orig, DtReaderWriterRegistry *parentRegistry=0) |
| |
| DtRwProperty & | operator= (const DtRwProperty &orig) |
| |
| virtual | ~DtRwProperty () |
| |
| virtual void | copy (const DtPropertyInterface &rhs) |
| | Copies the given property into the current one as long as the types are the same. More...
|
| |
| virtual char * | encode (char *) const |
| | These methods are for network encoding/decoding for HLA encoding decoding reasons. More...
|
| |
| virtual const char * | decode (const char *) |
| | Decodes the variable bindings from the specified buffer. More...
|
| |
| virtual void | getSize (int &size) const |
| | Returns the size of this item, iterating over all types. More...
|
| |
| virtual int | hlaAlignment () const |
| | Returns alignment necessary to encode this item in HLA. More...
|
| |
| virtual DtString | stringRep (const DtString &root="") const |
| |
| virtual const char * | propertyType () const |
| | Typically returns reader/writer type. More...
|
| |
| virtual DtSymbolString | propertyName () const |
| | The name of this property. More...
|
| |
| virtual void | setPropertyName (const DtString &propertyName) |
| | Sets name of this property. Should generally only be called when initially created. More...
|
| |
| virtual void | getSelf (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=DtReaderWriter::SearchPaths(), const DtVariableBindingsList &variableBindings=DtReaderWriter::nullVariableReference()) |
| |
| virtual DtlObjPtr | getData (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings) |
| | Override to allow a variable to be assigned to a property of derived type. More...
|
| |
| virtual bool | merge (const DtPropertyInterface &target, MergeFlags, const DtMergePath &path=DtMergePath(), const std::set< DtString > &ignore=std::set< DtString >()) |
| | In this case replace does not matter – will replace value regardless. More...
|
| |
| virtual void | recordUpdateTime () const |
| | Stamps the time when updated. More...
|
| |
| virtual bool | wasUpdatedSince (DtTime t) const |
| | Returns true if an update occurred since the specified time. More...
|
| |
| virtual void | reset () |
| | Override to clear out variable value. More...
|
| |
|
| virtual DtReaderWriter * | readerWriter () |
| |
| virtual const DtReaderWriter * | readerWriter () const |
| |
|
| virtual DtPropertyInterface * | property () |
| |
| virtual const DtPropertyInterface * | property () const |
| |
|
| virtual bool | isPublished () const |
| | Whether this property should be published. More...
|
| |
| virtual void | setIsPublished (bool isPub) |
| |
|
| virtual unsigned | disRecordType () const |
| | If this property is published, which DIS record type should it use. More...
|
| |
| virtual void | setDisRecordType (unsigned recType) |
| |
|
| virtual bool | isDebugEnabled () const |
| | Enables debug output. More...
|
| |
| virtual void | setDebugEnabled (bool en) |
| |
| virtual | ~DtPropertyInterface () |
| |
| int | getSize () const |
| |
| virtual bool | isSimilarProperty (const DtPropertyInterface *rhs, bool strict=true) const |
| | Returns true if the readerWriterType is the same. More...
|
| |
| virtual bool | isPublishedArg (DtlObjPtr arg, unsigned &disVarRecType) const |
| | Tests whether the argument specified indicates this property should be published. More...
|
| |
| template<typename ValueType > |
| boost::optional< ValueType > | propertyValue () const |
| |
| template<typename ValueType > |
| bool | setPropertyValue (ValueType val) |
| | Sets the value of this property. More...
|
| |
| virtual const DtPropertyInterface * | findPropertyInterface (const DtString &propertyName) const |
| |
| virtual DtPropertyInterface * | findPropertyInterface (const DtString &propertyName) |
| |
| template<typename SpecificPropType > |
| const SpecificPropType * | findProperty (const DtString &propertyName) const |
| |
| template<typename SpecificPropType > |
| SpecificPropType * | findProperty (const DtString &propertyName) |
| |
| template<typename ValueType > |
| boost::optional< ValueType > | findPropertyValue (const DtString &propertyName) const |
| |
| template<typename ValueType > |
| bool | findAndSetPropertyValue (const DtString &propertyName, ValueType val) |
| | This is a convenience function that combines the functionality of findProperty and setPropertyValue to immediately set the value of the property with the given name, assuming it can be found within this property and its value can be converted from the specified type. More...
|
| |
| virtual bool | addProperty (DtPropertyInterface *property) |
| |
| template<typename SpecificPropType > |
| SpecificPropType * | addNewProperty (const DtString &propertyName) |
| | Adds a new property of the specified type and returns pointer to the new item. More...
|
| |
| virtual bool | removeProperty (const DtString &propertyName) |
| |
| virtual bool | removeProperty (const DtPropertyInterface *property) |
| |
template<typename _RwType>
class DtRwProperty< _RwType >
Templated class that allows for the definition of a property.
Only templates of this type can be added into the DtRwProperties class.