cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.3
A generic central exclusive processes event generator
Loading...
Searching...
No Matches
cepgen::python Namespace Reference

Classes

class  CardHandler
 CepGen Python configuration cards reader/writer. More...
 
class  ConfigWriter
 Toolbox to dump user-steered configuration into Python scripts. More...
 
class  DocumentationGenerator
 Python modules documentation generator. More...
 
class  Environment
 
class  Error
 
class  Functional
 
class  Integrator
 
class  ObjectPtr
 Smart pointer to a Python object and its dereferencing operator. More...
 

Typedefs

typedef std::unique_ptr< PyObject, void(*)(PyObject *)> PyObjectPtr
 

Functions

static std::string repr (const ParametersList &params, const std::string &key)
 
void obj_deleter (PyObject *obj)
 
template<>
bool ObjectPtr::is< std::string > () const
 
template<>
std::string ObjectPtr::value< std::string > () const
 
template<>
ObjectPtr ObjectPtr::make< std::string > (const std::string &val)
 
template ObjectPtr ObjectPtr::tupleFromVector< std::string > (const std::vector< std::string > &)
 
std::ostream & operator<< (std::ostream &os, const ObjectPtr &ptr)
 
std::string pythonPath (const std::string &)
 Translate a filename into a python-compatible path.
 
std::vector< std::wstring > info ()
 

Typedef Documentation

◆ PyObjectPtr

typedef std::unique_ptr<PyObject, void (*)(PyObject*)> PyObjectPtr

Definition at line 34 of file ObjectPtr.h.

Function Documentation

◆ info()

std::vector< std::wstring > info ( )

Definition at line 42 of file Utils.cpp.

◆ obj_deleter()

void obj_deleter ( PyObject *  obj)

Definition at line 30 of file ObjectPtr.cpp.

◆ ObjectPtr::is< std::string >()

template<>
bool ObjectPtr::is< std::string > ( ) const

Definition at line 83 of file ObjectPtr.cpp.

◆ ObjectPtr::make< std::string >()

template<>
ObjectPtr ObjectPtr::make< std::string > ( const std::string &  val)

Definition at line 286 of file ObjectPtr.cpp.

◆ ObjectPtr::tupleFromVector< std::string >()

template ObjectPtr ObjectPtr::tupleFromVector< std::string > ( const std::vector< std::string > &  )

◆ ObjectPtr::value< std::string >()

template<>
std::string ObjectPtr::value< std::string > ( ) const

Definition at line 192 of file ObjectPtr.cpp.

◆ operator<<()

std::ostream & operator<< ( std::ostream &  os,
const ObjectPtr ptr 
)

Definition at line 357 of file ObjectPtr.cpp.

◆ pythonPath()

std::string pythonPath ( const std::string &  file)

Definition at line 29 of file Utils.cpp.

◆ repr()

static std::string repr ( const ParametersList params,
const std::string &  key 
)
static

Definition at line 34 of file ConfigWriter.cpp.