eVision C++ API 26.10.0-beta.2.dev
Loading...
Searching...
No Matches
eVision::EVector Class Reference

Base class for all typed vectors. More...

#include <eVision/Easy/EVector.h>

Inheritance diagram for eVision::EVector:
Collaboration diagram for eVision::EVector:

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_

Detailed Description

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

Constructor & Destructor Documentation

◆ ~EVector()

eVision::EVector::~EVector ( )
throw ( )
virtual

◆ EVector()

eVision::EVector::EVector ( CppWrapperInternal::InternalConstructor )

Member Function Documentation

◆ Empty()

void eVision::EVector::Empty ( )

Resets the number of elements to 0.

◆ GetNumElements()

uint32_t eVision::EVector::GetNumElements ( ) const

Number of elements in the vector.

◆ Load() [1/4]

void eVision::EVector::Load ( const std::string & path)

Loads the EVector object with all its attributes.

Parameters
pathThe file path.

◆ Load() [2/4]

void eVision::EVector::Load ( const std::string & path,
uint32_t un32Version )

Loads the EVector object with all its attributes.

Parameters
pathThe file path.
un32VersionThe file version number.

◆ Load() [3/4]

void eVision::EVector::Load ( eVision::ESerializer * serializer)

Loads the EVector object with all its attributes.

Parameters
serializerSerializer. Must be in read mode.

◆ Load() [4/4]

void eVision::EVector::Load ( eVision::ESerializer * serializer,
uint32_t un32Version )

Loads the EVector object with all its attributes.

Parameters
serializerSerializer. Must be in read mode.
un32VersionThe file version number.

◆ RemoveElement()

void eVision::EVector::RemoveElement ( uint32_t index)
virtual

Removes the element at the specified position.

Parameters
indexIndex, between 0 and EVector::GetNumElements (excluded) of the element to be accessed.

◆ Save() [1/4]

void eVision::EVector::Save ( const std::string & path)

Saves the EVector object with all its attributes.

Parameters
pathThe file path.

◆ Save() [2/4]

void eVision::EVector::Save ( const std::string & path,
uint32_t un32Version )

Saves the EVector object with all its attributes.

Parameters
pathThe file path.
un32VersionThe file version number.

◆ Save() [3/4]

void eVision::EVector::Save ( eVision::ESerializer * serializer)

Saves the EVector object with all its attributes.

Parameters
serializerSerializer. Must be in write mode.

◆ Save() [4/4]

void eVision::EVector::Save ( eVision::ESerializer * serializer,
uint32_t un32Version )

Saves the EVector object with all its attributes.

Parameters
serializerSerializer. Must be in write mode.
un32VersionThe file version number.

◆ SetNumElements()

void eVision::EVector::SetNumElements ( uint32_t un32NumElements)

Number of elements in the vector.

Member Data Documentation

◆ wrappedClass_

CppWrapperInternal::WrappedClass eVision::EVector::wrappedClass_