8 #ifndef INSERTIONRESULT_H_ 9 #define INSERTIONRESULT_H_ 29 "SUCCESS",
"DUPLICATE",
"NAMEALIASCLASH",
"BADALIASEDTYPE",
"MISSINGALIASEDOBJECT",
"ALIASOFALIAS",
"ERROR"};
const std::string & ToString(InsertionResult ir)
Convert an InsertionResult to a string.
Definition: InsertionResult.h:33
Bad type of aliased object when re-assigning the alias.
Clash between object name and already inserted alias, or vice-versa.
IncludeFileExc.h IncludeFileExc class declaration.
Definition: Algorithm.h:21
std::ostream & operator<<(std::ostream &out, InsertionResult ir)
Insertion operator for InsertionResult.
Definition: InsertionResult.h:36
const std::array< std::string, 7 > irNames
Definition: InsertionResult.h:28
InsertionResult
Definition: InsertionResult.h:16
Object successfully inserted or already present.
Another object with the same name already present.
Aliased object is not present.
Aliased object is an alias.