Class that provides functionality of Collection container for objects derived from SerializationIface interface and implements SerializationIface itself.
More...
Constructor with a defined number of elements
- Parameters
-
Clears a collection: removes an array, sets the size and capacity to 0
Interfaces for the implementation of deserialization
- Parameters
-
[in] | archive | Storage for a deserialized object or data structure |
Implements SerializationIface.
Erase an element from a position
- Parameters
-
SerializationIfacePtr& get |
( |
size_t |
index | ) |
|
Element access
- Parameters
-
[in] | index | Index of an accessed element |
- Returns
- Reference to the element
const SerializationIfacePtr& get |
( |
size_t |
index | ) |
const |
Const element access
- Parameters
-
[in] | index | Index of an accessed element |
- Returns
- Reference to the element
Adds an element to the end of a collection
- Parameters
-
const SerializationIfacePtr& operator[] |
( |
size_t |
index | ) |
const |
Const element access
- Parameters
-
[in] | index | Index of an accessed element |
- Returns
- Pointer to the element
SerializationIfacePtr& operator[] |
( |
size_t |
index | ) |
|
Element access
- Parameters
-
[in] | index | Index of an accessed element |
- Returns
- Pointer to the element
Adds an element to the end of a collection
- Parameters
-
bool resize |
( |
size_t |
newCapacity | ) |
|
Changes the size of a storage
- Parameters
-
[in] | newCapacity | Size of a new storage. |
Interfaces for the implementation of serialization
- Parameters
-
[in] | archive | Storage for a serialized object or data structure |
Implements SerializationIface.
Size of a collection
- Returns
- Size of the collection
The documentation for this class was generated from the following file: