KMime::Headers::Generics::SingleIdent Class Reference

Base class for headers which deal with a single msg-id. More...

#include <kmime_headers.h>

Inheritance diagram for KMime::Headers::Generics::SingleIdent:

List of all members.

Public Member Functions

QByteArray identifier () const
void setIdentifier (const QByteArray &id)

Protected Member Functions

bool parse (const char *&scursor, const char *const send, bool isCRLF=false)

Detailed Description

Base class for headers which deal with a single msg-id.

See also:
RFC 2822, section 3.6.4

Definition at line 585 of file kmime_headers.h.


Member Function Documentation

QByteArray KMime::Headers::Generics::SingleIdent::identifier (  )  const

Returns the identifier contained in this header.

Note: The identifiers is not enclosed in angle-brackets.

Definition at line 1069 of file kmime_headers.cpp.

bool KMime::Headers::Generics::SingleIdent::parse ( const char *&  scursor,
const char *const   send,
bool  isCRLF = false 
) [protected, virtual]

This method parses the raw header and needs to be implemented in every sub-class.

Parameters:
scursor Pointer to the start of the data still to parse.
send Pointer to the end of the data.
isCRLF true if input string is terminated with a CRLF.

Reimplemented from KMime::Headers::Generics::Ident.

Reimplemented in KMime::Headers::ContentID.

Definition at line 1084 of file kmime_headers.cpp.

void KMime::Headers::Generics::SingleIdent::setIdentifier ( const QByteArray &  id  ) 

Sets the identifier.

Parameters:
id The new identifier with or without angle-brackets.

Definition at line 1077 of file kmime_headers.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys