ExportItemInfo Struct Reference
Last update: 16.07.2025defines a single data item which was may be exported to a single existing output file. It encapsulates information being found on this data item in the specific file. It can further be configured to be exported. More...
Public Member Functions | |
| ExportItemInfo (string par_filename, enum_format_type par_file_format, bool par_new_file, Type par_data_type, dataobject_types par_object_type, string par_quantity_ident="", string par_design_ident="", DataSource par_data_source=EXISTING) | |
| constructor More... | |
| ExportItemInfo (ExportItemInfo other) | |
| copy constructor More... | |
| ExportItemInfo () | |
| default constructor More... | |
| ExportItemInfo | operator= (ExportItemInfo other) |
| copy-assign operator More... | |
Static Public Member Functions | |
| static string | toScript (Type type) |
| static ItemSet | toSet (ItemVector items) |
| static string | toString (Type type) |
| static string | toString (enum_format_type type) |
| static string | toString (DataSource type) |
| static ItemVector | toVector (ItemSet items) |
Public Attributes | |
| DataSource | data_source |
| defines how the data is to be created (from database, from FMOP, from random field) | |
| Type | data_type |
| the kind of data | |
| string | design_ident |
| the design ident of the data item to be exported; if empty, then the current design number is token. | |
| enum_format_type | file_format |
| the source file format | |
| string | filename |
| the name of the source file relative to the base path | |
| immutable | |
| mutable | |
| bool | new_file |
| do we modify an existing file or do we export to a new file ? | |
| dataobject_types | object_type |
| the type of input object (NODE/ELEMENT...) | |
| string | quantity_ident |
| the quantity ident of the data item to be exported; if empty, then this item will not be exported. (except for scalar data) | |
Detailed Description
defines a single data item which was may be exported to a single existing output file. It encapsulates information being found on this data item in the specific file. It can further be configured to be exported.
Member Enumeration Documentation
◆ DataSource
| enum DataSource |
◆ enum_format_type
| enum enum_format_type |
defines the format of a file
- Note
- In order to stay compatible with existing script files, do only append new items to this list! This list will directly influence the sort order in the item vector
◆ Type
| enum Type |
defines the type of data item (it may be that not all of them are supported by each exporter)
- Note
- In order to stay compatible with existing script files, do only append new items to this list! This list will directly influence the sort order in the item vector.
Constructor & Destructor Documentation
◆ ExportItemInfo() [1/3]
| ExportItemInfo | ( | string | par_filename, |
| enum_format_type | par_file_format, | ||
| bool | par_new_file, | ||
| Type | par_data_type, | ||
| dataobject_types | par_object_type, | ||
| string | par_quantity_ident = "", |
||
| string | par_design_ident = "", |
||
| DataSource | par_data_source = EXISTING |
||
| ) |
constructor
- Parameters
-
par_filename sets filename par_file_format sets file_format par_data_type sets data_type par_object_type sets object_type par_quantity_ident sets quantity_ident par_design_ident sets design_ident
◆ ExportItemInfo() [2/3]
| ExportItemInfo | ( | ExportItemInfo | other | ) |
copy constructor
- Parameters
-
other the source object
◆ ExportItemInfo() [3/3]
| ExportItemInfo | ( | ) |
default constructor
- Note
- do not use it! It is a dummy for usage with SWIG!
Member Function Documentation
◆ operator=()
| ExportItemInfo operator= | ( | ExportItemInfo | other | ) |
copy-assign operator
- Parameters
-
other the source object to be copy-assigned
◆ toScript()
|
static |
- Returns
- a string representation of a given item type in a Lua
- Parameters
-
type the given item type
◆ toSet()
|
static |
- Returns
- a set containing the contents of the given vector
- Parameters
-
items the vector of items to be converted into a set
◆ toString() [1/3]
|
static |
- Returns
- a string representation of a given item type
- Parameters
-
type the given item type
◆ toString() [2/3]
|
static |
- Returns
- a string representation of a given file format
- Parameters
-
type the given file format
◆ toString() [3/3]
|
static |
- Returns
- a string representation of a given source type
- Parameters
-
type the given source type
◆ toVector()
|
static |
- Returns
- a vector containing the contents of the given set
- Parameters
-
items the set of items to be converted into a vector