ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
PythonConfigPaths Class Referencefinal

#include <PythonConfig.h>

Public Member Functions

 PythonConfigPaths ()=default
 Default ctor, does not initialize pythonHome & pythonPath. More...
 
bool isSet () const
 returns true if both paths are non empty More...
 
const wchar_t * pythonHome () const
 Returns the pythonHome. More...
 
const wchar_t * pythonPath () const
 Returns the pythonPath. More...
 

Detailed Description

Holds strings of the PythonHome & PythonPath, in types that are compatible with CPython API.

They are meant to be used for Py_SetPythonHome and Py_SetPath. See:

Definition at line 183 of file PythonConfig.h.

Constructor & Destructor Documentation

◆ PythonConfigPaths()

PythonConfigPaths::PythonConfigPaths ( )
default

Default ctor, does not initialize pythonHome & pythonPath.

Member Function Documentation

◆ isSet()

bool PythonConfigPaths::isSet ( ) const

returns true if both paths are non empty

Definition at line 148 of file PythonConfig.cpp.

◆ pythonHome()

const wchar_t * PythonConfigPaths::pythonHome ( ) const

Returns the pythonHome.

Definition at line 153 of file PythonConfig.cpp.

Referenced by PythonInterpreter::initialize().

◆ pythonPath()

const wchar_t * PythonConfigPaths::pythonPath ( ) const

Returns the pythonPath.

Definition at line 158 of file PythonConfig.cpp.

Referenced by PythonInterpreter::initialize().


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