w2kmeans::ColumnOperator< GridType > Class Template Reference

Inheritance diagram for w2kmeans::ColumnOperator< GridType >:

w2kmeans::ClusterTableAction< GridType > List of all members.

Detailed Description

template<class GridType>
class w2kmeans::ColumnOperator< GridType >

Base-class of cluster-table-action objects that use columns computed by previous operators as input.


Public Member Functions

virtual ~ColumnOperator ()
virtual size_t numHistoricalGridsNeeded () const
 By default, return 0 (no grid needed).
 ColumnOperator (const code::XML::Element &columnElement)
const std::string & getInputName ()
virtual void fillColumn (const std::vector< ClusterTableRegion > &regions, ClusterInputHistory< GridType > &inputs)
virtual float getDefaultValue () const
const std::string & getOutputName () const
const std::string & getOutputUnit () const
bool shouldCompute (const code::DataTable &tbl) const
 Should this action be carried out for this table?
bool isReadyToCompute (const code::DataTable &tbl) const
 looks in the table to see if all the required data is already present.
bool alreadyComputed (const code::DataTable &tbl) const
bool hasAllInputs (const code::DataTable &tbl) const

Static Public Member Functions

static code::SmartPtr< ClusterTableAction<
GridType > > 
createColumnOperator (const code::XML::Element &columnElement)
static code::SmartPtr< ClusterTableAction<
GridType > > 
createAction (const code::XML::Element &columnElement)
 Factory of Action objects.

Protected Member Functions

void addRequiredColumn (const std::string &colName)
virtual void process (const std::vector< ClusterTableRegion > &regions, ClusterInputHistory< GridType > &inputs)=0

Protected Attributes

std::vector< std::string > requiredColumns


Constructor & Destructor Documentation

template<class GridType>
virtual w2kmeans::ColumnOperator< GridType >::~ColumnOperator (  )  [inline, virtual]

template<class GridType>
w2kmeans::ColumnOperator< GridType >::ColumnOperator ( const code::XML::Element &  columnElement  )  [inline]


Member Function Documentation

template<class GridType>
void w2kmeans::ClusterTableAction< GridType >::addRequiredColumn ( const std::string &  colName  )  [inline, protected, inherited]

template<class GridType>
bool w2kmeans::ClusterTableAction< GridType >::alreadyComputed ( const code::DataTable &  tbl  )  const [inline, inherited]

template<class GridType>
static code::SmartPtr< ClusterTableAction<GridType> > w2kmeans::ClusterTableAction< GridType >::createAction ( const code::XML::Element &  columnElement  )  [static, inherited]

Factory of Action objects.

template<class GridType>
static code::SmartPtr< ClusterTableAction<GridType> > w2kmeans::ColumnOperator< GridType >::createColumnOperator ( const code::XML::Element &  columnElement  )  [static]

template<class GridType>
virtual void w2kmeans::ClusterTableAction< GridType >::fillColumn ( const std::vector< ClusterTableRegion > &  regions,
ClusterInputHistory< GridType > &  inputs 
) [virtual, inherited]

template<class GridType>
virtual float w2kmeans::ClusterTableAction< GridType >::getDefaultValue (  )  const [inline, virtual, inherited]

template<class GridType>
const std::string& w2kmeans::ColumnOperator< GridType >::getInputName (  )  [inline]

template<class GridType>
const std::string& w2kmeans::ClusterTableAction< GridType >::getOutputName (  )  const [inline, inherited]

template<class GridType>
const std::string& w2kmeans::ClusterTableAction< GridType >::getOutputUnit (  )  const [inline, inherited]

template<class GridType>
bool w2kmeans::ClusterTableAction< GridType >::hasAllInputs ( const code::DataTable &  tbl  )  const [inline, inherited]

template<class GridType>
bool w2kmeans::ClusterTableAction< GridType >::isReadyToCompute ( const code::DataTable &  tbl  )  const [inline, inherited]

looks in the table to see if all the required data is already present.

template<class GridType>
virtual size_t w2kmeans::ColumnOperator< GridType >::numHistoricalGridsNeeded (  )  const [inline, virtual]

By default, return 0 (no grid needed).

Implements w2kmeans::ClusterTableAction< GridType >.

template<class GridType>
virtual void w2kmeans::ClusterTableAction< GridType >::process ( const std::vector< ClusterTableRegion > &  regions,
ClusterInputHistory< GridType > &  inputs 
) [protected, pure virtual, inherited]

template<class GridType>
bool w2kmeans::ClusterTableAction< GridType >::shouldCompute ( const code::DataTable &  tbl  )  const [inline, inherited]

Should this action be carried out for this table?


Member Data Documentation

template<class GridType>
std::vector<std::string> w2kmeans::ClusterTableAction< GridType >::requiredColumns [protected, inherited]


Generated on Fri May 4 13:40:24 2012 for WDSS-IIw2algs by  doxygen 1.4.7