MeVisLab Toolbox Reference
ml::TVectorNDBase< CompIntType, NumDim > Class Template Reference

Declaration of integer vector type traits: More...

#include <mlIntegerVector.h>

Public Types

enum  { NumberOfDimensions = NumDim }
 Enumerator defining the dimension of this class. More...
 
typedef CompIntType ComponentType
 Integer type used by this vector.
 

Public Attributes

ComponentType array [NumberOfDimensions]
 Provides access to all members as an array; the caller must guarantee that indexes are within [0,...,NumDim-1].
 

Protected Member Functions

 TVectorNDBase ()
 Do not allow a direct creation of this class as object, because this container does not initialize itself, it must be done only by derived classes for performance reasons.
 

Detailed Description

template<typename CompIntType, VectorDimIdxType NumDim>
class ml::TVectorNDBase< CompIntType, NumDim >

Declaration of integer vector type traits:

TVectorNDBase is the data container class for the TVector template providing ND functionality for integer vectors.

Parameters
CompIntTypeis the integer type used as component member type; only signed integer types are tested/recommended.
NumDimis the Dimension of the vector, must be > 0.

Definition at line 39 of file mlIntegerVector.h.

Member Typedef Documentation

◆ ComponentType

Integer type used by this vector.

Definition at line 44 of file mlIntegerVector.h.

Member Enumeration Documentation

◆ anonymous enum

Enumerator defining the dimension of this class.

Enumerator
NumberOfDimensions 

Definition at line 47 of file mlIntegerVector.h.

Constructor & Destructor Documentation

◆ TVectorNDBase()

ml::TVectorNDBase< CompIntType, NumDim >::TVectorNDBase ( )
inlineprotected

Do not allow a direct creation of this class as object, because this container does not initialize itself, it must be done only by derived classes for performance reasons.

Definition at line 58 of file mlIntegerVector.h.

Member Data Documentation

◆ array

Provides access to all members as an array; the caller must guarantee that indexes are within [0,...,NumDim-1].

Definition at line 51 of file mlIntegerVector.h.

Referenced by ml::AbstractPersistenceOutputStream::write().


The documentation for this class was generated from the following files: