32 #include <boost/python.hpp> 33 #include "G4UIcommandTree.hh" 44 &G4UIcommandTree::GetTree;
45 G4UIcommandTree*(G4UIcommandTree::*
f2_GetTree)(
const char*)=
46 &G4UIcommandTree::GetTree;
57 class_<G4UIcommandTree, G4UIcommandTree*>
58 (
"G4UIcommandTree",
"UI command tree")
60 .def(init<const char*>())
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)
72 .def(
"GetTreeEntry", &G4UIcommandTree::GetTreeEntry)
73 .def(
"GetCommandEntry", &G4UIcommandTree::GetCommandEntry)
75 return_value_policy<reference_existing_object>())
77 return_value_policy<reference_existing_object>())
78 .def(
"GetCommand", &G4UIcommandTree::GetCommand,
79 return_value_policy<reference_existing_object>())
81 .def(
"GetTitle", &G4UIcommandTree::GetTitle)
void export_G4UIcommandTree()
G4UIcommandTree *(G4UIcommandTree::* f2_GetTree)(const char *)
G4UIcommandTree *(G4UIcommandTree::* f1_GetTree)(G4int)