cmlabs::ActionSpec Class Reference

#include <Specs.h>

Inheritance diagram for cmlabs::ActionSpec:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ActionSpec ()
 ActionSpec (JString name, JString act, JString value, JString target="", Object *obj=NULL, JString content="")
 ActionSpec (const JString &xml)
 ActionSpec (XMLNode *node)
 ~ActionSpec ()
virtual unsigned long getPayloadSize () const
 Get total size of payload.
Objectclone () const
bool fromXML (const JString &xml)
bool fromXML (XMLNode *node)
JString toXML ()
JString toHTML ()
bool setParameter (JString name, JString value)
JString getParameter (JString name)
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 name
int delay
JString state
JString target
JString act
JString value
JString content
Objectobject
Objectanswer
Dictionary params


Detailed Description

Definition at line 511 of file Specs.h.


Constructor & Destructor Documentation

cmlabs::ActionSpec::ActionSpec (  ) 

Definition at line 3329 of file Specs.cpp.

cmlabs::ActionSpec::ActionSpec ( JString  name,
JString  act,
JString  value,
JString  target = "",
Object obj = NULL,
JString  content = "" 
)

Definition at line 3335 of file Specs.cpp.

cmlabs::ActionSpec::ActionSpec ( const JString xml  ) 

Definition at line 3346 of file Specs.cpp.

cmlabs::ActionSpec::ActionSpec ( XMLNode node  ) 

Definition at line 3353 of file Specs.cpp.

cmlabs::ActionSpec::~ActionSpec (  ) 

Definition at line 3360 of file Specs.cpp.


Member Function Documentation

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

Get total size of payload.

Reimplemented from cmlabs::Object.

Definition at line 3368 of file Specs.cpp.

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

Implements cmlabs::Object.

Definition at line 3380 of file Specs.cpp.

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

Reimplemented from cmlabs::Object.

Definition at line 3405 of file Specs.cpp.

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

Reimplemented from cmlabs::Object.

Definition at line 3417 of file Specs.cpp.

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

Reimplemented from cmlabs::Object.

Definition at line 3456 of file Specs.cpp.

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

Reimplemented from cmlabs::Object.

Definition at line 3488 of file Specs.cpp.

bool cmlabs::ActionSpec::setParameter ( JString  name,
JString  value 
)

Definition at line 3397 of file Specs.cpp.

JString cmlabs::ActionSpec::getParameter ( JString  name  ) 

Definition at line 3401 of file Specs.cpp.

long cmlabs::ActionSpec::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 3499 of file Specs.cpp.

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

Get the number of data chunks.

Reimplemented from cmlabs::Object.

Definition at line 3516 of file Specs.cpp.

long cmlabs::ActionSpec::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 3526 of file Specs.cpp.

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

Set the data after separate reception.

Reimplemented from cmlabs::Object.

Definition at line 3543 of file Specs.cpp.


Member Data Documentation

Definition at line 542 of file Specs.h.

Definition at line 543 of file Specs.h.

Definition at line 544 of file Specs.h.

Definition at line 545 of file Specs.h.

Definition at line 546 of file Specs.h.

Definition at line 547 of file Specs.h.

Definition at line 548 of file Specs.h.

Definition at line 549 of file Specs.h.

Definition at line 550 of file Specs.h.

Definition at line 551 of file Specs.h.


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

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