38 #include <geogram/basic/file_system.h> 52 std::unique_ptr< StratigraphicColumnIOHandler >
59 "I/O",
"Unsupported file format: ", format );
64 std::unique_ptr< StratigraphicColumnIOHandler >
67 return create( GEO::FileSystem::extension( filename ) );
75 StratigraphicColumnIOHandlerFactory::
76 register_creator< XMLStratigraphicColumnIOHandler >(
"xml" );
static std::unique_ptr< BaseClass > create(const Key &key, const Args &... args)
Declarations of a stratigraphic column, stratigraphic unit, rock features and so on.
static std::unique_ptr< StratigraphicColumnIOHandler > get_handler(const std::string &filename)
static std::unique_ptr< StratigraphicColumnIOHandler > create(const std::string &format)
Classes to build GeoModel from various inputs.