rasdaman complete source
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
r_Dir_Decompose Class Reference

#include <dirdecompose.hh>

Public Member Functions

 r_Dir_Decompose ()
 
virtual ~r_Dir_Decompose ()
 
 r_Dir_Decompose (const r_Dir_Decompose &other)
 Copy constructor. More...
 
const r_Dir_Decomposeoperator= (const r_Dir_Decompose &other)
 Assigment operator. More...
 
r_Dir_Decomposeoperator<< (r_Range limit)
 Reads a new limit for the current dimension. More...
 
r_Dir_Decomposeprepend (r_Range limit)
 Reads a new limit for the current dimension and prepends it to the list of limits. More...
 
int get_num_intervals () const
 Gets the number of intervals the dimension is to be split into. More...
 
r_Range get_partition (int number) const throw (r_Eindex_violation)
 Gets a restriction. More...
 
virtual void print_status (std::ostream &os=cout) const
 Prints the current status of the object. More...
 

Protected Member Functions

r_Sinterval get_total_interval ()
 

Protected Attributes

r_Dimension num_intervals
 The number of intervals that this object can currently suport. More...
 
r_Dimension current_interval
 The current interval that is being used for input. More...
 
r_Rangeintervals
 The buffer that holds the information. More...
 

Static Protected Attributes

static const r_Dimension DEFAULT_INTERVALS
 Initial number of intervals of the buffer. More...
 

Constructor & Destructor Documentation

r_Dir_Decompose::r_Dir_Decompose ( )
virtual r_Dir_Decompose::~r_Dir_Decompose ( )
virtual
r_Dir_Decompose::r_Dir_Decompose ( const r_Dir_Decompose other)

Copy constructor.

Member Function Documentation

int r_Dir_Decompose::get_num_intervals ( ) const

Gets the number of intervals the dimension is to be split into.

r_Range r_Dir_Decompose::get_partition ( int  number) const
throw (r_Eindex_violation
)

Gets a restriction.

r_Sinterval r_Dir_Decompose::get_total_interval ( )
protected
r_Dir_Decompose& r_Dir_Decompose::operator<< ( r_Range  limit)

Reads a new limit for the current dimension.

const r_Dir_Decompose& r_Dir_Decompose::operator= ( const r_Dir_Decompose other)

Assigment operator.

r_Dir_Decompose& r_Dir_Decompose::prepend ( r_Range  limit)

Reads a new limit for the current dimension and prepends it to the list of limits.

virtual void r_Dir_Decompose::print_status ( std::ostream &  os = cout) const
virtual

Prints the current status of the object.

Member Data Documentation

r_Dimension r_Dir_Decompose::current_interval
protected

The current interval that is being used for input.

const r_Dimension r_Dir_Decompose::DEFAULT_INTERVALS
staticprotected

Initial number of intervals of the buffer.

r_Range* r_Dir_Decompose::intervals
protected

The buffer that holds the information.

r_Dimension r_Dir_Decompose::num_intervals
protected

The number of intervals that this object can currently suport.


The documentation for this class was generated from the following file: