RepastHPC  2.3.1
Public Member Functions | Protected Attributes | List of all members
repast::NCReducibleDataSource< Op, T > Class Template Reference

Source of data and a reduction operation. More...

#include <NCReducibleDataSource.h>

Inheritance diagram for repast::NCReducibleDataSource< Op, T >:
repast::NCDataSource

Public Member Functions

 NCReducibleDataSource (std::string name, TDataSource< T > *dataSource, Op op)
 
virtual NcType ncType ()
 
virtual void record ()
 
virtual void write (NcVar *var)
 
- Public Member Functions inherited from repast::NCDataSource
 NCDataSource (std::string name)
 
const std::string name () const
 

Protected Attributes

Op op_
 
std::vector< T > data
 
TDataSource< T > * dataSource_
 
int rank
 
int start
 
- Protected Attributes inherited from repast::NCDataSource
std::string _name
 

Detailed Description

template<typename Op, typename T>
class repast::NCReducibleDataSource< Op, T >

Source of data and a reduction operation.

Used internally by a NCDataSet to store the data sources. their associated ops etc.


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