File formatfactory.hxx

class FormatFactory : Uncopyable

Public Functions

std::unique_ptr<DataFormat> createDataFormat(const char *filename = nullptr, bool parallel = true, Mesh *mesh_in = nullptr)

Public Static Functions

FormatFactory *getInstance()

Return a pointer to the only instance.

Private Functions

int matchString(const char *str, int n, const char **match)

Private Static Attributes

FormatFactory *instance = nullptr

The only instance of this class (Singleton)