LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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 54 of file pyG4UIcommandTree.cc.

References pyG4UIcommandTree::f1_GetTree, and pyG4UIcommandTree::f2_GetTree.

Referenced by BOOST_PYTHON_MODULE().

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  // ---
71  .def("GetTreeEntry", &G4UIcommandTree::GetTreeEntry)
72  .def("GetCommandEntry", &G4UIcommandTree::GetCommandEntry)
73  .def("GetTree", f1_GetTree,
74  return_value_policy<reference_existing_object>())
75  .def("GetTree", f2_GetTree,
76  return_value_policy<reference_existing_object>())
77  .def("GetCommand", &G4UIcommandTree::GetCommand,
78  return_value_policy<reference_existing_object>())
79  // ---
80  .def("GetTitle", &G4UIcommandTree::GetTitle)
81  ;
82 }
G4UIcommandTree *(G4UIcommandTree::* f2_GetTree)(const char *)
G4UIcommandTree *(G4UIcommandTree::* f1_GetTree)(G4int)