56 virtual bool setFromNet(
const char* contentBuffer,
unsigned contentSize);
106 virtual bool setFromNet(
const char* contentBuffer,
unsigned contentSize)
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 bool setToNet()
Encodes content into buffer.
virtual int netRepSize() const
const DtAdminContentMessageType DtTargetPriorityListResponseAdminType("target-priority-list-response")
static DtAdminContent * create()
Creator function. Returns new instance of this class.
Definition: genericSetRwResponseAdmin.h:160
const DtTemplatedSetRwResponseAdmin & operator=(const DtTemplatedSetRwResponseAdmin< T > &orig)
assignment operator; same as copy costructor.
Definition: genericSetRwResponseAdmin.h:85
virtual int netRepSize() const
Definition: genericSetRwResponseAdmin.h:97
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.
voidpf void uLong size
Definition: ioapi.h:39
virtual bool setToNet()
Encodes content into buffer.
Definition: genericSetRwResponseAdmin.h:115
T myVal
Definition: genericSetRwResponseAdmin.h:141
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Decodes content from buffer.
Definition: genericSetRwResponseAdmin.h:106
Definition: readerWriter.h:85
Definition: vrfObjectMessageTypeTemplate.h:24
virtual DtString stringRep() const
Get a readable string representation of this content.
Definition: genericSetRwResponseAdmin.h:123
DtSetMessageType mySetMessageType
Definition: genericSetRwResponseAdmin.h:68
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Decodes content from buffer.
virtual const DtAdminContentMessageType & type() const
Definition: genericSetRwResponseAdmin.h:157
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 DtAdminContent * clone() const
Make a copy of this content. Returns a pointer to a newly created copy of this class.
Definition: genericSetRwResponseAdmin.h:165
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...
DtAdminContent.
Definition: adminContent.h:23
virtual const DtAdminContentMessageType & type() const =0
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...
DtTargetPriorityListResponseAdmin()
default constructor
Definition: genericSetRwResponseAdmin.h:149
virtual int netRepSize() const
virtual DtString stringRep() const
Get a readable string representation of this content.