|
ADS-IDAC Engine 5.0.0
|
#include <THElement.h>
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 |
Definition at line 15 of file THElement.h.
| THElement::THElement | ( | ) |
Definition at line 16 of file THElement.cpp.
References card_number, name, and type_of_card.
|
virtual |
Definition at line 23 of file THElement.cpp.
| 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().
| int THElement::getCardNumber | ( | ) |
Definition at line 29 of file THElement.cpp.
References card_number.
Referenced by copyTHElement().
| string THElement::getName | ( | ) |
Definition at line 27 of file THElement.cpp.
References name.
Referenced by copyTHElement(), and SystemControl::initiateControlValue().
| 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().
| 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().
| void THElement::retrieveTHElementFromFile | ( | std::ifstream & | ) |
Definition at line 39 of file THElement.cpp.
References card_number, name, and type_of_card.
Referenced by ControlVariable::retrieveControlVariableFromFile(), HeatStructure::retrieveHeatStructureFromFile(), HydraulicJunction::retrieveHydraulicJunctionFromFile(), HydraulicVolume::retrieveHydraulicVolumeFromFile(), InteractiveVariable::retrieveInteractiveVariableFromFile(), LogicalTrip::retrieveLogicalTripFromFile(), and VariableTrip::retrieveVariableTripFromFile().
| void THElement::saveTHElementToFile | ( | std::ofstream & | ) |
Definition at line 36 of file THElement.cpp.
References type_of_card.
Referenced by ControlVariable::saveControlVariableToFile(), HeatStructure::saveHeatStructureToFile(), HydraulicJunction::saveHydraulicJunctionToFile(), HydraulicVolume::saveHydraulicVolumeToFile(), InteractiveVariable::saveInteractiveVariableToFile(), LogicalTrip::saveLogicalTripToFile(), and VariableTrip::saveVariableTripToFile().
|
inlineprivate |
Definition at line 37 of file THElement.h.
References card_number, name, and type_of_card.
| void THElement::setCardNumber | ( | int | newCardNumber | ) |
Definition at line 30 of file THElement.cpp.
References card_number.
| void THElement::setName | ( | std::string | newName | ) |
Definition at line 28 of file THElement.cpp.
References name.
| 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().
|
friend |
Definition at line 35 of file THElement.h.
|
private |
Definition at line 32 of file THElement.h.
Referenced by copyTHElement(), getCardNumber(), readInfoFromFile(), retrieveTHElementFromFile(), serialize(), setCardNumber(), and THElement().
|
private |
Definition at line 31 of file THElement.h.
Referenced by copyTHElement(), getName(), readInfoFromFile(), retrieveTHElementFromFile(), serialize(), setName(), and THElement().
|
private |
Definition at line 33 of file THElement.h.
Referenced by copyTHElement(), getTypeOfCard(), retrieveTHElementFromFile(), saveTHElementToFile(), serialize(), setTypeOfCard(), and THElement().