CFEL - ASG Software Suite
2.5.0
CASS
|
id-list More...
#include <id_list.h>
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_t & | getList () |
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_t & | getList () |
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... | |
![]() | |
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 | |
![]() | |
uint16_t | _version |
the version for de/serializing More... | |
id-list
used for SOAP communication of id-lists
Definition at line 25 of file cass/processing/id_list.h.
typedef std::list<std::string> cass::IdList::names_t |
define the list of names
Definition at line 30 of file lucassview/id_list.h.
|
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.
|
inline |
construct from serializer
Definition at line 38 of file cass/processing/id_list.h.
References deserialize().
|
inline |
default constructor
Definition at line 33 of file lucassview/id_list.h.
|
inline |
construct from serializer
Definition at line 38 of file lucassview/id_list.h.
References deserialize().
void IdList::clear | ( | ) |
void cass::IdList::clear | ( | ) |
clear the list
|
virtual |
deserialize the list from the serializer
Implements cass::Serializable.
|
virtual |
deserialize the list from the serializer
Implements cass::Serializable.
Definition at line 36 of file cass/processing/id_list.cpp.
References _list, _size, cass::Log::add(), cass::Serializable::checkVersion(), cass::SerializerBackend::endChecksumGroupForRead(), cass::SerializerBackend::retrieve(), cass::SerializerBackend::startChecksumGroupForRead(), cass::toString(), and cass::Log::VERBOSEINFO.
Referenced by IdList().
|
inline |
|
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()().
|
virtual |
serialize the list to the serializer
Implements cass::Serializable.
|
virtual |
serialize the list to the serializer
Implements cass::Serializable.
Definition at line 26 of file cass/processing/id_list.cpp.
References _list, _size, cass::SerializerBackend::add(), cass::SerializerBackend::endChecksumGroupForWrite(), cass::SerializerBackend::startChecksumGroupForWrite(), and cass::Serializable::writeVersion().
void IdList::setList | ( | const Processor::names_t & | list | ) |
copy the list to us
Definition at line 62 of file cass/processing/id_list.cpp.
|
private |
a list of all processor keys
Definition at line 58 of file lucassview/id_list.h.
|
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().
|
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().