LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
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 pyG4UIcommandTree::f1_GetTree, and pyG4UIcommandTree::f2_GetTree.

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 }
G4UIcommandTree *(G4UIcommandTree::* f2_GetTree)(const char *)
G4UIcommandTree *(G4UIcommandTree::* f1_GetTree)(G4int)