CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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

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

Definition at line 9 of file Indexed.h.

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

9 : T(), index_(0) {}
long double T
unsigned index_
Definition: Indexed.h:7
template<class T >
Indexed< T >::Indexed ( T  t,
unsigned  i 
)
inline

Definition at line 10 of file Indexed.h.

10 : T(t), index_(i) {}
int i
Definition: DBlmapReader.cc:9
long double T
unsigned index_
Definition: Indexed.h:7

Member Function Documentation

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

Definition at line 11 of file Indexed.h.

References Indexed< T >::index_.

Referenced by BeautifulSoup.PageElement::_invert().

11 {return index_;}
unsigned index_
Definition: Indexed.h:7
template<class T >
Indexed Indexed< T >::operator+ ( const Indexed< T > &  rhs) const
inline

Definition at line 12 of file Indexed.h.

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

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

Member Data Documentation

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

Definition at line 7 of file Indexed.h.

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