40 virtual bool init()
override;
56 virtual bool setFromNet(
const char* contentBuffer,
unsigned contentSize)
override;
106 virtual bool setFromNet(
const char* contentBuffer,
unsigned contentSize)
override
127 str +=
myVal.prettyPrint();
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets the contents of this set request based on the network buffer. Base class does nothing and return...
DT_DLL_readerWriter int getSize(const DtString &val)
The number of bytes required to encode the value.
void setVal(const T &val)
Definition: genericSetRwResponseAdmin.h:131
const T & val() const
Definition: genericSetRwResponseAdmin.h:135
virtual int netRepSize() const
virtual int netRepSize() const override
Definition: genericSetRwResponseAdmin.h:97
const DtAdminContentMessageType DtTargetPriorityListResponseAdminType("target-priority-list-response")
static DtAdminContent * create()
Creator function. Returns new instance of this class.
Definition: genericSetRwResponseAdmin.h:160
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize) override
Decodes content from buffer.
const DtTemplatedSetRwResponseAdmin & operator=(const DtTemplatedSetRwResponseAdmin< T > &orig)
assignment operator; same as copy costructor.
Definition: genericSetRwResponseAdmin.h:85
DtTemplatedSetRwResponseAdmin(const DtTemplatedSetRwResponseAdmin< T > &orig)
copy constructor
Definition: genericSetRwResponseAdmin.h:79
DtTargetPriorityListResponseAdmin(const DtTargetPriorityListResponseAdmin &orig)
copy constructor
Definition: genericSetRwResponseAdmin.h:152
virtual DtAdminContent * clone() const =0
Make a copy of this content. Returns a pointer to a newly created copy of this class. Derived classes must override this function to create and return an instance of the derived type.
virtual bool setToNet() override
Encodes content into buffer.
Definition: genericSetRwResponseAdmin.h:115
virtual int netRepSize() const override
voidpf void uLong size
Definition: ioapi.h:39
T myVal
Definition: genericSetRwResponseAdmin.h:141
Definition: readerWriter.h:85
Definition: vrfObjectMessageTypeTemplate.h:24
DtSetMessageType mySetMessageType
Definition: genericSetRwResponseAdmin.h:68
const DtAdminContent & operator=(const DtAdminContent &orig)
assignment operator; same as copy costructor.
const DtGenericSetRwResponseAdmin & operator=(const DtGenericSetRwResponseAdmin &orig)
assignment operator; same as copy costructor.
virtual DtString stringRep() const override
Get a readable string representation of this content.
Definition: genericSetRwResponseAdmin.h:123
Definition: genericSetRwResponseAdmin.h:72
Admin content for a message that requests the available system lists for an entity The expected respo...
Definition: genericSetRwResponseAdmin.h:20
DT_DLL_readerWriter char * encode(const DtFilename &val, char *buffer)
Serializes the provided value val into buffer. buffer must have at least the number of bytes returned...
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
DtTemplatedSetRwResponseAdmin()
default constructor
Definition: genericSetRwResponseAdmin.h:76
virtual bool init()
Base class init does nothing, but this will be called by create, in case any other deriving class nee...
virtual bool setToNet() override
Encodes content into buffer.
DtAdminContent.
Definition: adminContent.h:23
virtual const DtAdminContentMessageType & type() const =0
virtual const DtAdminContentMessageType & type() const override
Definition: genericSetRwResponseAdmin.h:157
virtual bool setToNet()
Sets netRep buffer to the contents of this set request. Base class does nothing and returns true...
DT_DLL_readerWriter const char * decode(DtString &val, const char *buffer)
Decodes a value from buffer and places the result in val of the type specified by val...
Definition: genericSetRwResponseAdmin.h:145
virtual DtString stringRep() const =0
Get a readable string representation of this content. Derived classes must implement this function...
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize) override
Decodes content from buffer.
Definition: genericSetRwResponseAdmin.h:106
DtTargetPriorityListResponseAdmin()
default constructor
Definition: genericSetRwResponseAdmin.h:149
virtual DtAdminContent * clone() const override
Make a copy of this content. Returns a pointer to a newly created copy of this class.
Definition: genericSetRwResponseAdmin.h:165
virtual DtString stringRep() const override
Get a readable string representation of this content.