Base class for all typed vectors. More...
#include <eVision/Easy/EVector.h>
Public Member Functions | |
| virtual | ~EVector () throw () |
| uint32_t | GetNumElements () const |
| Number of elements in the vector. | |
| void | SetNumElements (uint32_t un32NumElements) |
| Number of elements in the vector. | |
| void | Empty () |
| Resets the number of elements to 0. | |
| virtual void | RemoveElement (uint32_t index) |
| Removes the element at the specified position. | |
| void | Save (const std::string &path) |
| Saves the EVector object with all its attributes. | |
| void | Save (eVision::ESerializer *serializer) |
| Saves the EVector object with all its attributes. | |
| void | Save (const std::string &path, uint32_t un32Version) |
| Saves the EVector object with all its attributes. | |
| void | Save (eVision::ESerializer *serializer, uint32_t un32Version) |
| Saves the EVector object with all its attributes. | |
| void | Load (const std::string &path) |
| Loads the EVector object with all its attributes. | |
| void | Load (eVision::ESerializer *serializer) |
| Loads the EVector object with all its attributes. | |
| void | Load (const std::string &path, uint32_t un32Version) |
| Loads the EVector object with all its attributes. | |
| void | Load (eVision::ESerializer *serializer, uint32_t un32Version) |
| Loads the EVector object with all its attributes. | |
| EVector (CppWrapperInternal::InternalConstructor) | |
Public Attributes | |
| CppWrapperInternal::WrappedClass | wrappedClass_ |
Base class for all typed vectors.
This class contains all methods that are not type specific. Mainly methods to handle elements count and serialization
License(s): BasicTypes
|
virtual | ||||||||||||
| eVision::EVector::EVector | ( | CppWrapperInternal::InternalConstructor | ) |
| void eVision::EVector::Empty | ( | ) |
Resets the number of elements to 0.
| uint32_t eVision::EVector::GetNumElements | ( | ) | const |
Number of elements in the vector.
| void eVision::EVector::Load | ( | const std::string & | path | ) |
Loads the EVector object with all its attributes.
| path | The file path. |
| void eVision::EVector::Load | ( | const std::string & | path, |
| uint32_t | un32Version ) |
Loads the EVector object with all its attributes.
| path | The file path. |
| un32Version | The file version number. |
| void eVision::EVector::Load | ( | eVision::ESerializer * | serializer | ) |
Loads the EVector object with all its attributes.
| serializer | Serializer. Must be in read mode. |
| void eVision::EVector::Load | ( | eVision::ESerializer * | serializer, |
| uint32_t | un32Version ) |
Loads the EVector object with all its attributes.
| serializer | Serializer. Must be in read mode. |
| un32Version | The file version number. |
|
virtual |
Removes the element at the specified position.
| index | Index, between 0 and EVector::GetNumElements (excluded) of the element to be accessed. |
| void eVision::EVector::Save | ( | const std::string & | path | ) |
Saves the EVector object with all its attributes.
| path | The file path. |
| void eVision::EVector::Save | ( | const std::string & | path, |
| uint32_t | un32Version ) |
Saves the EVector object with all its attributes.
| path | The file path. |
| un32Version | The file version number. |
| void eVision::EVector::Save | ( | eVision::ESerializer * | serializer | ) |
Saves the EVector object with all its attributes.
| serializer | Serializer. Must be in write mode. |
| void eVision::EVector::Save | ( | eVision::ESerializer * | serializer, |
| uint32_t | un32Version ) |
Saves the EVector object with all its attributes.
| serializer | Serializer. Must be in write mode. |
| un32Version | The file version number. |
| void eVision::EVector::SetNumElements | ( | uint32_t | un32NumElements | ) |
Number of elements in the vector.
| CppWrapperInternal::WrappedClass eVision::EVector::wrappedClass_ |