Public Member Functions
Public Attributes
Detailed Description
Exports scalar data to a CSV file. Exports only data assigned to the member variables scalars, node_data, element_data and intpt_data. If, and only if, ALL these memeber are empty, then the Settings class tries to write down all the database data automatically. If several data types shall be exported at once, than the output file given will be reused as some kind of template string extended by data type IDs. See the description at output_file for detailed information.Member Function Documentation
check()
virtual
Checks some settings/preperations.
Exceptions
save()
pure virtual
Exports all data to the given csv output file.
If all member variables are empty all objects in the database will be exported. Otherwise the member variables acts as filter and only listed data will be extracted out of the database given and exported to the CSV file output_file given
Parameters
Exceptions
Implemented in ExportCSVField< TYPE >, and ExportCSVScalar.
Member Data Documentation
output_file
-
The string points to a non-existing FS item:
- The Settings class tries to split up the path given in its components: parent_path, filename (boost::filesystem::stem) and file extension (boost::filesystem::extension) as described in the underlying FS library http://www.boost.org/doc/libs/1_53_0/libs/filesystem/doc/reference.html#Path-decomposition-table
- Non given components will be replaced by default ones and created if neccessary