Blender V5.0
Freestyle::Config::Path Class Reference

#include <AppConfig.h>

Public Member Functions

 Path ()
virtual ~Path ()
void setRootDir (const string &iRootDir)
void setHomeDir (const string &iHomeDir)
const string & getProjectDir () const
const string & getModelsPath () const
const string & getPatternsPath () const
const string & getBrushesPath () const
const string & getEnvMapDir () const
const string & getMapsDir () const
const string & getHomeDir () const

Static Public Member Functions

static PathgetInstance ()
static string getEnvVar (const string &iEnvVarName)

Protected Attributes

string _ProjectDir
string _ModelsPath
string _PatternsPath
string _BrushesPath
string _EnvMapDir
string _MapsDir
string _HomeDir

Static Protected Attributes

static Path_pInstance = nullptr

Detailed Description

Definition at line 25 of file AppConfig.h.

Constructor & Destructor Documentation

◆ Path()

Freestyle::Config::Path::Path ( )

◆ ~Path()

Freestyle::Config::Path::~Path ( )
virtual

Definition at line 50 of file AppConfig.cpp.

References _pInstance.

Member Function Documentation

◆ getBrushesPath()

const string & Freestyle::Config::Path::getBrushesPath ( ) const
inline

Definition at line 56 of file AppConfig.h.

References _BrushesPath.

◆ getEnvMapDir()

const string & Freestyle::Config::Path::getEnvMapDir ( ) const
inline

Definition at line 60 of file AppConfig.h.

References _EnvMapDir.

◆ getEnvVar()

string Freestyle::Config::Path::getEnvVar ( const string & iEnvVarName)
static

Definition at line 60 of file AppConfig.cpp.

◆ getHomeDir()

const string & Freestyle::Config::Path::getHomeDir ( ) const
inline

Definition at line 68 of file AppConfig.h.

References _HomeDir.

Referenced by Freestyle::Controller::Controller().

◆ getInstance()

Path * Freestyle::Config::Path::getInstance ( )
static

◆ getMapsDir()

const string & Freestyle::Config::Path::getMapsDir ( ) const
inline

Definition at line 64 of file AppConfig.h.

References _MapsDir.

Referenced by Freestyle::AppCanvas::AppCanvas().

◆ getModelsPath()

const string & Freestyle::Config::Path::getModelsPath ( ) const
inline

Definition at line 48 of file AppConfig.h.

References _ModelsPath.

Referenced by Freestyle::Controller::init_options().

◆ getPatternsPath()

const string & Freestyle::Config::Path::getPatternsPath ( ) const
inline

Definition at line 52 of file AppConfig.h.

References _PatternsPath.

Referenced by Freestyle::Controller::init_options().

◆ getProjectDir()

const string & Freestyle::Config::Path::getProjectDir ( ) const
inline

Definition at line 44 of file AppConfig.h.

References _ProjectDir.

◆ setHomeDir()

void Freestyle::Config::Path::setHomeDir ( const string & iHomeDir)

Definition at line 45 of file AppConfig.cpp.

References _HomeDir.

◆ setRootDir()

void Freestyle::Config::Path::setRootDir ( const string & iRootDir)

Definition at line 32 of file AppConfig.cpp.

References _BrushesPath, _EnvMapDir, _MapsDir, _ModelsPath, _PatternsPath, _ProjectDir, and Freestyle::Config::DIR_SEP().

Referenced by Path().

Member Data Documentation

◆ _BrushesPath

string Freestyle::Config::Path::_BrushesPath
protected

Definition at line 31 of file AppConfig.h.

Referenced by getBrushesPath(), and setRootDir().

◆ _EnvMapDir

string Freestyle::Config::Path::_EnvMapDir
protected

Definition at line 32 of file AppConfig.h.

Referenced by getEnvMapDir(), and setRootDir().

◆ _HomeDir

string Freestyle::Config::Path::_HomeDir
protected

Definition at line 34 of file AppConfig.h.

Referenced by getHomeDir(), and setHomeDir().

◆ _MapsDir

string Freestyle::Config::Path::_MapsDir
protected

Definition at line 33 of file AppConfig.h.

Referenced by getMapsDir(), and setRootDir().

◆ _ModelsPath

string Freestyle::Config::Path::_ModelsPath
protected

Definition at line 29 of file AppConfig.h.

Referenced by getModelsPath(), and setRootDir().

◆ _PatternsPath

string Freestyle::Config::Path::_PatternsPath
protected

Definition at line 30 of file AppConfig.h.

Referenced by getPatternsPath(), and setRootDir().

◆ _pInstance

Path * Freestyle::Config::Path::_pInstance = nullptr
staticprotected

Definition at line 27 of file AppConfig.h.

Referenced by getInstance(), Path(), and ~Path().

◆ _ProjectDir

string Freestyle::Config::Path::_ProjectDir
protected

Definition at line 28 of file AppConfig.h.

Referenced by getProjectDir(), and setRootDir().


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