|
TrioCFD 1.9.9_beta
TrioCFD documentation
|
Models synonym information for Objet_U objects. More...
#include <Synonyme_info.h>
Public Member Functions | |
| Synonyme_info () | |
| ~Synonyme_info () | |
| Synonyme_info (const char *name, const char *org) | |
| Constructor from a name and an array of parent classes. | |
| const char * | org_name_ () const |
| const char * | nom () const |
Static Public Member Functions | |
| static Sortie & | hierarchie (Sortie &) |
| Writes the entire hierarchy of the considered synonym to an output stream. | |
| static int | est_un_synonyme (const char *) |
| Tests whether a class synonym exists: if there is a class T whose Synonyme_info has. | |
| static const Synonyme_info * | synonyme_info_from_name (const char *synonyme_name) |
| Static method that returns a pointer to the Synonyme_info whose name is "synonyme_name". | |
| static void | ajouter_synonyme (const Synonyme_info &synonyme_info) |
| Static method called by Synonyme_info constructors to add a new synonym to the list of registered synonyms. | |
Models synonym information for Objet_U objects.
Definition at line 39 of file Synonyme_info.h.
|
inline |
Definition at line 42 of file Synonyme_info.h.
| Synonyme_info::~Synonyme_info | ( | ) |
Definition at line 59 of file Synonyme_info.cpp.
| Synonyme_info::Synonyme_info | ( | const char * | un_nom, |
| const char * | org_name ) |
Constructor from a name and an array of parent classes.
| (const | char* nom) the name of the synonym to create |
| (int | nb_base) the number of parent classes in the bases[] array |
| (const | Synonyme_info* bases[]) the array specifying the base synonyms (parents) of the synonym to create |
| Exits | on error if the name is not defined (null) |
Definition at line 117 of file Synonyme_info.cpp.
|
static |
Static method called by Synonyme_info constructors to add a new synonym to the list of registered synonyms.
Verifies that the synonym name does not already exist.
Definition at line 159 of file Synonyme_info.cpp.
|
static |
Tests whether a class synonym exists: if there is a class T whose Synonyme_info has.
the name "nom", then est_un_synonyme returns 1, returns null pointer otherwise.
| (const | char* nom) character string associated with a synonym |
Definition at line 221 of file Synonyme_info.cpp.
Writes the entire hierarchy of the considered synonym to an output stream.
| (Sortie& | os) output stream |
Definition at line 204 of file Synonyme_info.cpp.
|
inline |
Definition at line 47 of file Synonyme_info.h.
|
inline |
Definition at line 46 of file Synonyme_info.h.
|
static |
Static method that returns a pointer to the Synonyme_info whose name is "synonyme_name".
If synonyme_name is not a synonym, returns a null pointer.
Definition at line 233 of file Synonyme_info.cpp.