31 #include <boost/python.hpp> 32 #include "G4UIcommandTree.hh" 43 &G4UIcommandTree::GetTree;
44 G4UIcommandTree*(G4UIcommandTree::*
f2_GetTree)(
const char*)=
45 &G4UIcommandTree::GetTree;
56 class_<G4UIcommandTree, G4UIcommandTree*>
57 (
"G4UIcommandTree",
"UI command tree")
59 .def(init<const char*>())
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)
71 .def(
"GetTreeEntry", &G4UIcommandTree::GetTreeEntry)
72 .def(
"GetCommandEntry", &G4UIcommandTree::GetCommandEntry)
74 return_value_policy<reference_existing_object>())
76 return_value_policy<reference_existing_object>())
77 .def(
"GetCommand", &G4UIcommandTree::GetCommand,
78 return_value_policy<reference_existing_object>())
80 .def(
"GetTitle", &G4UIcommandTree::GetTitle)
void export_G4UIcommandTree()
G4UIcommandTree *(G4UIcommandTree::* f2_GetTree)(const char *)
G4UIcommandTree *(G4UIcommandTree::* f1_GetTree)(G4int)