CFEL - ASG Software Suite  2.5.0
CASS
Public Types | Public Member Functions | Private Attributes | List of all members
cass::IdList Class Reference

id-list More...

#include <id_list.h>

+ Inheritance diagram for cass::IdList:
+ Collaboration diagram for cass::IdList:

Public Types

typedef std::list< std::string > names_t
 define the list of names More...
 

Public Member Functions

 IdList ()
 default constructor More...
 
 IdList (const Processor::names_t &list)
 constructor creating list from incomming list More...
 
 IdList (SerializerBackend &in)
 construct from serializer More...
 
void clear ()
 clear the list More...
 
void setList (const Processor::names_t &list)
 copy the list to us More...
 
const Processor::names_tgetList ()
 getter for the internal list More...
 
bool deserialize (SerializerBackend &in)
 deserialize the list from the serializer More...
 
void serialize (SerializerBackend &out) const
 serialize the list to the serializer More...
 
 IdList ()
 default constructor More...
 
 IdList (SerializerBackend &in)
 construct from serializer More...
 
void clear ()
 clear the list More...
 
const names_tgetList ()
 getter for the internal list More...
 
bool deserialize (SerializerBackend &in)
 deserialize the list from the serializer More...
 
void serialize (SerializerBackend &out) const
 serialize the list to the serializer More...
 
- Public Member Functions inherited from cass::Serializable
 Serializable (uint16_t version)
 constructor initializing the version More...
 
virtual ~Serializable ()
 virtual destructor to avoid warning with gcc 4.1.2 More...
 
uint16_t ver () const
 retrieve the version of the serializer More...
 
virtual void writeVersion (SerializerBackend &out) const
 write the version to the stream More...
 
virtual void checkVersion (SerializerBackend &in) const
 check the version More...
 

Private Attributes

Processor::names_t _list
 a list of all processor keys More...
 
size_t _size
 the size of the processor keys list More...
 
names_t _list
 a list of all processor keys More...
 

Additional Inherited Members

- Protected Attributes inherited from cass::Serializable
uint16_t _version
 the version for de/serializing More...
 

Detailed Description

id-list

used for SOAP communication of id-lists

Author
Stephan Kassemeyer
Lutz Foucar

Definition at line 25 of file cass/processing/id_list.h.

Member Typedef Documentation

typedef std::list<std::string> cass::IdList::names_t

define the list of names

Definition at line 30 of file lucassview/id_list.h.

Constructor & Destructor Documentation

cass::IdList::IdList ( )
inline

default constructor

Definition at line 30 of file cass/processing/id_list.h.

IdList::IdList ( const Processor::names_t list)

constructor creating list from incomming list

Definition at line 17 of file cass/processing/id_list.cpp.

References _size, cass::Log::add(), cass::toString(), and cass::Log::VERBOSEINFO.

cass::IdList::IdList ( SerializerBackend in)
inline

construct from serializer

Definition at line 38 of file cass/processing/id_list.h.

References deserialize().

cass::IdList::IdList ( )
inline

default constructor

Definition at line 33 of file lucassview/id_list.h.

cass::IdList::IdList ( SerializerBackend in)
inline

construct from serializer

Definition at line 38 of file lucassview/id_list.h.

References deserialize().

Member Function Documentation

void IdList::clear ( )

clear the list

Definition at line 56 of file cass/processing/id_list.cpp.

References _list, and _size.

Referenced by setList().

void cass::IdList::clear ( )

clear the list

bool cass::IdList::deserialize ( SerializerBackend in)
virtual

deserialize the list from the serializer

Implements cass::Serializable.

bool IdList::deserialize ( SerializerBackend in)
virtual
const names_t& cass::IdList::getList ( )
inline

getter for the internal list

Definition at line 48 of file lucassview/id_list.h.

References _list.

const Processor::names_t& cass::IdList::getList ( )
inline

getter for the internal list

Definition at line 51 of file cass/processing/id_list.h.

References _list.

Referenced by req_overviewPage::createResponseBuffer(), and lucassview::TCPClient::operator()().

void cass::IdList::serialize ( SerializerBackend out) const
virtual

serialize the list to the serializer

Implements cass::Serializable.

void IdList::serialize ( SerializerBackend out) const
virtual
void IdList::setList ( const Processor::names_t list)

copy the list to us

Definition at line 62 of file cass/processing/id_list.cpp.

References _list, _size, and clear().

Member Data Documentation

names_t cass::IdList::_list
private

a list of all processor keys

Definition at line 58 of file lucassview/id_list.h.

Processor::names_t cass::IdList::_list
private

a list of all processor keys

Definition at line 61 of file cass/processing/id_list.h.

Referenced by clear(), deserialize(), getList(), serialize(), and setList().

size_t cass::IdList::_size
private

the size of the processor keys list

Definition at line 64 of file cass/processing/id_list.h.

Referenced by clear(), deserialize(), IdList(), serialize(), and setList().


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