← Documentation
ADS-IDAC Engine 5.0.0
BranchProcedureControlValueUnit Class Reference

#include <BranchProcedureControlValueUnit.h>

Public Member Functions

 BranchProcedureControlValueUnit ()
 
virtual ~BranchProcedureControlValueUnit ()
 
void clearBranchProcedureControlValueUnit ()
 
void setProcedureName (std::string)
 
void setStepName (std::string)
 
void setActionName (std::string)
 
void setNumberOfBranches (int)
 
std::string getProcedureName ()
 
std::string getStepName ()
 
std::string getActionName ()
 
int getNumberOfBranches ()
 
bool checkIfControlValueBranchNeedsToBeGenerated (std::string, std::string, std::string)
 
void readInfoFromFile (std::ifstream &)
 
void copyBranchProcedureControlValueUnit (BranchProcedureControlValueUnit)
 
void saveBranchProcedureControlValueUnitToFile (std::ofstream &)
 
void retrieveBranchProcedureControlValueUnitFromFile (std::ifstream &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Public Attributes

std::vector< double > probabilities
 
std::vector< double > control_values
 

Private Attributes

std::string procedure_name
 
std::string step_name
 
std::string action_name
 
int number_of_branches
 

Detailed Description

Definition at line 21 of file BranchProcedureControlValueUnit.h.

Constructor & Destructor Documentation

◆ BranchProcedureControlValueUnit()

BranchProcedureControlValueUnit::BranchProcedureControlValueUnit ( )

◆ ~BranchProcedureControlValueUnit()

BranchProcedureControlValueUnit::~BranchProcedureControlValueUnit ( )
virtual

Definition at line 24 of file BranchProcedureControlValueUnit.cpp.

References clearBranchProcedureControlValueUnit().

Here is the call graph for this function:

Member Function Documentation

◆ checkIfControlValueBranchNeedsToBeGenerated()

bool BranchProcedureControlValueUnit::checkIfControlValueBranchNeedsToBeGenerated ( std::string  ,
std::string  ,
std::string   
)

Definition at line 41 of file BranchProcedureControlValueUnit.cpp.

References action_name, procedure_name, and step_name.

◆ clearBranchProcedureControlValueUnit()

void BranchProcedureControlValueUnit::clearBranchProcedureControlValueUnit ( )

Definition at line 28 of file BranchProcedureControlValueUnit.cpp.

References control_values, and probabilities.

Referenced by ~BranchProcedureControlValueUnit().

Here is the caller graph for this function:

◆ copyBranchProcedureControlValueUnit()

void BranchProcedureControlValueUnit::copyBranchProcedureControlValueUnit ( BranchProcedureControlValueUnit  _bpcvu)

Definition at line 85 of file BranchProcedureControlValueUnit.cpp.

References action_name, control_values, getActionName(), getNumberOfBranches(), getProcedureName(), getStepName(), number_of_branches, probabilities, procedure_name, and step_name.

Here is the call graph for this function:

◆ getActionName()

string BranchProcedureControlValueUnit::getActionName ( )

Definition at line 39 of file BranchProcedureControlValueUnit.cpp.

References action_name.

Referenced by copyBranchProcedureControlValueUnit().

Here is the caller graph for this function:

◆ getNumberOfBranches()

int BranchProcedureControlValueUnit::getNumberOfBranches ( )

Definition at line 40 of file BranchProcedureControlValueUnit.cpp.

References number_of_branches.

Referenced by copyBranchProcedureControlValueUnit(), ProcedureStepUnit::executeAction(), and ProcedureStepUnit::executeNonResponseAction().

Here is the caller graph for this function:

◆ getProcedureName()

string BranchProcedureControlValueUnit::getProcedureName ( )

Definition at line 37 of file BranchProcedureControlValueUnit.cpp.

References procedure_name.

Referenced by copyBranchProcedureControlValueUnit().

Here is the caller graph for this function:

◆ getStepName()

string BranchProcedureControlValueUnit::getStepName ( )

Definition at line 38 of file BranchProcedureControlValueUnit.cpp.

References step_name.

Referenced by copyBranchProcedureControlValueUnit().

Here is the caller graph for this function:

◆ readInfoFromFile()

void BranchProcedureControlValueUnit::readInfoFromFile ( std::ifstream &  )

Definition at line 51 of file BranchProcedureControlValueUnit.cpp.

References control_values, probabilities, r5pars_, setActionName(), setNumberOfBranches(), setProcedureName(), and setStepName().

Here is the call graph for this function:

◆ retrieveBranchProcedureControlValueUnitFromFile()

void BranchProcedureControlValueUnit::retrieveBranchProcedureControlValueUnitFromFile ( std::ifstream &  )

◆ saveBranchProcedureControlValueUnitToFile()

void BranchProcedureControlValueUnit::saveBranchProcedureControlValueUnitToFile ( std::ofstream &  )

◆ serialize()

template<class Archive >
void BranchProcedureControlValueUnit::serialize ( Archive &  ar,
const unsigned int  version 
)
inline

◆ setActionName()

void BranchProcedureControlValueUnit::setActionName ( std::string  )

Definition at line 35 of file BranchProcedureControlValueUnit.cpp.

References action_name.

Referenced by readInfoFromFile().

Here is the caller graph for this function:

◆ setNumberOfBranches()

void BranchProcedureControlValueUnit::setNumberOfBranches ( int  n)

Definition at line 36 of file BranchProcedureControlValueUnit.cpp.

References number_of_branches.

Referenced by readInfoFromFile().

Here is the caller graph for this function:

◆ setProcedureName()

void BranchProcedureControlValueUnit::setProcedureName ( std::string  )

Definition at line 33 of file BranchProcedureControlValueUnit.cpp.

References procedure_name.

Referenced by readInfoFromFile().

Here is the caller graph for this function:

◆ setStepName()

void BranchProcedureControlValueUnit::setStepName ( std::string  )

Definition at line 34 of file BranchProcedureControlValueUnit.cpp.

References step_name.

Referenced by readInfoFromFile().

Here is the caller graph for this function:

Member Data Documentation

◆ action_name

◆ control_values

◆ number_of_branches

◆ probabilities

◆ procedure_name

◆ step_name


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