Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TOpt Class Reference

#include <Opt.h>

Inheritance diagram for TOpt:

TOptAddr TOptAddrLst TOptClientIdentifier TOptElapsed TOptGeneric TOptIA_NA TOptIAAddress TOptInteger4 TOptOptionRequest TOptPreference TOptRapidCommit TOptServerIdentifier TOptStatusCode TOptString TOptStringLst TOptUserClass TOptVendorClass TOptVendorSpecInfo List of all members.

Public Member Functions

 TOpt (int optType, TMsg *parent)
virtual ~TOpt ()
virtual int getSize ()=0
virtual char * storeSelf (char *buf)=0
virtual bool doDuties ()=0
virtual bool isValid ()
int getOptType ()
int getSubOptSize ()
char * storeSubOpt (char *buf)
SmartPtr< TOptgetOption (int optType)
void firstOption ()
SmartPtr< TOptgetOption ()
void addOption (SmartPtr< TOpt > opt)
int countOption ()
void setParent (TMsg *Parent)
SmartPtr< TDUIDgetDUID ()
void setDUID (SmartPtr< TDUID > duid)

Protected Attributes

TContainer< SmartPtr< TOpt > > SubOptions
int OptType
TMsgParent
SmartPtr< TDUIDDUID

Constructor & Destructor Documentation

TOpt::TOpt int  optType,
TMsg parent
 

TOpt::~TOpt  )  [virtual]
 


Member Function Documentation

void TOpt::addOption SmartPtr< TOpt opt  ) 
 

int TOpt::countOption  ) 
 

virtual bool TOpt::doDuties  )  [pure virtual]
 

Implemented in TClntOptClientIdentifier, TClntOptDNSServers, TClntOptDomainName, TClntOptElapsed, TClntOptFQDN, TClntOptIA_NA, TClntOptIAAddress, TClntOptLifetime, TClntOptNISDomain, TClntOptNISPDomain, TClntOptNISPServers, TClntOptNISServers, TClntOptNTPServers, TClntOptOptionRequest, TClntOptPreference, TClntOptRapidCommit, TClntOptServerIdentifier, TClntOptServerUnicast, TClntOptSIPDomain, TClntOptSIPServers, TClntOptTimeZone, TClntOptUserClass, TClntOptVendorClass, TOptStatusCode, TRelOptGeneric, TRelOptInterfaceID, TRelOptRelayMsg, TSrvOptClientIdentifier, TSrvOptDNSServers, TSrvOptDomainName, TSrvOptElapsed, TSrvOptFQDN, TSrvOptIA_NA, TSrvOptIAAddress, TSrvOptInterfaceID, TSrvOptLifetime, TSrvOptNISDomain, TSrvOptNISPDomain, TSrvOptNISPServers, TSrvOptNISServers, TSrvOptNTPServers, TSrvOptOptionRequest, TSrvOptPreference, TSrvOptRapidCommit, TSrvOptServerIdentifier, TSrvOptServerUnicast, TSrvOptSIPDomain, TSrvOptSIPServers, TSrvOptStatusCode, TSrvOptTimeZone, TSrvOptUserClass, TSrvOptVendorClass, and TSrvOptVendorSpecInfo.

void TOpt::firstOption  ) 
 

SmartPtr< TDUID > TOpt::getDUID  ) 
 

Reimplemented in TOptClientIdentifier, and TOptServerIdentifier.

SmartPtr< TOpt > TOpt::getOption  ) 
 

SmartPtr< TOpt > TOpt::getOption int  optType  ) 
 

int TOpt::getOptType  ) 
 

virtual int TOpt::getSize  )  [pure virtual]
 

Implemented in TOptAddr, TOptAddrLst, TOptClientIdentifier, TOptElapsed, TOptGeneric, TOptIA_NA, TOptIAAddress, TOptInteger4, TOptOptionRequest, TOptPreference, TOptRapidCommit, TOptServerIdentifier, TOptStatusCode, TOptString, TOptStringLst, TOptUserClass, TOptVendorClass, and TOptVendorSpecInfo.

int TOpt::getSubOptSize  ) 
 

bool TOpt::isValid  )  [virtual]
 

Reimplemented in TClntOptIA_NA, TClntOptIAAddress, TClntOptTimeZone, TOptAddrLst, TOptClientIdentifier, TOptGeneric, TOptIA_NA, TOptIAAddress, TOptInteger4, TOptOptionRequest, TOptServerIdentifier, TOptUserClass, TOptVendorClass, and TOptVendorSpecInfo.

void TOpt::setDUID SmartPtr< TDUID duid  ) 
 

void TOpt::setParent TMsg Parent  ) 
 

virtual char* TOpt::storeSelf char *  buf  )  [pure virtual]
 

Implemented in TOptAddr, TOptAddrLst, TOptClientIdentifier, TOptElapsed, TOptGeneric, TOptIA_NA, TOptIAAddress, TOptInteger4, TOptOptionRequest, TOptPreference, TOptRapidCommit, TOptServerIdentifier, TOptStatusCode, TOptString, TOptStringLst, TOptUserClass, TOptVendorClass, and TOptVendorSpecInfo.

char * TOpt::storeSubOpt char *  buf  ) 
 


Member Data Documentation

SmartPtr<TDUID> TOpt::DUID [protected]
 

Reimplemented in TOptServerIdentifier.

int TOpt::OptType [protected]
 

TMsg* TOpt::Parent [protected]
 

TContainer< SmartPtr<TOpt> > TOpt::SubOptions [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Mar 16 00:10:33 2005 for Dibbler - a portable DHCPv6 by  doxygen 1.3.9.1