MIRA
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
PythonError Class Reference

#include <python/PythonCheck.h>

Public Member Functions

 PythonError ()
 
 PythonError (const boost::python::dict &d)
 
bool isError ()
 
 operator bool ()
 

Public Attributes

std::string badline
 
std::string description
 
std::string filename
 
int lineno
 
std::string msg
 
int offset
 
std::string offsetstr
 
std::string type
 

Protected Member Functions

template<typename T >
void extract (T &var, const boost::python::dict &d, const std::string &key)
 

Constructor & Destructor Documentation

◆ PythonError() [1/2]

PythonError ( )
inline

◆ PythonError() [2/2]

PythonError ( const boost::python::dict &  d)
inline

Member Function Documentation

◆ isError()

bool isError ( )
inline

◆ operator bool()

operator bool ( )
inline

◆ extract()

void extract ( T &  var,
const boost::python::dict &  d,
const std::string &  key 
)
inlineprotected

Member Data Documentation

◆ badline

std::string badline

◆ description

std::string description

◆ filename

std::string filename

◆ lineno

int lineno

◆ msg

std::string msg

◆ offset

int offset

◆ offsetstr

std::string offsetstr

◆ type

std::string type

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