Public Member Functions | Protected Member Functions | List of all members
gnsstk::ConstVectorBase< T, BaseClass > Class Template Reference

Detailed Description

template<class T, class BaseClass>
class gnsstk::ConstVectorBase< T, BaseClass >

A base class for a vector that does not allow modification of the internal vector. BaseClass is the base class that implements the vector.

Definition at line 105 of file VectorBase.hpp.

#include <VectorBase.hpp>

Inheritance diagram for gnsstk::ConstVectorBase< T, BaseClass >:
Inheritance graph
[legend]

Public Member Functions

 ConstVectorBase ()
 Constructor. More...
 
operator() (size_t i) const
 returns the element at index i More...
 
operator[] (size_t i) const
 returns the element at index i More...
 
size_t size () const
 Returns the size of the base class. More...
 

Protected Member Functions

constVectorRef (size_t i) const
 

Constructor & Destructor Documentation

◆ ConstVectorBase()

template<class T , class BaseClass >
gnsstk::ConstVectorBase< T, BaseClass >::ConstVectorBase ( )
inlineexplicit

Constructor.

Definition at line 109 of file VectorBase.hpp.

Member Function Documentation

◆ constVectorRef()

template<class T , class BaseClass >
T gnsstk::ConstVectorBase< T, BaseClass >::constVectorRef ( size_t  i) const
inlineprotected

returns the element at index i by calling the base class's operator[]

Exceptions
VectorException

Definition at line 125 of file VectorBase.hpp.

◆ operator()()

template<class T , class BaseClass >
T gnsstk::ConstVectorBase< T, BaseClass >::operator() ( size_t  i) const
inline

returns the element at index i

Definition at line 118 of file VectorBase.hpp.

◆ operator[]()

template<class T , class BaseClass >
T gnsstk::ConstVectorBase< T, BaseClass >::operator[] ( size_t  i) const
inline

returns the element at index i

Definition at line 115 of file VectorBase.hpp.

◆ size()

template<class T , class BaseClass >
size_t gnsstk::ConstVectorBase< T, BaseClass >::size ( ) const
inline

Returns the size of the base class.

Definition at line 112 of file VectorBase.hpp.


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


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:44