Chemical Data Processing Library C++ API - Version 1.1.1
Public Types | Public Member Functions | List of all members
CDPL::Math::InitListVector< T > Class Template Reference

#include <Vector.hpp>

+ Inheritance diagram for CDPL::Math::InitListVector< T >:

Public Types

typedef InitListVector SelfType
 
typedef std::initializer_list< T > InitializerListType
 
typedef InitializerListType::value_type ValueType
 
typedef InitializerListType::const_reference ConstReference
 
typedef InitializerListType::reference Reference
 
typedef InitializerListType::size_type SizeType
 
typedef std::ptrdiff_t DifferenceType
 
typedef SelfType ClosureType
 
typedef const SelfType ConstClosureType
 
typedef Vector< T, std::vector< T > > VectorTemporaryType
 
- Public Types inherited from CDPL::Math::VectorContainer< InitListVector< T > >
typedef InitListVector< T > ContainerType
 
- Public Types inherited from CDPL::Math::VectorExpression< InitListVector< T > >
typedef InitListVector< T > ExpressionType
 
- Public Types inherited from CDPL::Math::Expression< InitListVector< T > >
typedef InitListVector< T > ExpressionType
 

Public Member Functions

 InitListVector (InitializerListType l)
 
Reference operator[] (SizeType i)
 
ConstReference operator[] (SizeType i) const
 
Reference operator() (SizeType i)
 
ConstReference operator() (SizeType i) const
 
SizeType getSize () const
 
bool isEmpty () const
 
- Public Member Functions inherited from CDPL::Math::VectorContainer< InitListVector< T > >
const ContainerTypeoperator() () const
 
ContainerTypeoperator() ()
 
- Public Member Functions inherited from CDPL::Math::VectorExpression< InitListVector< T > >
const ExpressionTypeoperator() () const
 
ExpressionTypeoperator() ()
 

Additional Inherited Members

- Protected Member Functions inherited from CDPL::Math::VectorContainer< InitListVector< T > >
 VectorContainer ()
 
 ~VectorContainer ()
 
- Protected Member Functions inherited from CDPL::Math::VectorExpression< InitListVector< T > >
 VectorExpression ()
 
 ~VectorExpression ()
 
- Protected Member Functions inherited from CDPL::Math::Expression< InitListVector< T > >
 Expression ()
 
 ~Expression ()
 

Member Typedef Documentation

◆ SelfType

template<typename T >
typedef InitListVector CDPL::Math::InitListVector< T >::SelfType

◆ InitializerListType

template<typename T >
typedef std::initializer_list<T> CDPL::Math::InitListVector< T >::InitializerListType

◆ ValueType

template<typename T >
typedef InitializerListType::value_type CDPL::Math::InitListVector< T >::ValueType

◆ ConstReference

template<typename T >
typedef InitializerListType::const_reference CDPL::Math::InitListVector< T >::ConstReference

◆ Reference

template<typename T >
typedef InitializerListType::reference CDPL::Math::InitListVector< T >::Reference

◆ SizeType

template<typename T >
typedef InitializerListType::size_type CDPL::Math::InitListVector< T >::SizeType

◆ DifferenceType

template<typename T >
typedef std::ptrdiff_t CDPL::Math::InitListVector< T >::DifferenceType

◆ ClosureType

template<typename T >
typedef SelfType CDPL::Math::InitListVector< T >::ClosureType

◆ ConstClosureType

template<typename T >
typedef const SelfType CDPL::Math::InitListVector< T >::ConstClosureType

◆ VectorTemporaryType

template<typename T >
typedef Vector<T, std::vector<T> > CDPL::Math::InitListVector< T >::VectorTemporaryType

Constructor & Destructor Documentation

◆ InitListVector()

template<typename T >
CDPL::Math::InitListVector< T >::InitListVector ( InitializerListType  l)
inline

Member Function Documentation

◆ operator[]() [1/2]

template<typename T >
Reference CDPL::Math::InitListVector< T >::operator[] ( SizeType  i)
inline

◆ operator[]() [2/2]

template<typename T >
ConstReference CDPL::Math::InitListVector< T >::operator[] ( SizeType  i) const
inline

◆ operator()() [1/2]

template<typename T >
Reference CDPL::Math::InitListVector< T >::operator() ( SizeType  i)
inline

◆ operator()() [2/2]

template<typename T >
ConstReference CDPL::Math::InitListVector< T >::operator() ( SizeType  i) const
inline

◆ getSize()

template<typename T >
SizeType CDPL::Math::InitListVector< T >::getSize ( ) const
inline

◆ isEmpty()

template<typename T >
bool CDPL::Math::InitListVector< T >::isEmpty ( ) const
inline

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