File formatfactory.hxx

class FormatFactory : private Uncopyable

Public Functions

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

Public Static Functions

static FormatFactory *getInstance()

Return a pointer to the only instance.

Private Functions

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

Private Static Attributes

static FormatFactory *instance = nullptr

The only instance of this class (Singleton)