contentTypeField Class Reference

Inheritance diagram for contentTypeField:
Inheritance graph
[legend]
Collaboration diagram for contentTypeField:
Collaboration graph
[legend]

List of all members.

Public Member Functions

const string getBoundary () const
void setBoundary (const string &boundary)
const charset getCharset () const
void setCharset (const charset &ch)
const string getReportType () const
void setReportType (const string &reportType)

Protected Member Functions

 contentTypeField ()
 contentTypeField (contentTypeField &)

Constructor & Destructor Documentation

contentTypeField (  )  [protected]
contentTypeField ( contentTypeField  )  [protected]

Member Function Documentation

const string getBoundary (  )  const

Return the value of the "boundary" parameter.

Boundary is a random string used to separate body parts.

Returns:
value of the "boundary" parameter
Exceptions:
exceptions::no_such_parameter if the parameter does not exist

References parameterizedHeaderField::findParameter().

const charset getCharset (  )  const

Return the value of the "charset" parameter.

It specifies the charset used in the body part contents.

Returns:
value of the "charset" parameter
Exceptions:
exceptions::no_such_parameter if the parameter does not exist

References parameterizedHeaderField::findParameter().

const string getReportType (  )  const

Return the value of the "report-type" parameter (RFC-1892).

Returns:
value of the "report-type" parameter
Exceptions:
exceptions::no_such_parameter if the parameter does not exist

References parameterizedHeaderField::findParameter().

void setBoundary ( const string boundary  ) 

Set the value of the "boundary" parameter.

Boundary is a random string used to separate body parts. Normally, the boundary is generated automatically by VMime, you should not need to call this.

Parameters:
boundary new value for the "boundary" parameter

References parameterizedHeaderField::getParameter(), and vmime::charsets::US_ASCII.

void setCharset ( const charset ch  ) 

Set the value of the "charset" parameter.

It specifies the charset used in the body part contents.

Parameters:
ch new value for the "charset" parameter

References parameterizedHeaderField::getParameter().

void setReportType ( const string reportType  ) 

Set the value of the "report-type" parameter (RFC-1892).

Parameters:
reportType new value for the "report-type" parameter

References parameterizedHeaderField::getParameter(), and vmime::charsets::US_ASCII.


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

Generated by  doxygen 1.6.2