LSIndex< Dim > Class Template Reference

#include <LSIndex.h>

Inheritance diagram for LSIndex< Dim >:

Inheritance graph
[legend]
Collaboration diagram for LSIndex< Dim >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef vector< SOffset< Dim > > container_t
typedef container_t::iterator iterator
typedef container_t::const_iterator const_iterator
typedef container_t::size_type size_type

Public Member Functions

 LSIndex (Vnode< Dim > *vn)
 LSIndex (const LSIndex< Dim > &lsi)
 ~LSIndex ()
LSIndexoperator= (const LSIndex &lsi)
bool IsCompressed () const
void Compress (bool docompress)
bool contains (const SOffset< Dim > &indx)
void addIndex (const SOffset< Dim > &indx)
SOffset< Dim > & getIndex (unsigned int n)
SOffset< Dim > getIndex (unsigned int n) const
void removeIndex (const SOffset< Dim > &indx)
void clear ()
void reserve (size_type n)
iterator begin ()
iterator end ()
const_iterator begin () const
const_iterator end () const
size_type capacity () const
size_type size () const
iterator find (const SOffset< Dim > &indx)
bool hasIndex (const SOffset< Dim > &indx) const
const NDIndex< Dim > & getDomain () const
int getNode () const

Detailed Description

template<unsigned int Dim>
class LSIndex< Dim >

Definition at line 39 of file LSIndex.h.


Member Typedef Documentation

template<unsigned int Dim>
typedef container_t::const_iterator LSIndex< Dim >::const_iterator
 

Definition at line 45 of file LSIndex.h.

template<unsigned int Dim>
typedef vector< SOffset<Dim> > LSIndex< Dim >::container_t
 

Definition at line 43 of file LSIndex.h.

template<unsigned int Dim>
typedef container_t::iterator LSIndex< Dim >::iterator
 

Definition at line 44 of file LSIndex.h.

template<unsigned int Dim>
typedef container_t::size_type LSIndex< Dim >::size_type
 

Definition at line 46 of file LSIndex.h.


Constructor & Destructor Documentation

template<unsigned int Dim>
LSIndex< Dim >::LSIndex Vnode< Dim > *  vn  )  [inline]
 

Definition at line 53 of file LSIndex.h.

References Vnode< Dim >::getDomain().

Here is the call graph for this function:

template<unsigned int Dim>
LSIndex< Dim >::LSIndex const LSIndex< Dim > &  lsi  )  [inline]
 

Definition at line 64 of file LSIndex.h.

template<unsigned int Dim>
LSIndex< Dim >::~LSIndex  )  [inline]
 

Definition at line 69 of file LSIndex.h.


Member Function Documentation

template<unsigned int Dim>
void LSIndex< Dim >::addIndex const SOffset< Dim > &  indx  )  [inline]
 

Definition at line 96 of file LSIndex.h.

template<unsigned int Dim>
const_iterator LSIndex< Dim >::begin  )  const [inline]
 

Definition at line 169 of file LSIndex.h.

template<unsigned int Dim>
iterator LSIndex< Dim >::begin  )  [inline]
 

Definition at line 167 of file LSIndex.h.

template<unsigned int Dim>
size_type LSIndex< Dim >::capacity  )  const [inline]
 

Definition at line 173 of file LSIndex.h.

template<unsigned int Dim>
void LSIndex< Dim >::clear  )  [inline]
 

Definition at line 157 of file LSIndex.h.

Referenced by LSIndex< Dim >::Compress().

template<unsigned int Dim>
void LSIndex< Dim >::Compress bool  docompress  )  [inline]
 

Definition at line 84 of file LSIndex.h.

References LSIndex< Dim >::clear().

Here is the call graph for this function:

template<unsigned int Dim>
bool LSIndex< Dim >::contains const SOffset< Dim > &  indx  )  [inline]
 

Definition at line 90 of file LSIndex.h.

References SOffset< Dim >::inside().

Here is the call graph for this function:

template<unsigned int Dim>
const_iterator LSIndex< Dim >::end  )  const [inline]
 

Definition at line 170 of file LSIndex.h.

template<unsigned int Dim>
iterator LSIndex< Dim >::end  )  [inline]
 

Definition at line 168 of file LSIndex.h.

template<unsigned int Dim>
iterator LSIndex< Dim >::find const SOffset< Dim > &  indx  )  [inline]
 

Definition at line 180 of file LSIndex.h.

References a.

template<unsigned int Dim>
const NDIndex<Dim>& LSIndex< Dim >::getDomain void   )  const [inline]
 

Definition at line 200 of file LSIndex.h.

template<unsigned int Dim>
SOffset<Dim> LSIndex< Dim >::getIndex unsigned int  n  )  const [inline]
 

Definition at line 124 of file LSIndex.h.

template<unsigned int Dim>
SOffset<Dim>& LSIndex< Dim >::getIndex unsigned int  n  )  [inline]
 

Definition at line 102 of file LSIndex.h.

template<unsigned int Dim>
int LSIndex< Dim >::getNode  )  const [inline]
 

Definition at line 203 of file LSIndex.h.

template<unsigned int Dim>
bool LSIndex< Dim >::hasIndex const SOffset< Dim > &  indx  )  const [inline]
 

Definition at line 188 of file LSIndex.h.

References a.

template<unsigned int Dim>
bool LSIndex< Dim >::IsCompressed  )  const [inline]
 

Definition at line 81 of file LSIndex.h.

template<unsigned int Dim>
LSIndex& LSIndex< Dim >::operator= const LSIndex< Dim > &  lsi  )  [inline]
 

Definition at line 72 of file LSIndex.h.

References LSIndex< Dim >::compressed, LSIndex< Dim >::IndexList, LSIndex< Dim >::Strides, and LSIndex< Dim >::VN.

template<unsigned int Dim>
void LSIndex< Dim >::removeIndex const SOffset< Dim > &  indx  )  [inline]
 

Definition at line 148 of file LSIndex.h.

template<unsigned int Dim>
void LSIndex< Dim >::reserve size_type  n  )  [inline]
 

Definition at line 160 of file LSIndex.h.

template<unsigned int Dim>
size_type LSIndex< Dim >::size void   )  const [inline]
 

Definition at line 174 of file LSIndex.h.


The documentation for this class was generated from the following file:
Generated on Mon Jan 16 14:42:52 2006 for IPPL by  doxygen 1.4.6