Public Types | Public Member Functions | Public Attributes

mln::util::index_< Tag > Struct Template Reference

Index structure. More...

#include <index.hh>

List of all members.

Public Types

enum  { dim = 1 }
typedef Object< void > category
typedef int coord
typedef dindex_< Tag > dpsite

Public Member Functions

 index_ ()
 index_ (int i)
 operator int () const
index_< Tag > operator++ (int)
index_< Tag > & operator++ ()
index_< Tag > & operator-- ()
index_< Tag > operator-- (int)
bool operator< (int i) const
bool operator< (const index_ &rhs) const

Public Attributes

int i_

Detailed Description

template<typename Tag = void>
struct mln::util::index_< Tag >

Index structure.


Member Typedef Documentation

template<typename Tag = void>
typedef Object<void> mln::util::index_< Tag >::category
template<typename Tag = void>
typedef int mln::util::index_< Tag >::coord
template<typename Tag = void>
typedef dindex_<Tag> mln::util::index_< Tag >::dpsite

Member Enumeration Documentation

template<typename Tag = void>
anonymous enum
Enumerator:
dim 

Constructor & Destructor Documentation

template<typename Tag = void>
mln::util::index_< Tag >::index_ (  )  [inline]
template<typename Tag = void>
mln::util::index_< Tag >::index_ ( int  i  )  [inline]

Member Function Documentation

template<typename Tag = void>
mln::util::index_< Tag >::operator int (  )  const [inline]
template<typename Tag = void>
index_<Tag> mln::util::index_< Tag >::operator++ ( int   )  [inline]
template<typename Tag = void>
index_<Tag>& mln::util::index_< Tag >::operator++ (  )  [inline]
template<typename Tag = void>
index_<Tag>& mln::util::index_< Tag >::operator-- (  )  [inline]
template<typename Tag = void>
index_<Tag> mln::util::index_< Tag >::operator-- ( int   )  [inline]
template<typename Tag = void>
bool mln::util::index_< Tag >::operator< ( int  i  )  const [inline]
template<typename Tag = void>
bool mln::util::index_< Tag >::operator< ( const index_< Tag > &  rhs  )  const [inline]

Member Data Documentation

template<typename Tag = void>
int mln::util::index_< Tag >::i_