FMT 0.9.8
Forest management tools for forest planning
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Friends | List of all members
Core::FMTdata Class Reference

#include <FMTdata.hpp>

Collaboration diagram for Core::FMTdata:
[legend]

Public Member Functions

 FMTdata ()
 
 ~FMTdata ()
 
 FMTdata (const FMTdata &rhs)
 
 FMTdata (const std::vector< double > &lvalues, const FMTyieldparserop &lops, const std::vector< std::string > &lsource)
 
 FMTdata (const std::vector< double > &lvalues, const FMTyieldparserop &lops, const std::vector< std::string > &lsource, const std::vector< bool > &varstack)
 
FMTdataoperator= (const FMTdata &rhs)
 
FMTyieldparserop getop () const
 
void clearcache ()
 
bool constant () const
 
bool nulldata () const
 
bool cachevalue (const FMTyieldrequest &request) const
 
double get (const FMTyieldrequest &request) const
 
void set (const double &value, const FMTyieldrequest &request, const bool &age_only) const
 
std::vector< std::string > getsource () const
 
std::vector< double > tovalues (const std::map< std::string, double > &sources) const
 
FMTexpression toexpression () const
 
bool operator== (const FMTdata &rhs) const
 
 operator std::string () const
 
FMTdata operator* (const double &factor) const
 

Public Attributes

std::vector< double > data
 

Friends

class boost::serialization::access
 

Constructor & Destructor Documentation

◆ FMTdata() [1/4]

Core::FMTdata::FMTdata ( )

◆ ~FMTdata()

Core::FMTdata::~FMTdata ( )

◆ FMTdata() [2/4]

Core::FMTdata::FMTdata ( const FMTdata rhs)

◆ FMTdata() [3/4]

Core::FMTdata::FMTdata ( const std::vector< double > &  lvalues,
const FMTyieldparserop lops,
const std::vector< std::string > &  lsource 
)

◆ FMTdata() [4/4]

Core::FMTdata::FMTdata ( const std::vector< double > &  lvalues,
const FMTyieldparserop lops,
const std::vector< std::string > &  lsource,
const std::vector< bool > &  varstack 
)

Member Function Documentation

◆ cachevalue()

bool Core::FMTdata::cachevalue ( const FMTyieldrequest request) const

◆ clearcache()

void Core::FMTdata::clearcache ( )

◆ constant()

bool Core::FMTdata::constant ( ) const

◆ get()

double Core::FMTdata::get ( const FMTyieldrequest request) const

◆ getop()

FMTyieldparserop Core::FMTdata::getop ( ) const

◆ getsource()

std::vector< std::string > Core::FMTdata::getsource ( ) const

◆ nulldata()

bool Core::FMTdata::nulldata ( ) const

◆ operator std::string()

Core::FMTdata::operator std::string ( ) const

◆ operator*()

FMTdata Core::FMTdata::operator* ( const double &  factor) const

◆ operator=()

FMTdata & Core::FMTdata::operator= ( const FMTdata rhs)

◆ operator==()

bool Core::FMTdata::operator== ( const FMTdata rhs) const

◆ set()

void Core::FMTdata::set ( const double &  value,
const FMTyieldrequest request,
const bool &  age_only 
) const

◆ toexpression()

FMTexpression Core::FMTdata::toexpression ( ) const

◆ tovalues()

std::vector< double > Core::FMTdata::tovalues ( const std::map< std::string, double > &  sources) const

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Member Data Documentation

◆ data

std::vector<double> Core::FMTdata::data

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