SPH
Functions
Settings.cpp File Reference
#include "gravity/AggregateSolver.h"
#include "io/Output.h"
#include "system/Settings.impl.h"

Go to the source code of this file.

Functions

Optional< std::string > getIoExtension (const IoEnum type)
 Returns the file extension associated with given IO type. More...
 
Optional< IoEnumgetIoEnum (const std::string &ext)
 Returns the file type from file extension. More...
 
std::string getIoDescription (const IoEnum type)
 Returns a short description of the file format. More...
 
Flags< IoCapabilitygetIoCapabilities (const IoEnum type)
 Returns the capabilities of given file format. More...
 

Function Documentation

◆ getIoCapabilities()

Flags<IoCapability> getIoCapabilities ( const IoEnum  type)

Returns the capabilities of given file format.

Definition at line 412 of file Settings.cpp.

◆ getIoDescription()

std::string getIoDescription ( const IoEnum  type)

Returns a short description of the file format.

Definition at line 387 of file Settings.cpp.

◆ getIoEnum()

Optional<IoEnum> getIoEnum ( const std::string &  ext)

Returns the file type from file extension.

Result NOTHING indicates there is no file type associated with the extension.

Definition at line 367 of file Settings.cpp.

◆ getIoExtension()

Optional<std::string> getIoExtension ( const IoEnum  type)

Returns the file extension associated with given IO type.

Result NOTHING indicates there is no particular extension associated with the IO type.

Definition at line 343 of file Settings.cpp.