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; };
73 virtual const char*
xmlType()
const override
81 virtual void clearUUID();
83 virtual bool isValid()
const;
84 virtual void generateUUID();
85 virtual void setUUID(
const DtVrlUuid& u);
86 virtual void setUUID(
const DtRwUUID& u);
87 virtual void setUUID(
const DtString& uuid);
88 virtual void setStringUUID(
const DtString& uuid);
89 bool isVrfUUID()
const;
91 const char* data()
const;
93 unsigned int dataSize()
const;
94 void setBuffer(
const char*);
96 virtual DtlObjPtr
getData(DtlObjPtr args,
const SearchPaths& searchPaths,
106 virtual void putSelf(std::string& fp,
int indentLevel = 0,
107 bool writeUnspecified =
false,
const DtFilename& path =
108 DtFilename::nullFilename())
override;
111 virtual void putData(std::string& fp,
int)
override;
113 virtual DtVrlUuid vrlUuid()
const;
119 virtual void noRwValueSpecified();
143 const char* fromChars,
147 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:73
virtual const char * xmlType() const override
Definition: rwUUID.h:178
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:70
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:71
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:131
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...
const DtUUID & uuid() const
Definition: rwUUID.h:78
DtUUID myUUID
Definition: rwUUID.h:126
virtual void putData(std::string &fp, int indentLevel=0)
Deriving class overrides these to get/put class specific data.
bool operator!=(const DtRwUUID &otherUuid) const
Definition: rwUUID.h:66
#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:79
const DtReaderWriter & operator=(const DtReaderWriter &orig)
assignment operator
static const char * theXmlType()
The type that is used when archiving to an XML stream.
DT_DLL_readerWriter std::shared_ptr< DtEnvironment > DtEnvironmentSP
Definition: readerWriter.h:30
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...