Blender  V3.3
Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
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 ( )

Definition at line 20 of file AppConfig.cpp.

References BKE_appdir_folder_id(), and BLENDER_SYSTEM_SCRIPTS.

◆ ~Path()

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

Definition at line 47 of file AppConfig.cpp.

Member Function Documentation

◆ getBrushesPath()

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

Definition at line 56 of file AppConfig.h.

◆ getEnvMapDir()

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

Definition at line 60 of file AppConfig.h.

◆ getEnvVar()

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

Definition at line 57 of file AppConfig.cpp.

◆ getHomeDir()

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

Definition at line 68 of file AppConfig.h.

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.

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

◆ getModelsPath()

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

Definition at line 48 of file AppConfig.h.

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

◆ getPatternsPath()

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

Definition at line 52 of file AppConfig.h.

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

◆ getProjectDir()

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

Definition at line 44 of file AppConfig.h.

◆ setHomeDir()

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

Definition at line 42 of file AppConfig.cpp.

◆ setRootDir()

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

Definition at line 29 of file AppConfig.cpp.

References DIR_SEP.

Member Data Documentation

◆ _BrushesPath

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

Definition at line 31 of file AppConfig.h.

◆ _EnvMapDir

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

Definition at line 32 of file AppConfig.h.

◆ _HomeDir

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

Definition at line 34 of file AppConfig.h.

◆ _MapsDir

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

Definition at line 33 of file AppConfig.h.

◆ _ModelsPath

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

Definition at line 29 of file AppConfig.h.

◆ _PatternsPath

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

Definition at line 30 of file AppConfig.h.

◆ _pInstance

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

Definition at line 27 of file AppConfig.h.

◆ _ProjectDir

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

Definition at line 28 of file AppConfig.h.


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