|
gsystem
|
Load a system from ASCII text files. More...
#include <systemTextFactory.h>
Public Member Functions | |
| GSystemFactory (const std::shared_ptr< GOptions > &g) | |
| Construct the factory with shared configuration. | |
Public Member Functions inherited from GSystemFactory | |
| ~GSystemFactory () override=default | |
| GSystemFactory (const std::shared_ptr< GOptions > &g) | |
| Construct the factory with shared configuration. | |
| void | loadSystem (GSystem *system) |
| Load a system by invoking the concrete factory steps. | |
| virtual void | closeSystem () |
| Factory cleanup hook. | |
| void | addPossibleFileLocation (const std::string &fl) |
| Add a candidate directory for file searches. | |
Public Member Functions inherited from GBase< GSystemFactory > | |
| GBase (const std::shared_ptr< GOptions > &gopt, std::string logger_name="") | |
| GBase (const std::shared_ptr< GLogger > &logger) | |
| GBase (const GBase &)=default | |
| GBase (GBase &&) noexcept=default | |
| virtual | ~GBase () |
| GBase & | operator= (const GBase &)=default |
| GBase & | operator= (GBase &&) noexcept=default |
Additional Inherited Members | |
Protected Attributes inherited from GSystemFactory | |
| std::vector< std::string > | possibleLocationOfFiles |
| List of candidate directories used by file-based factories. | |
Protected Attributes inherited from GBase< GSystemFactory > | |
| std::shared_ptr< GLogger > | log |
File naming convention:
system->getFilePath() base + GTEXTGEOMTYPE + variation + ".txt"base + GTEXTMATSTYPE + variation + ".txt"Search logic:
possibleLocationOfFiles in order.Behavior differences:
"mats_only".Parsing:
'|' as delimiter.Definition at line 34 of file systemTextFactory.h.
|
inlineexplicit |
| g | Shared options/configuration instance. |
Definition at line 44 of file systemFactory.h.