Esempio n. 1
0
	explicit SQLiteConfig( const std::string& className_="SQLiteDatabase", const std::string& configSection_="Database", const std::string& configKeyword_="SQLite")
		:_Wolframe::serialize::DescriptiveConfiguration( className_, configSection_, configKeyword_, getStructDescription())
		,m_foreignKeys(true)
		,m_profiling(false)
		,m_connections(DEFAULT_SQLITE_CONNECTIONS)
	{
		setBasePtr( (void*)this); // ... mandatory to set pointer to start of configuration
	}
Esempio n. 2
0
	MyDatabaseConfig( const char* title, const char* logprefix)
		:_Wolframe::serialize::DescriptiveConfiguration( title, "database", logprefix, getStructDescription())
	{
		setBasePtr( (void*)this); // ... mandatory to set pointer to start of configuration
	}
Esempio n. 3
0
	MyCommandHandlerConfig( const std::string& className_, const std::string& configSection_, const std::string& configKeyword_)
		:_Wolframe::serialize::DescriptiveConfiguration( className_, configSection_, configKeyword_, getStructDescription())
	{
		setBasePtr( (void*)this); // ... mandatory to set pointer to start of configuration
	}
Esempio n. 4
0
	// Default constructor that declares the name of the structure
	// to be "MyConfig" and the logging prefix to be "MyClass/MyApp":
	MyConfig()
		:_Wolframe::serialize::DescriptiveConfiguration( "MyConfig", "MyClass", "MyApp", getStructDescription())
	{
		setBasePtr( (void*)this); // ... mandatory to set pointer to start of configuration
	}
Esempio n. 5
0
	MyRuntimeEnvironmentConfig( const char* /*classname*/, const char* title, const char* logprefix, const char* /*subsection*/)
		:_Wolframe::serialize::DescriptiveConfiguration( title, "authentication", logprefix, getStructDescription())
	{
		setBasePtr( (void*)this); // ... mandatory to set pointer to start of configuration
	}