Yate
Public Member Functions
MimeAuthLine Class Reference

MIME authentication line. More...

#include <yatemime.h>

Inheritance diagram for MimeAuthLine:
MimeHeaderLine NamedString String GenObject

List of all members.

Public Member Functions

 MimeAuthLine (const char *name, const String &value)
 MimeAuthLine (const MimeAuthLine &original, const char *newName=0)
virtual void * getObject (const String &name) const
virtual MimeHeaderLineclone (const char *newName=0) const
virtual void buildLine (String &line) const

Detailed Description

MIME authentication line.

A MIME header line containing authentication data.


Constructor & Destructor Documentation

MimeAuthLine ( const char *  name,
const String value 
)

Constructor. Builds a MIME authentication header line from a string buffer. Splits the value into header parameters

Parameters:
nameThe header name
valueThe header value
MimeAuthLine ( const MimeAuthLine original,
const char *  newName = 0 
)

Constructor. Builds this MIME authentication header line from another one

Parameters:
originalOriginal header line to build from.
newNameOptional new header name. If 0, the original name will be used

Member Function Documentation

virtual void buildLine ( String line) const [virtual]

Build a string line from this MIME header without adding a line separator

Parameters:
lineDestination string

Reimplemented from MimeHeaderLine.

virtual MimeHeaderLine* clone ( const char *  newName = 0) const [virtual]

Duplicate this MIME header line.

Parameters:
newNameOptional new header name. If 0, this header's name will be used
Returns:
Copy of this MIME header line

Reimplemented from MimeHeaderLine.

virtual void* getObject ( const String name) const [virtual]

RTTI method, get a pointer to a derived class given the class name.

Parameters:
nameName of the class we are asking for
Returns:
Pointer to the requested class or NULL if this object doesn't implement it

Reimplemented from MimeHeaderLine.


The documentation for this class was generated from the following file: