← Documentation
ADS-IDAC Engine 5.0.0
THElement Class Reference

#include <THElement.h>

Inheritance diagram for THElement:
[legend]

Public Member Functions

 THElement ()
 
virtual ~THElement ()
 
std::string getName ()
 
void setName (std::string newName)
 
int getCardNumber ()
 
void setCardNumber (int newCardNumber)
 
void readInfoFromFile (std::ifstream &)
 
Relap5ComponentType getTypeOfCard ()
 
void setTypeOfCard (Relap5ComponentType newTypeOfCard)
 
void copyTHElement (THElement &)
 
void saveTHElementToFile (std::ofstream &)
 
void retrieveTHElementFromFile (std::ifstream &)
 

Private Member Functions

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

Private Attributes

std::string name
 
int card_number
 
Relap5ComponentType type_of_card
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 15 of file THElement.h.

Constructor & Destructor Documentation

◆ THElement()

THElement::THElement ( )

Definition at line 16 of file THElement.cpp.

References card_number, name, and type_of_card.

◆ ~THElement()

THElement::~THElement ( )
virtual

Definition at line 23 of file THElement.cpp.

Member Function Documentation

◆ copyTHElement()

void THElement::copyTHElement ( THElement &  _te)

Definition at line 42 of file THElement.cpp.

References card_number, getCardNumber(), getName(), getTypeOfCard(), name, and type_of_card.

Referenced by ControlVariable::copyControlVariable(), HeatStructure::copyHeatStructure(), HydraulicJunction::copyHydraulicJunction(), HydraulicVolume::copyHydraulicVolume(), InteractiveVariable::copyInteractiveVariable(), LogicalTrip::copyLogicalTrip(), and VariableTrip::copyVariableTrip().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCardNumber()

int THElement::getCardNumber ( )

Definition at line 29 of file THElement.cpp.

References card_number.

Referenced by copyTHElement().

Here is the caller graph for this function:

◆ getName()

string THElement::getName ( )

Definition at line 27 of file THElement.cpp.

References name.

Referenced by copyTHElement(), and SystemControl::initiateControlValue().

Here is the caller graph for this function:

◆ getTypeOfCard()

Relap5ComponentType THElement::getTypeOfCard ( )

Definition at line 34 of file THElement.cpp.

References type_of_card.

Referenced by copyTHElement(), SystemDisplay::getCorrespondingHeatStructureValue(), SystemDisplay::getCorrespondingSystemParameterValue(), and SystemDisplay::setCorrespondingSystemParameterUnit().

Here is the caller graph for this function:

◆ readInfoFromFile()

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

Definition at line 31 of file THElement.cpp.

References card_number, and name.

Referenced by ControlVariable::readInfoFromFile(), HeatStructure::readInfoFromFile(), HydraulicJunction::readInfoFromFile(), HydraulicVolume::readInfoFromFile(), InteractiveVariable::readInfoFromFile(), LogicalTrip::readInfoFromFile(), and VariableTrip::readInfoFromFile().

Here is the caller graph for this function:

◆ retrieveTHElementFromFile()

void THElement::retrieveTHElementFromFile ( std::ifstream &  )

◆ saveTHElementToFile()

void THElement::saveTHElementToFile ( std::ofstream &  )

◆ serialize()

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

Definition at line 37 of file THElement.h.

References card_number, name, and type_of_card.

◆ setCardNumber()

void THElement::setCardNumber ( int  newCardNumber)

Definition at line 30 of file THElement.cpp.

References card_number.

◆ setName()

void THElement::setName ( std::string  newName)

Definition at line 28 of file THElement.cpp.

References name.

◆ setTypeOfCard()

void THElement::setTypeOfCard ( Relap5ComponentType  newTypeOfCard)

Definition at line 35 of file THElement.cpp.

References type_of_card.

Referenced by ControlVariable::ControlVariable(), HeatStructure::HeatStructure(), HydraulicJunction::HydraulicJunction(), HydraulicVolume::HydraulicVolume(), InteractiveVariable::InteractiveVariable(), LogicalTrip::LogicalTrip(), and VariableTrip::VariableTrip().

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 35 of file THElement.h.

Member Data Documentation

◆ card_number

int THElement::card_number
private

◆ name

std::string THElement::name
private

◆ type_of_card


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