A namespace encapsulating functions to interface HippoDraw classes to Python using Boost.Python. More...
Functions | |
void | export_Canvas () |
Exports the PyCanvas class to Python. | |
void | export_CanvasWindow () |
Exports the CanvasWindow class to Python. | |
void | export_CircularBuffer () |
Exports the CircularBuffer class to Python. | |
void | export_Color () |
Exports to Python the Color class and its enumerations. | |
void | export_CutController () |
Exports CutContoller class to Python. | |
void | export_DataArray () |
Export PyDataSourceWrapper. | |
void | export_DataRep () |
Exports the PyDataRep class to Python. | |
void | export_DataSource () |
Exports the DataSource class to Python. | |
void | export_Factory_PointRep () |
Exports the template base class of PointRepFactory. | |
void | export_FCNBase () |
Export the base class of objective functions. | |
void | export_FitsController () |
Exports the FitsController. | |
void | export_FitsNTuple () |
Exports the FitsNTuple. | |
void | export_Fitter () |
Exports the Fitter class to Python. | |
void | export_FitterFactory () |
Exports the FitterFactory. | |
void | export_Function () |
Exports the PyFunctionRep class to Python. | |
void | export_FunctionBase () |
Export the FunctionBase and its FunctionWrap. | |
void | export_FunctionFactory () |
Exports the FitterFactory. | |
void | export_HDApp () |
Exports the PyApp class to Python. | |
void | export_LineStyle () |
Export hippodraw::LineStyle enumeration. | |
void | export_ListTuple () |
Exports the ListTuple class to Python. | |
void | export_NTuple () |
Exports the NTuple class to Python. | |
void | export_NTupleController () |
Exports the NTupleController class to Python. | |
void | export_NTupleFCN () |
Exports the base class of data source objective functions. | |
void | export_NumArrayTuple () |
Exports the NumArrayTuple class to Python. | |
void | export_Observer () |
Exports the Observer class to Python. | |
void | export_PointRepFactory () |
Exports the PointRepFactory class to Python. | |
void | export_PyNTuple () |
Exports the PyNTuple class to Python. | |
void | export_QtCut () |
Exports the QtCut class to Python. | |
void | export_QtDisplay () |
Exports the QtDisplay class to Python. | |
void | export_RepBase () |
Exports the RepBase class to Python. | |
void | export_RootController () |
Exports the RootController. | |
void | export_RootNTuple () |
Exports the RootNTuple. | |
void | export_StatedFCN () |
Export the base class of stated objective functions. | |
void | export_SymbolType () |
Export hippodraw::Symbo::lType enum. | |
void | exportToPython () |
Exports HippoDraw C++ classes to Python. | |
void | PyDataSourceExceptionTranslator (const PyDataSource::StopIteration &e) |
void | translate (const std::exception &e) |
Translate a C++ exception to a Python one. |
A namespace encapsulating functions to interface HippoDraw classes to Python using Boost.Python.
For the list of C++ member functions that are exported, see which functions are referenced by the functions declared in this name space.
void export_CanvasWindow | ( | ) |
Exports the CanvasWindow class to Python.
Directly exports CanvasWindow to Python. There is no locking and unlocking of QApplication singleton object, so this object must be instantiated from the same thread as the QApplication object.
void export_CircularBuffer | ( | ) |
Exports the CircularBuffer class to Python.
Directly exports CircularBuffer to Python. There is no locking and unlocking of the QApplication singleton object. However, since invoking member functions of this class do not directly change the GUI, they may be invoked from any thread.
void export_CutController | ( | ) |
Exports CutContoller class to Python.
void export_DataArray | ( | ) |
Export PyDataSourceWrapper.
Definition at line 148 of file PyDataSource.cxx.
References PyDataSource::addColumn(), PyDataSource::addRow(), PyDataSource::append(), PyDataSource::columnAsNumArray(), PyDataSource::columns(), PyDataSource::dataSource(), PyDataSource::getColumn(), PyDataSource::getCurrentDataSource(), PyDataSource::getLabels(), PyDataSource::getTitle(), PyDataSource::hasColumn(), PyDataSourceExceptionTranslator(), PyDataSource::registerNTuple(), PyDataSource::replaceColumn(), PyDataSource::rows(), PyDataSource::saveColumnFrom(), PyDataSource::saveColumnFromNumArray(), PyDataSource::setName(), and PyDataSource::setTitle().
void export_DataRep | ( | ) |
Exports the PyDataRep class to Python.
Definition at line 47 of file PyDataRep.cxx.
References PyDataRep::addCut(), PyDataRep::applyCut(), PyDataRep::applyCuts(), PyDataRep::colorNames(), PyDataRep::createNTuple(), PyDataRep::createNTupleUnderRegion(), PyDataRep::getBinWidth(), PyDataRep::getColumnWithCuts(), PyDataRep::getMean(), PyDataRep::getNTupleWithCuts(), PyDataRep::getRMS(), PyDataRep::name(), PyDataRep::names(), PyDataRep::normalizeTo(), PyDataRep::numberOfEntries(), PyDataRep::set(), PyDataRep::setAxisBinding(), PyDataRep::setAxisBindings(), PyDataRep::setBinWidth(), PyDataRep::setColor(), PyDataRep::setCutRange(), PyDataRep::setErrorDisplay(), PyDataRep::setLineStyle(), PyDataRep::setPointRep(), PyDataRep::setSize(), PyDataRep::setSymbol(), and PyDataRep::setWeight().
void export_DataSource | ( | ) |
Exports the DataSource class to Python.
Directly exports the DataSource class to Python. There is no locking and unlocking of the QApplication singleton object. However, since invoking member functions of this class do not directly change the GUI, they may be invoked from any thread.
void export_Factory_PointRep | ( | ) |
Exports the template base class of PointRepFactory.
void export_FCNBase | ( | ) |
Export the base class of objective functions.
void export_FitsController | ( | ) |
Exports the FitsController.
void export_FitsNTuple | ( | ) |
Exports the FitsNTuple.
void export_FitterFactory | ( | ) |
Exports the FitterFactory.
void export_Function | ( | ) |
Exports the PyFunctionRep class to Python.
Definition at line 39 of file PyFunctionRep.cxx.
References PyFunctionRep::addTo(), PyFunctionRep::createResidualsDisplay(), PyFunctionRep::degreesOfFreedom(), PyFunctionRep::fitFunction(), PyFunctionRep::getFitterName(), PyFunctionRep::objectiveValue(), PyFunctionRep::parameters(), PyFunctionRep::parmNames(), PyFunctionRep::principleErrors(), PyFunctionRep::setFitRange(), PyFunctionRep::setFitRangeEnabled(), PyFunctionRep::setFitter(), PyFunctionRep::setFixedFlags(), and PyFunctionRep::setParameters().
void export_FunctionBase | ( | ) |
Export the FunctionBase and its FunctionWrap.
Definition at line 34 of file FunctionWrap.cxx.
References FunctionBase::getParameters(), FunctionWrap::initialize(), FunctionBase::name(), FunctionBase::parmNames(), FunctionWrap::setName(), FunctionBase::setParameters(), and FunctionWrap::setParmNames().
void export_FunctionFactory | ( | ) |
Exports the FitterFactory.
void export_HDApp | ( | ) |
Exports the PyApp class to Python.
Definition at line 51 of file PyApp.cxx.
References PyApp::currentCanvas(), PyApp::exec(), PyApp::hasTerminated(), PyApp::instance(), PyApp::lock(), PyApp::openDocument(), PyApp::quit(), PyApp::quitOnLastWindowClose(), and PyApp::unlock().
void export_LineStyle | ( | ) |
Export hippodraw::LineStyle enumeration.
void export_ListTuple | ( | ) |
Exports the ListTuple class to Python.
Directly exports ListTuple to Python. There is no locking and unlocking of the QApplication singleton object. However, since invoking member functions of this class do not directly change the GUI, they may be invoked from any thread.
void export_NTuple | ( | ) |
Exports the NTuple class to Python.
Directly exports NTuple to Python. There is no locking and unlocking of the QApplication singleton object. However, since invoking member functions of this class do not directly change the GUI, they may be invoked from any thread.
void export_NTupleController | ( | ) |
Exports the NTupleController class to Python.
void export_NTupleFCN | ( | ) |
Exports the base class of data source objective functions.
void export_NumArrayTuple | ( | ) |
Exports the NumArrayTuple class to Python.
void export_Observer | ( | ) |
Exports the Observer class to Python.
Definition at line 34 of file ObserverWrap.cxx.
void export_PointRepFactory | ( | ) |
Exports the PointRepFactory class to Python.
void export_PyNTuple | ( | ) |
Exports the PyNTuple class to Python.
Directly exports PyNTuple to Python. There is locking and unlocking of the QApplication singleton object where needed.
void export_QtDisplay | ( | ) |
Exports the QtDisplay class to Python.
Definition at line 73 of file QtDisplay.cxx.
References QtDisplay::addDataRep(), QtDisplay::addDataRepStacked(), QtDisplay::addFunction(), QtDisplay::addObserver(), QtDisplay::addValues(), QtDisplay::applyCut(), QtDisplay::applyCuts(), QtDisplay::createDataArray(), QtDisplay::createNTuple(), QtDisplay::currentView(), QtDisplay::deleteView(), QtDisplay::getBinWidth(), QtDisplay::getDataRep(), QtDisplay::getDataReps(), QtDisplay::getLabel(), QtDisplay::getLog(), QtDisplay::getRange(), QtDisplay::getTitle(), QtDisplay::nextView(), QtDisplay::numberOfEntries(), QtDisplay::numViews(), QtDisplay::plotterId(), QtDisplay::reset(), QtDisplay::resize(), QtDisplay::saveView(), QtDisplay::setAspectRatio(), QtDisplay::setAutoRanging(), QtDisplay::setAutoTicks(), QtDisplay::setBinWidth(), QtDisplay::setColorMap(), QtDisplay::setContourLevels(), QtDisplay::setLabel(), QtDisplay::setLog(), QtDisplay::setNumberOfBins(), QtDisplay::setOffset(), QtDisplay::setPointRep(), QtDisplay::setRange(), QtDisplay::setTicks(), QtDisplay::setTitle(), QtDisplay::setTransform(), QtDisplay::setView(), QtDisplay::unlock(), and QtDisplay::update().
void export_RootController | ( | ) |
Exports the RootController.
void export_RootNTuple | ( | ) |
Exports the RootNTuple.
void export_StatedFCN | ( | ) |
Export the base class of stated objective functions.
void export_SymbolType | ( | ) |
Export hippodraw::Symbo::lType enum.
void exportToPython | ( | ) |
Exports HippoDraw C++ classes to Python.
Call this function from within a BOOST_PYTHON_MODULE definition to incorporate HippoDraw classes within that module.
Referenced by BOOST_PYTHON_MODULE().
void hippodraw::Python::PyDataSourceExceptionTranslator | ( | const PyDataSource::StopIteration & | e | ) |
Definition at line 143 of file PyDataSource.cxx.
References StopIteration::what().
Referenced by export_DataArray().
void hippodraw::Python::translate | ( | const std::exception & | e | ) |
Translate a C++ exception to a Python one.
The exception e must a derived class of std::exception.
Definition at line 53 of file exportToPython.cxx.