16 #include <boost/uuid/uuid.hpp>
20 #include <vlutil/vlUuid.h>
54 virtual void setMarkingText(
const DtString&);
55 virtual DtString markingText()
const;
60 operator const DtUUID& ()
const {
return myUUID; };
72 virtual const char*
xmlType()
const override
80 virtual void clearUUID();
82 virtual bool isValid()
const;
83 virtual void generateUUID();
84 virtual void setUUID(
const DtVrlUuid& u);
85 virtual void setUUID(
const DtRwUUID& u);
86 virtual void setUUID(
const DtString& uuid);
87 virtual void setStringUUID(
const DtString& uuid);
88 bool isVrfUUID()
const;
90 const char* data()
const;
92 unsigned int dataSize()
const;
93 void setBuffer(
const char*);
95 virtual DtlObjPtr
getData(DtlObjPtr args,
const SearchPaths& searchPaths,
105 virtual void putSelf(std::string& fp,
int indentLevel = 0,
106 bool writeUnspecified =
false,
const DtFilename& path =
107 DtFilename::nullFilename())
override;
110 virtual void putData(std::string& fp,
int)
override;
112 virtual DtVrlUuid vrlUuid()
const;
118 virtual void noRwValueSpecified();
142 const char* fromChars,
146 const char* fromChars,
bool operator==(const DtReaderWriter &) const
Equivalence operator.
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...
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
virtual const char * xmlType() const override
Definition: rwUUID.h:72
virtual const char * xmlType() const override
Definition: rwUUID.h:177
DT_DLL_readerWriter DtBoost::shared_ptr< DtEnvironment > DtEnvironmentSP
Definition: readerWriter.h:30
Contains the DtUUID class declaration.
virtual DtlObjPtr getData(DtlObjPtr args, const SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings)
Deriving class overrides these to get/put class specific data.
Definition: readerWriter.h:85
bool operator<(const DtRwUUID &rhs) const
Definition: rwUUID.h:69
Definition: readerWriterRegistry.h:39
virtual DtString prettyPrint() const
Routine to return a human readable form of the reader/writer variable. Not all reader/writer classes ...
uuid class
Definition: rwUUID.h:26
virtual void uuidChanged()=0
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
Optional owner of this UUID. Since the UUID can change when remapped, supply an owner to be notified ...
Definition: uuid.h:22
static const char * theXmlType()
The type that is used when archiving to an XML stream.
DtRwUUID & operator=(const DtRwUUID &orig)
bool operator>(const DtRwUUID &rhs) const
Definition: rwUUID.h:70
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...
Simple wrapper class that will be used by Lua to indicate to create a scripted vrf object from the su...
Definition: rwUUID.h:130
virtual void putSelf(std::string &fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtFilename::nullFilename())
Top level call to write itself to file. If write unspecified is true, will write entries that are uns...
bool operator!=(const DtRwUUID &orig) const
Definition: rwUUID.h:66
const DtUUID & uuid() const
Definition: rwUUID.h:77
DtUUID myUUID
Definition: rwUUID.h:125
virtual void putData(std::string &fp, int indentLevel=0)
Deriving class overrides these to get/put class specific data.
#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
DtUUID & uuid()
Definition: rwUUID.h:78
const DtReaderWriter & operator=(const DtReaderWriter &orig)
assignment operator
static const char * theXmlType()
The type that is used when archiving to an XML stream.
virtual const char * readerWriterType() const override
Used to supply a string type that this reader writer type is. This can be used in place of dynamic-ca...