The XModel class Basisklasse speichert eine ID in Form einer Zeichenkette enthält Hilfsfunktionen zur Speicherung von Daten.
More...
#include <xmodel.h>
The XModel class Basisklasse speichert eine ID in Form einer Zeichenkette enthält Hilfsfunktionen zur Speicherung von Daten.
Definition at line 22 of file xmodel.h.
◆ XModel() [1/2]
XModelBase kein Standardkonstruktor.
◆ XModel() [2/2]
| nmx::XModel::XModel |
( |
const char * |
name | ) |
|
|
inline |
XModelBase Konstruktor.
- Parameters
-
Definition at line 38 of file xmodel.h.
◆ class_name()
| static std::string nmx::XModel::class_name |
( |
| ) |
|
|
inlinestatic |
class_name
- Returns
- Klassenname oder ID
Definition at line 91 of file xmodel.h.
◆ get_output_stream() [1/2]
| static std::ofstream nmx::XModel::get_output_stream |
( |
Format |
fmt | ) |
|
|
inlinestatic |
get_output_stream
- Parameters
-
- Returns
- Ausgabestrom
Definition at line 49 of file xmodel.h.
◆ get_output_stream() [2/2]
template<class T >
| static std::ofstream nmx::XModel::get_output_stream |
( |
Format |
fmt, |
|
|
const T & |
id |
|
) |
| |
|
inlinestatic |
get_output_stream
- Parameters
-
| fmt | Formatierung |
| id | Namenszusatz |
- Returns
- Ausgabestrom
Definition at line 60 of file xmodel.h.
◆ save() [1/2]
template<class T >
| static void nmx::XModel::save |
( |
const T & |
data, |
|
|
Format |
fmt |
|
) |
| |
|
inlinestatic |
save Speicherung von Daten in eine Datei
- Parameters
-
| data | Datenobjekt |
| fmt | Formatierung |
Definition at line 70 of file xmodel.h.
◆ save() [2/2]
template<class T , class ID >
| static void nmx::XModel::save |
( |
const T & |
data, |
|
|
Format |
fmt, |
|
|
const ID & |
id |
|
) |
| |
|
inlinestatic |
save Speicherung von Daten in eine Datei
- Parameters
-
| data | Datenobjekt |
| fmt | Formatierung |
| id | Namenszusatz |
Definition at line 82 of file xmodel.h.
The documentation for this class was generated from the following file: