|
|
||||||
|
diag_attrfailuretypes.cpp
Go to the documentation of this file.
26 AttributeFailureTypeMap::AttributeFailureTypeMap(const std::string& rFilename) : AttributeFlags() {
39 AttributeFailureTypeMap::AttributeFailureTypeMap(const AttributeFailureTypeMap& rOtherAttr) : AttributeFlags(rOtherAttr) {
85 Idx AttributeFailureTypeMap::AddFailureTypeMapping(const std::string& failureType, const EventSet& rfailureEvents) {
90 // If failure type name does already exist in LabelSymbolTable, InsEntry returns index of existing entry.
96 errstr << "Have not been able to add failure with Index " << failureType << " to LabelSymbolTable" << endl;
110 void AttributeFailureTypeMap::AddFailureTypeMap(const std::map<std::string,EventSet>& rFailureMap) {
146 void AttributeFailureTypeMap::DoWrite(TokenWriter& rTw, const std::string& rLabel, const Type* pContext) const {
152 void AttributeFailureTypeMap::DoXWrite(TokenWriter& rTw, const std::string& rLabel, const Type* pContext) const {
158 void AttributeFailureTypeMap::DoRead(TokenReader &rTr, const std::string &rLabel, const Type *pContext) {
#define FAUDES_TYPE_IMPLEMENTATION(ftype, ctype, cbase) faudes type implementation macros, overall Definition: cfl_types.h:946 Stores the failure and indicator events for a particular failure type. Definition: diag_attrfailureevents.h:23 Partitions the failure and indicator events. Definition: diag_attrfailuretypes.h:25 EventSet AllFailureEvents(void) const Obtain all failure events in mFailureTypeMap. Definition: diag_attrfailuretypes.cpp:132 TaNameSet< AttributeFailureEvents > mFailureTypeMap Failure and indicator event partition. Definition: diag_attrfailuretypes.h:36 bool DoEqual(const AttributeFailureTypeMap &rAttr) const Test equality. Definition: diag_attrfailuretypes.cpp:59 void AddFailureTypeMap(const std::map< std::string, EventSet > &rFailureMap) Inserts entire failure type map to mFailureTypeMap. Definition: diag_attrfailuretypes.cpp:110 void DoRead(TokenReader &rTr, const std::string &rLabel="", const Type *pContext=0) Read mFailureTypeMap from TokenReader. Definition: diag_attrfailuretypes.cpp:158 Idx AddFailureTypeMapping(const std::string &failureType, const EventSet &rfailureEvents) Add a set of failure events to failure type map. Definition: diag_attrfailuretypes.cpp:85 void DoAssign(const AttributeFailureTypeMap &rSrcAttr) Copy attribute members. Definition: diag_attrfailuretypes.cpp:53 Idx FailureType(Idx failureEvent) const Returns failure type of failure event. Definition: diag_attrfailuretypes.cpp:120 void DoWrite(TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const Write mFailureTypeMap to TokenWriter. Definition: diag_attrfailuretypes.cpp:146 void DoXWrite(TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const Write mFailureTypeMap to TokenWriter. Definition: diag_attrfailuretypes.cpp:152 bool DoEqual(const AttributeFlags &rOther) const Test equality of configuration data. Definition: cfl_attributes.cpp:122 static SymbolTable * StaticLabelSymbolTablep(void) Get pointer to static LabelSymbolTable. Definition: diag_attrlabelset.cpp:69 virtual void InsertSet(const NameSet &rOtherSet) Inserts all elements of rOtherSet. Definition: cfl_nameset.cpp:295 A SymbolTable associates sybolic names with indices. Definition: cfl_symboltable.h:61 Idx InsEntry(Idx index, const std::string &rName) Add new entry (aka symbolic name and index) to symboltable,. Definition: cfl_symboltable.cpp:138 A TokenReader reads sequential tokens from a file or string. Definition: cfl_tokenreader.h:64 A TokenWriter writes sequential tokens to a file, a string or stdout. Definition: cfl_tokenwriter.h:52 Base class of all libFAUDES objects that participate in the run-time interface. Definition: cfl_types.h:239 void Read(const std::string &rFileName, const std::string &rLabel="", const Type *pContext=0) Read configuration data from file with label specified. Definition: cfl_types.cpp:261 virtual const std::string & TypeName(void) const Get objects's type name. Definition: cfl_types.cpp:132 Contains the failure and indicator partition for a system (used as global attribute). libFAUDES 2.32f --- 2024.12.22 --- c++ api documentaion by doxygen |