eVision Python API
Loading...
Searching...
No Matches
eVision.EVector Class Reference

Base class for all typed vectors. More...

Inheritance diagram for eVision.EVector:

Public Member Functions

None Empty (self)
 Resets the number of elements to 0.
None RemoveElement (self, int index)
 Removes the element at the specified position.
None Save (self, str path)
 Saves the eVision.EVector object with all its attributes.
None Save (self, eVision.ESerializer|None serializer)
 Saves the eVision.EVector object with all its attributes.
None Save (self, str path, int un32Version)
 Saves the eVision.EVector object with all its attributes.
None Save (self, eVision.ESerializer|None serializer, int un32Version)
 Saves the eVision.EVector object with all its attributes.
None Load (self, str path)
 Loads the eVision.EVector object with all its attributes.
None Load (self, eVision.ESerializer|None serializer)
 Loads the eVision.EVector object with all its attributes.
None Load (self, str path, int un32Version)
 Loads the eVision.EVector object with all its attributes.
None Load (self, eVision.ESerializer|None serializer, int un32Version)
 Loads the eVision.EVector object with all its attributes.
int NumElements (self)
 Number of elements in the vector.
 NumElements (self, int value)
 Number of elements in the vector.

Detailed Description

Base class for all typed vectors.

Remarks:

This class contains all methods that are not type specific. Mainly methods to handle elements count and serialization

License(s): BasicTypes

Member Function Documentation

◆ Empty()

None eVision.EVector.Empty ( self)

Resets the number of elements to 0.

◆ Load() [1/4]

None eVision.EVector.Load ( self,
eVision.ESerializer | None serializer )

Loads the eVision.EVector object with all its attributes.

Parameters
serializerSerializer. Must be in read mode.

◆ Load() [2/4]

None eVision.EVector.Load ( self,
eVision.ESerializer | None serializer,
int un32Version )

Loads the eVision.EVector object with all its attributes.

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

◆ Load() [3/4]

None eVision.EVector.Load ( self,
str path )

Loads the eVision.EVector object with all its attributes.

Parameters
pathThe file path.

◆ Load() [4/4]

None eVision.EVector.Load ( self,
str path,
int un32Version )

Loads the eVision.EVector object with all its attributes.

Parameters
pathThe file path.
un32VersionThe file version number.

◆ NumElements() [1/2]

int eVision.EVector.NumElements ( self)

Number of elements in the vector.

◆ NumElements() [2/2]

eVision.EVector.NumElements ( self,
int value )

Number of elements in the vector.

◆ RemoveElement()

None eVision.EVector.RemoveElement ( self,
int index )

Removes the element at the specified position.

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

◆ Save() [1/4]

None eVision.EVector.Save ( self,
eVision.ESerializer | None serializer )

Saves the eVision.EVector object with all its attributes.

Parameters
serializerSerializer. Must be in write mode.

◆ Save() [2/4]

None eVision.EVector.Save ( self,
eVision.ESerializer | None serializer,
int un32Version )

Saves the eVision.EVector object with all its attributes.

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

◆ Save() [3/4]

None eVision.EVector.Save ( self,
str path )

Saves the eVision.EVector object with all its attributes.

Parameters
pathThe file path.

◆ Save() [4/4]

None eVision.EVector.Save ( self,
str path,
int un32Version )

Saves the eVision.EVector object with all its attributes.

Parameters
pathThe file path.
un32VersionThe file version number.