#include <SerializerBase.h>
inet::serializer::SerializerRegistrationList::SerializerRegistrationList |
( |
const char * |
name | ) |
|
|
inline |
123 : cNamedObject(name,
false) {}
inet::serializer::SerializerRegistrationList::~SerializerRegistrationList |
( |
| ) |
|
|
virtual |
163 throw cRuntimeError(
"SerializerRegistrationList not empty, should call the SerializerRegistrationList::clear() function");
StringToSerializerMap stringToSerializerMap
Definition: SerializerBase.h:120
void inet::serializer::SerializerRegistrationList::add |
( |
const char * |
name, |
|
|
int |
protocolGroup, |
|
|
int |
protocolId, |
|
|
SerializerBase * |
obj |
|
) |
| |
|
virtual |
Adds an object to the container.
177 Key key(protocolGroup, protocolId);
183 throw cRuntimeError(
"missing 'name' of registered serializer");
Definition: SerializerBase.h:36
std::pair< int, int > Key
Definition: SerializerBase.h:116
StringToSerializerMap stringToSerializerMap
Definition: SerializerBase.h:120
KeyToSerializerMap keyToSerializerMap
Definition: SerializerBase.h:119
void inet::serializer::SerializerRegistrationList::clear |
( |
| ) |
|
|
virtual |
169 dropAndDelete(elem.second);
171 stringToSerializerMap.clear();
StringToSerializerMap stringToSerializerMap
Definition: SerializerBase.h:120
KeyToSerializerMap keyToSerializerMap
Definition: SerializerBase.h:119
SerializerBase * inet::serializer::SerializerRegistrationList::lookup |
( |
int |
protocolGroup, |
|
|
int |
protocolId |
|
) |
| const |
|
virtual |
SerializerBase * inet::serializer::SerializerRegistrationList::lookup |
( |
const char * |
name | ) |
const |
|
virtual |
Returns the object with exactly the given name.
Returns NULL if not found.
StringToSerializerMap stringToSerializerMap
Definition: SerializerBase.h:120
The documentation for this class was generated from the following files: