CFEL - ASG Software Suite
2.5.0
CASS
|
id-list More...
#include <id_list.h>
Public Member Functions | |
IdList () | |
default constructor More... | |
IdList (const QStringList &list) | |
constuctor from an existing QStringList More... | |
IdList (cass::SerializerBackend &in) | |
construct from serializer More... | |
const QStringList & | getList () const |
getter for the internal list More... | |
void | serialize (cass::SerializerBackend &out) const |
implmented but doesn't do anything More... | |
bool | deserialize (cass::SerializerBackend &in) |
deserialize the list from 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 | |
QStringList | _list |
a list of all processor keys More... | |
size_t | _size |
the size of the processor keys list More... | |
Additional Inherited Members | |
![]() | |
uint16_t | _version |
the version for de/serializing More... | |
id-list
used for SOAP communication of id-lists (copy of the IdList of cass, but without the qt components).
Definition at line 27 of file jocassview/id_list.h.
IdList::IdList | ( | ) |
default constructor
Definition at line 22 of file jocassview/id_list.cpp.
IdList::IdList | ( | const QStringList & | list | ) |
constuctor from an existing QStringList
list | the list of this object |
Definition at line 29 of file jocassview/id_list.cpp.
IdList::IdList | ( | cass::SerializerBackend & | in | ) |
construct from serializer
in | the serializer |
Definition at line 37 of file jocassview/id_list.cpp.
References deserialize().
|
virtual |
deserialize the list from the serializer
in | the deserializer |
Implements cass::Serializable.
Definition at line 58 of file jocassview/id_list.cpp.
References _list, _size, cass::Serializable::_version, cass::SerializerBackend::endChecksumGroupForRead(), QString::fromStdString(), QMessageBox::information(), cass::SerializerBackend::retrieve(), cass::SerializerBackend::startChecksumGroupForRead(), QObject::tr(), and cass::Serializable::ver().
Referenced by IdList().
const QStringList & IdList::getList | ( | ) | const |
getter for the internal list
Definition at line 43 of file jocassview/id_list.cpp.
References _list.
Referenced by jocassview::TCPClient::resultNames().
|
virtual |
implmented but doesn't do anything
out | unused parameter |
Implements cass::Serializable.
Definition at line 48 of file jocassview/id_list.cpp.
References _list, _size, cass::SerializerBackend::add(), cass::SerializerBackend::endChecksumGroupForWrite(), cass::SerializerBackend::startChecksumGroupForWrite(), and cass::Serializable::writeVersion().
Referenced by jocassview::TCPClient::results().
|
private |
a list of all processor keys
Definition at line 67 of file jocassview/id_list.h.
Referenced by deserialize(), getList(), and serialize().
|
private |
the size of the processor keys list
Definition at line 70 of file jocassview/id_list.h.
Referenced by deserialize(), and serialize().