#include <sdes.h>
Public Types | |
enum | SDES_ITEM_TYPE { SDES_UNDEF = 0, SDES_CNAME = 1, SDES_NAME = 2, SDES_EMAIL = 3, SDES_PHONE = 4, SDES_LOC = 5, SDES_TOOL = 6, SDES_NOTE = 7, SDES_PRIV = 8 } |
Public Member Functions | |
SDESItem (const char *name=NULL) | |
SDESItem (SDES_ITEM_TYPE type, const char *content) | |
SDESItem (const SDESItem &sdesItem) | |
virtual | ~SDESItem () |
SDESItem & | operator= (const SDESItem &sdesItem) |
virtual cObject * | dup () const |
virtual const char * | className () const |
virtual void | info (char *buf) |
virtual void | writeContents (ostream &os) |
virtual SDES_ITEM_TYPE | type () |
virtual const char * | content () |
virtual int | length () |
Protected Attributes | |
SDES_ITEM_TYPE | _type |
int | _length |
const char * | _content |
|
This enumeration holds the types of source description items as defined in the rfc. In this implementation only SDES_UNDEF and SDES_CNAME are usable. |
|
Default constructor. |
|
Constructor which sets the entry. |
|
Copy constructor. |
|
Destructor. |
|
Returns the class name "SDESItem". |
|
Returns the stored sdes string. |
|
Duplicates theis SDESItem by calling the copy constructor. |
|
Writes a short info about this SDESItem into the given string. |
|
This method returns the size of this SDESItem in bytes as it would be in the real world. |
|
Assignment operator. |
|
Returns the type of this sdes item. |
|
Writes an info about this SDESItem into the give output stream. |
|
The sdes string. |
|
The length of this SDESItem. |
|
The type of this SDESItem. |