Geant4-11
Namespaces | Functions | Variables
pyG4UIcommandTree.cc File Reference
#include <boost/python.hpp>
#include "G4UIcommandTree.hh"

Go to the source code of this file.

Namespaces

namespace  pyG4UIcommandTree
 

Functions

void export_G4UIcommandTree ()
 

Variables

G4UIcommandTree *(G4UIcommandTree::* pyG4UIcommandTree::f1_GetTree )(G4int)
 
G4UIcommandTree *(G4UIcommandTree::* pyG4UIcommandTree::f2_GetTree )(const char *)
 

Function Documentation

◆ export_G4UIcommandTree()

void export_G4UIcommandTree ( )

Definition at line 54 of file pyG4UIcommandTree.cc.

55{
56 class_<G4UIcommandTree, G4UIcommandTree*>
57 ("G4UIcommandTree", "UI command tree")
58 // constructors
59 .def(init<const char*>())
60 // ---
61 .def("FindPath", &G4UIcommandTree::FindPath,
62 return_value_policy<reference_existing_object>())
63 .def("List", &G4UIcommandTree::List)
64 .def("ListCurrent", &G4UIcommandTree::ListCurrent)
65 .def("ListCurrentWithNum", &G4UIcommandTree::ListCurrentWithNum)
66 .def("CreateHTML", &G4UIcommandTree::CreateHTML)
67 .def("GetGuidance", &G4UIcommandTree::GetGuidance,
68 return_value_policy<reference_existing_object>())
69 .def("GetPathName", &G4UIcommandTree::GetPathName,
70 return_value_policy<return_by_value>())
71 // ---
72 .def("GetTreeEntry", &G4UIcommandTree::GetTreeEntry)
73 .def("GetCommandEntry", &G4UIcommandTree::GetCommandEntry)
74 .def("GetTree", f1_GetTree,
75 return_value_policy<reference_existing_object>())
76 .def("GetTree", f2_GetTree,
77 return_value_policy<reference_existing_object>())
78 .def("GetCommand", &G4UIcommandTree::GetCommand,
79 return_value_policy<reference_existing_object>())
80 // ---
81 .def("GetTitle", &G4UIcommandTree::GetTitle)
82 ;
83}
G4int GetCommandEntry() const
const G4UIcommand * GetGuidance() const
G4UIcommand * GetCommand(G4int i)
const G4String & GetPathName() const
G4int GetTreeEntry() const
void List() const
void ListCurrentWithNum() const
const G4String GetTitle() const
G4UIcommand * FindPath(const char *commandPath) const
void CreateHTML(G4String="")
void ListCurrent() const
G4UIcommandTree *(G4UIcommandTree::* f1_GetTree)(G4int)
G4UIcommandTree *(G4UIcommandTree::* f2_GetTree)(const char *)

References G4UIcommandTree::CreateHTML(), pyG4UIcommandTree::f1_GetTree, pyG4UIcommandTree::f2_GetTree, G4UIcommandTree::FindPath(), G4UIcommandTree::GetCommand(), G4UIcommandTree::GetCommandEntry(), G4UIcommandTree::GetGuidance(), G4UIcommandTree::GetPathName(), G4UIcommandTree::GetTitle(), G4UIcommandTree::GetTreeEntry(), G4UIcommandTree::List(), G4UIcommandTree::ListCurrent(), and G4UIcommandTree::ListCurrentWithNum().

Referenced by BOOST_PYTHON_MODULE().