SelectedDim Class Reference

Provides a tool for selecting subgrids correspoding to given dimensions. More...

#include <MultiIndex.hpp>

Inheritance diagram for SelectedDim:

Inheritance graph
[legend]
Collaboration diagram for SelectedDim:

Collaboration graph
[legend]
List of all members.

Public Member Functions

int NSelected ()
 Returns the number of the selected dimentions.
void UnSelect ()
SelectedDimoperator= (SelectedDim &src)
 Standard assignment.
SelectedDimoperator= (bool v)
 Sets a constant value to all entries.
 SelectedDim ()
 SelectedDim (long dim)
 For a selection of length 'dim', all cmps are 'True'.
 SelectedDim (SelectedDim &sel)
 Duplicates the selection.

Detailed Description

Provides a tool for selecting subgrids correspoding to given dimensions.


Constructor & Destructor Documentation

SelectedDim::SelectedDim (  )  [inline]

SelectedDim::SelectedDim ( long  dim  )  [inline]

For a selection of length 'dim', all cmps are 'True'.

SelectedDim::SelectedDim ( SelectedDim sel  )  [inline]

Duplicates the selection.


Member Function Documentation

int SelectedDim::NSelected (  )  [inline]

Returns the number of the selected dimentions.

void SelectedDim::UnSelect (  )  [inline]

SelectedDim& SelectedDim::operator= ( SelectedDim src  )  [inline]

Standard assignment.

SelectedDim& SelectedDim::operator= ( bool  v  )  [inline]

Sets a constant value to all entries.


The documentation for this class was generated from the following file:
Generated on Fri Sep 21 12:34:28 2007 for SG2 by  doxygen 1.5.2