Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions | Variables
pyG4UIcommandTree.cc File Reference
#include <boost/python.hpp>
#include "G4UIcommandTree.hh"

Go to the source code of this file.

Namespaces

 pyG4UIcommandTree
 

Functions

void export_G4UIcommandTree ()
 

Variables

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

Function Documentation

void export_G4UIcommandTree ( )

Definition at line 55 of file pyG4UIcommandTree.cc.

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().

56 {
57  class_<G4UIcommandTree, G4UIcommandTree*>
58  ("G4UIcommandTree", "UI command tree")
59  // constructors
60  .def(init<const char*>())
61  // ---
62  .def("FindPath", &G4UIcommandTree::FindPath,
63  return_value_policy<reference_existing_object>())
64  .def("List", &G4UIcommandTree::List)
65  .def("ListCurrent", &G4UIcommandTree::ListCurrent)
66  .def("ListCurrentWithNum", &G4UIcommandTree::ListCurrentWithNum)
67  .def("CreateHTML", &G4UIcommandTree::CreateHTML)
68  .def("GetGuidance", &G4UIcommandTree::GetGuidance,
69  return_value_policy<reference_existing_object>())
70  .def("GetPathName", &G4UIcommandTree::GetPathName)
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 }
G4UIcommand * FindPath(const char *commandPath) const
G4int GetCommandEntry() const
G4UIcommand * GetCommand(G4int i)
G4int GetTreeEntry() const
G4UIcommandTree *(G4UIcommandTree::* f2_GetTree)(const char *)
void ListCurrent() const
void ListCurrentWithNum() const
const G4String GetPathName() const
const G4String GetTitle() const
const G4UIcommand * GetGuidance() const
G4UIcommandTree *(G4UIcommandTree::* f1_GetTree)(G4int)
void List() const