SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | List of all members
AlgorithmData Class Reference

#include <AlgorithmBase.h>

Inheritance diagram for AlgorithmData:
AlgorithmInput AlgorithmOutput

Public Types

typedef std::map< Name,
std::vector
< Datatypes::DatatypeHandle > > 
Map
 

Public Member Functions

 AlgorithmData ()
 
 AlgorithmData (const Map &m)
 
Datatypes::DatatypeHandleoperator[] (const Name &name)
 
template<typename T >
boost::shared_ptr< T > get (const Name &name) const
 
template<typename T >
std::vector< boost::shared_ptr
< T > > 
getList (const Name &name) const
 
template<typename T >
void setList (const Name &name, const std::vector< boost::shared_ptr< T >> &list)
 
void setTransient (boost::any t)
 
boost::any getTransient () const
 

Member Typedef Documentation

typedef std::map<Name, std::vector<Datatypes::DatatypeHandle> > Map

Constructor & Destructor Documentation

AlgorithmData ( )
inline
AlgorithmData ( const Map m)
inlineexplicit

Member Function Documentation

boost::shared_ptr<T> get ( const Name name) const
inline
Todo:
: log incorrect type if present but wrong type
std::vector<boost::shared_ptr<T> > getList ( const Name name) const
inline
Todo:
: log incorrect type if present but wrong type
boost::any getTransient ( ) const
inline
DatatypeHandle & operator[] ( const Name name)
void setList ( const Name name,
const std::vector< boost::shared_ptr< T >> &  list 
)
inline
void setTransient ( boost::any  t)
inline
Todo:
: lame

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