tdeioslave/imap4

#include <mimehdrline.h>

Public Member Functions

 mimeHdrLine (mimeHdrLine *)
 
 mimeHdrLine (const TQCString &, const TQCString &)
 
int setStr (const char *)
 
int appendStr (const char *)
 
const TQCString & getValue ()
 
const TQCString & getLabel ()
 

Static Public Member Functions

static TQCString truncateLine (TQCString, unsigned int truncate=80)
 
static int parseSeparator (char, const char *)
 
static int parseQuoted (char, char, const char *)
 
static int skipWS (const char *)
 
static int parseHalfWord (const char *)
 
static int parseWord (const char *)
 
static int parseAlphaNum (const char *)
 

Protected Member Functions

int parseFullLine (const char *)
 
int parseHalfLine (const char *)
 

Protected Attributes

TQCString mimeValue
 
TQCString mimeLabel
 

Detailed Description

Author
Sven Carstens

Definition at line 29 of file mimehdrline.h.

Member Function Documentation

◆ getLabel()

const TQCString & mimeHdrLine::getLabel ( )

return the label

Definition at line 469 of file mimehdrline.cpp.

◆ getValue()

const TQCString & mimeHdrLine::getValue ( )

return the value

Definition at line 476 of file mimehdrline.cpp.

◆ parseAlphaNum()

int mimeHdrLine::parseAlphaNum ( const char *  inCStr)
static

slurp one alphanumerical word without continuation

Definition at line 225 of file mimehdrline.cpp.

◆ parseFullLine()

int mimeHdrLine::parseFullLine ( const char *  inCStr)
protected

parses a continuated line

parses continuated lines

Definition at line 358 of file mimehdrline.cpp.

◆ parseHalfLine()

int mimeHdrLine::parseHalfLine ( const char *  inCStr)
protected

slurp one line without continuation

Definition at line 284 of file mimehdrline.cpp.

◆ parseHalfWord()

int mimeHdrLine::parseHalfWord ( const char *  inCStr)
static

slurp one word respecting backticks

Definition at line 253 of file mimehdrline.cpp.

◆ parseQuoted()

int mimeHdrLine::parseQuoted ( char  startQuote,
char  endQuote,
const char *  inCStr 
)
static

slurp one word

Definition at line 184 of file mimehdrline.cpp.

◆ parseSeparator()

int mimeHdrLine::parseSeparator ( char  separator,
const char *  inCStr 
)
static

parses continuated lines

Definition at line 408 of file mimehdrline.cpp.

◆ parseWord()

int mimeHdrLine::parseWord ( const char *  inCStr)
static

slurp one word

Definition at line 163 of file mimehdrline.cpp.

◆ setStr()

int mimeHdrLine::setStr ( const char *  inCStr)

parse a Line into the class and report characters slurped

parse a Line into the class move input ptr accordingly and report characters slurped

Definition at line 94 of file mimehdrline.cpp.

◆ skipWS()

int mimeHdrLine::skipWS ( const char *  inCStr)
static

skip all white space characters

skip all white space characters including continuation

Definition at line 318 of file mimehdrline.cpp.

Member Data Documentation

◆ mimeLabel

TQCString mimeHdrLine::mimeLabel
protected

contains the Label of the line

Definition at line 60 of file mimehdrline.h.

◆ mimeValue

TQCString mimeHdrLine::mimeValue
protected

contains the Value

Definition at line 57 of file mimehdrline.h.


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