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

#include <Vector.hpp>

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

Public Types

typedef T ValueType
 
typedef const T & Reference
 
typedef const T & ConstReference
 
typedef std::size_t SizeType
 
typedef std::ptrdiff_t DifferenceType
 
typedef VectorReference< SelfTypeClosureType
 
typedef const VectorReference< const SelfTypeConstClosureType
 
typedef Vector< T > VectorTemporaryType
 
- Public Types inherited from CDPL::Math::VectorContainer< ZeroVector< T > >
typedef ZeroVector< T > ContainerType
 
- Public Types inherited from CDPL::Math::VectorExpression< ZeroVector< T > >
typedef ZeroVector< T > ExpressionType
 
- Public Types inherited from CDPL::Math::Expression< ZeroVector< T > >
typedef ZeroVector< T > ExpressionType
 

Public Member Functions

 ZeroVector ()
 
 ZeroVector (SizeType n)
 
 ZeroVector (const ZeroVector &v)
 
ConstReference operator[] (SizeType i) const
 
ConstReference operator() (SizeType i) const
 
bool isEmpty () const
 
SizeType getSize () const
 
SizeType getMaxSize () const
 
ZeroVectoroperator= (const ZeroVector &v)
 
void resize (SizeType n)
 
void swap (ZeroVector &v)
 
- Public Member Functions inherited from CDPL::Math::VectorContainer< ZeroVector< T > >
const ContainerTypeoperator() () const
 
ContainerTypeoperator() ()
 
- Public Member Functions inherited from CDPL::Math::VectorExpression< ZeroVector< T > >
const ExpressionTypeoperator() () const
 
ExpressionTypeoperator() ()
 

Friends

void swap (ZeroVector &v1, ZeroVector &v2)
 

Additional Inherited Members

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

Member Typedef Documentation

◆ ValueType

template<typename T >
typedef T CDPL::Math::ZeroVector< T >::ValueType

◆ Reference

template<typename T >
typedef const T& CDPL::Math::ZeroVector< T >::Reference

◆ ConstReference

template<typename T >
typedef const T& CDPL::Math::ZeroVector< T >::ConstReference

◆ SizeType

template<typename T >
typedef std::size_t CDPL::Math::ZeroVector< T >::SizeType

◆ DifferenceType

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

◆ ClosureType

template<typename T >
typedef VectorReference<SelfType> CDPL::Math::ZeroVector< T >::ClosureType

◆ ConstClosureType

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

◆ VectorTemporaryType

template<typename T >
typedef Vector<T> CDPL::Math::ZeroVector< T >::VectorTemporaryType

Constructor & Destructor Documentation

◆ ZeroVector() [1/3]

template<typename T >
CDPL::Math::ZeroVector< T >::ZeroVector ( )
inline

◆ ZeroVector() [2/3]

template<typename T >
CDPL::Math::ZeroVector< T >::ZeroVector ( SizeType  n)
inlineexplicit

◆ ZeroVector() [3/3]

template<typename T >
CDPL::Math::ZeroVector< T >::ZeroVector ( const ZeroVector< T > &  v)
inline

Member Function Documentation

◆ operator[]()

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

◆ operator()()

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

◆ isEmpty()

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

◆ getSize()

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

◆ getMaxSize()

template<typename T >
SizeType CDPL::Math::ZeroVector< T >::getMaxSize ( ) const
inline

◆ operator=()

template<typename T >
ZeroVector& CDPL::Math::ZeroVector< T >::operator= ( const ZeroVector< T > &  v)
inline

◆ resize()

template<typename T >
void CDPL::Math::ZeroVector< T >::resize ( SizeType  n)
inline

◆ swap()

template<typename T >
void CDPL::Math::ZeroVector< T >::swap ( ZeroVector< T > &  v)
inline

Friends And Related Function Documentation

◆ swap

template<typename T >
void swap ( ZeroVector< T > &  v1,
ZeroVector< T > &  v2 
)
friend

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