CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
Indexed< T > Class Template Reference

#include <Indexed.h>

Inheritance diagram for Indexed< T >:

Public Member Functions

unsigned index () const
 
 Indexed ()
 
 Indexed (T t, unsigned i)
 
Indexed operator+ (const Indexed &rhs) const
 

Private Attributes

unsigned index_
 

Detailed Description

template<class T>
class Indexed< T >

Definition at line 5 of file Indexed.h.

Constructor & Destructor Documentation

◆ Indexed() [1/2]

template<class T >
Indexed< T >::Indexed ( )
inline

Definition at line 9 of file Indexed.h.

9 : T(), index_(0) {}

Referenced by Indexed< T >::operator+().

◆ Indexed() [2/2]

template<class T >
Indexed< T >::Indexed ( T  t,
unsigned  i 
)
inline

Definition at line 10 of file Indexed.h.

10 : T(t), index_(i) {}

Member Function Documentation

◆ index()

template<class T >
unsigned Indexed< T >::index ( ) const
inline

Definition at line 11 of file Indexed.h.

11 {return index_;}

References Indexed< T >::index_.

Referenced by BeautifulSoup.PageElement::insert().

◆ operator+()

template<class T >
Indexed Indexed< T >::operator+ ( const Indexed< T > &  rhs) const
inline

Definition at line 12 of file Indexed.h.

12 {return Indexed(this->T::operator+(rhs),0);}

References Indexed< T >::Indexed(), and Utilities::operator.

Member Data Documentation

◆ index_

template<class T >
unsigned Indexed< T >::index_
private

Definition at line 7 of file Indexed.h.

Referenced by Indexed< T >::index().

mps_fire.i
i
Definition: mps_fire.py:355
Indexed::index_
unsigned index_
Definition: Indexed.h:7
Indexed::Indexed
Indexed()
Definition: Indexed.h:9
Utilities.operator
operator
Definition: Utilities.py:24
OrderedSet.t
t
Definition: OrderedSet.py:90
T
long double T
Definition: Basic3DVectorLD.h:48