cmlabs::PostSpec Class Reference

#include <Specs.h>

Inheritance diagram for cmlabs::PostSpec:

Inheritance graph
[legend]
Collaboration diagram for cmlabs::PostSpec:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 PostSpec ()
 PostSpec (const JString &xml, JString globalTo="")
 PostSpec (XMLNode *node, JString globalTo="")
 ~PostSpec ()
Objectclone () const
bool fromXML (const JString &xml)
bool fromXML (XMLNode *node)
JString toXML ()
JString print ()
JString toHTML ()
virtual unsigned long getPayloadSize () const
 Get total size of payload.
long getBinarySize (int chunk)
 Get the size of binary data chunk, -1 for all chunks.
int getBinaryChunkCount ()
 Get the number of data chunks.
long toBinaryBuffer (int chunk, char *buffer, int maxlen)
 Write binary data to buffer at chunk number 'chunk'.
bool fromBinaryBuffer (int chunk, char *buffer, long len)
 Set the data after separate reception.

Public Attributes

JString alias
JString from
JString to
JString cc
JString phasechange
DotString type
JString content
JString language
double priority
bool useInReplyTo
bool noreply
Objectobject


Detailed Description

Definition at line 122 of file Specs.h.


Constructor & Destructor Documentation

cmlabs::PostSpec::PostSpec (  ) 

Definition at line 495 of file Specs.cpp.

cmlabs::PostSpec::PostSpec ( const JString xml,
JString  globalTo = "" 
)

Definition at line 502 of file Specs.cpp.

cmlabs::PostSpec::PostSpec ( XMLNode node,
JString  globalTo = "" 
)

Definition at line 512 of file Specs.cpp.

cmlabs::PostSpec::~PostSpec (  ) 

Definition at line 522 of file Specs.cpp.


Member Function Documentation

Object * cmlabs::PostSpec::clone (  )  const [virtual]

Implements cmlabs::Object.

Definition at line 528 of file Specs.cpp.

bool cmlabs::PostSpec::fromXML ( const JString xml  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 545 of file Specs.cpp.

bool cmlabs::PostSpec::fromXML ( XMLNode node  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 557 of file Specs.cpp.

JString cmlabs::PostSpec::toXML (  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 599 of file Specs.cpp.

JString cmlabs::PostSpec::print (  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 634 of file Specs.cpp.

JString cmlabs::PostSpec::toHTML (  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 630 of file Specs.cpp.

unsigned long cmlabs::PostSpec::getPayloadSize (  )  const [virtual]

Get total size of payload.

Reimplemented from cmlabs::Object.

Definition at line 537 of file Specs.cpp.

long cmlabs::PostSpec::getBinarySize ( int  chunk  )  [virtual]

Get the size of binary data chunk, -1 for all chunks.

Get the size of any binary data.

Reimplemented from cmlabs::Object.

Definition at line 650 of file Specs.cpp.

int cmlabs::PostSpec::getBinaryChunkCount (  )  [virtual]

Get the number of data chunks.

Reimplemented from cmlabs::Object.

Definition at line 657 of file Specs.cpp.

long cmlabs::PostSpec::toBinaryBuffer ( int  chunk,
char *  buffer,
int  maxlen 
) [virtual]

Write binary data to buffer at chunk number 'chunk'.

Get a pointer to the binary data at chunk number 'chunk'.

Reimplemented from cmlabs::Object.

Definition at line 664 of file Specs.cpp.

bool cmlabs::PostSpec::fromBinaryBuffer ( int  chunk,
char *  buffer,
long  len 
) [virtual]

Set the data after separate reception.

Reimplemented from cmlabs::Object.

Definition at line 671 of file Specs.cpp.


Member Data Documentation

Definition at line 150 of file Specs.h.

Definition at line 151 of file Specs.h.

Definition at line 152 of file Specs.h.

Definition at line 153 of file Specs.h.

Definition at line 154 of file Specs.h.

Definition at line 155 of file Specs.h.

Definition at line 156 of file Specs.h.

Definition at line 157 of file Specs.h.

Definition at line 158 of file Specs.h.

Definition at line 159 of file Specs.h.

Definition at line 160 of file Specs.h.

Definition at line 161 of file Specs.h.


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

Generated on Tue Jul 7 16:23:50 2009 for CoreLibrary by  doxygen 1.5.6