DamBreak++ Wave Simulator 0.3
DamBreak++ Simulation Framework
Loading...
Searching...
No Matches
Testvs19::DataStoreFactory Class Reference

Data Store factory method. More...

#include <Testvs19_FileDataStore.h>

Public Member Functions

 ~DataStoreFactory ()
 destructor
void deleteIt ()
 delete instance
Sfx::IFileDataStore * create (std::string aClass)
 Create or of data store.

Static Public Member Functions

static DataStoreFactorygetInstance ()
 sole instance

Static Protected Attributes

static DataStoreFactorym_instance = nullptr

Detailed Description

Data Store factory method.

Constructor & Destructor Documentation

◆ ~DataStoreFactory()

Testvs19::DataStoreFactory::~DataStoreFactory ( )

destructor

Member Function Documentation

◆ create()

Sfx::IFileDataStore * Testvs19::DataStoreFactory::create ( std::string aClass)

Create or of data store.

Parameters
aClassstring representation of the class to create
Returns
instance of data store

◆ deleteIt()

void Testvs19::DataStoreFactory::deleteIt ( )

delete instance

◆ getInstance()

Testvs19::DataStoreFactory * Testvs19::DataStoreFactory::getInstance ( )
static

sole instance

Returns
data store instance

Member Data Documentation

◆ m_instance

DataStoreFactory * Testvs19::DataStoreFactory::m_instance = nullptr
staticprotected

sole instance


The documentation for this class was generated from the following files: