Function lvr2::directorySchemaFromName

Function Documentation

DirectorySchemaPtr lvr2::directorySchemaFromName(const std::string &schemaName, const std::string &rootDir)

Creates a directory schema from the given name.

Parameters:
  • schemaName – A vaild directory schema name.

  • rootDir – The root directory for this schema

Returns:

DirectorySchemaPtr A pointer to a directory schema or nullptr if the schema name is unknown.