18 register_ptr_to_python<FacilityInfo *>();
20 class_<FacilityInfo>(
"FacilityInfo", no_init)
21 .def(
"name", &
FacilityInfo::name, arg(
"self"), return_value_policy<copy_const_reference>(),
22 "Returns name of the facility as definined in the Facilities.xml "
24 .def(
"__str__", &
FacilityInfo::name, arg(
"self"), return_value_policy<copy_const_reference>(),
25 "Returns name of the facility as definined in the Facilities.xml "
29 "Returns the delimiter between the instrument name and the run "
32 "Returns the list of file extensions that are considered as "
33 "instrument data files.")
35 return_value_policy<copy_const_reference>(),
"Returns the extension that is preferred for this facility")
37 "Returns the timezone appropriate for the facility. If there is not "
38 "a timezone specified this returns an empty string.")
40 "Return the archive search interface names")
42 arg(
"self"), return_value_policy<copy_const_reference>(),
43 "Returns a list of instruments of this facility as defined in the "
44 "Facilities.xml file")
48 (arg(
"self"), arg(
"technique")),
"Returns a list of instruments of given technique")
50 return_value_policy<copy_const_reference>(),
"Returns the instrument with the given name");