GCBM
Public Member Functions | Private Attributes | List of all members
CBMDistEventRef Class Reference

#include <cbmdisturbancelistener.h>

Collaboration diagram for CBMDistEventRef:
Collaboration graph

Public Member Functions

 CBMDistEventRef ()=default
 
 CBMDistEventRef (std::string &disturbanceType, int year, int transitionId, std::vector< std::shared_ptr< IDisturbanceSubCondition >> conditions, const DynamicObject &metadata)
 
std::string disturbanceType () const
 
void setDisturbanceType (const std::string &disturbanceType)
 
int transitionRuleId () const
 
int year () const
 
const DynamicObject & metadata ()
 
bool checkConditions ()
 

Private Attributes

std::string _disturbanceType
 
int _transitionRuleId
 
int _year
 
DynamicObject _metadata
 
std::vector< std::shared_ptr< IDisturbanceSubCondition > > _disturbanceConditions
 

Constructor & Destructor Documentation

◆ CBMDistEventRef() [1/2]

CBMDistEventRef ( )
default

◆ CBMDistEventRef() [2/2]

CBMDistEventRef ( std::string &  disturbanceType,
int  year,
int  transitionId,
std::vector< std::shared_ptr< IDisturbanceSubCondition >>  conditions,
const DynamicObject &  metadata 
)
explicit

Member Function Documentation

◆ checkConditions()

bool checkConditions ( )

◆ disturbanceType()

std::string disturbanceType ( ) const

◆ metadata()

const DynamicObject& metadata ( )

◆ setDisturbanceType()

void setDisturbanceType ( const std::string &  disturbanceType)

◆ transitionRuleId()

int transitionRuleId ( ) const

◆ year()

int year ( ) const

Member Data Documentation

◆ _disturbanceConditions

std::vector<std::shared_ptr<IDisturbanceSubCondition> > _disturbanceConditions
private

◆ _disturbanceType

std::string _disturbanceType
private

◆ _metadata

DynamicObject _metadata
private

◆ _transitionRuleId

int _transitionRuleId
private

◆ _year

int _year
private

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