Lines Matching refs:def
46 .def(pybind11::init<>())
47 .def(pybind11::init<double, sc_core::sc_time_unit>())
48 .def(pybind11::init<const sc_core::sc_time &>())
51 .def("value", &sc_core::sc_time::value)
52 .def("to_double", &sc_core::sc_time::to_double)
53 .def("to_seconds", &sc_core::sc_time::to_seconds)
54 .def("to_string", &sc_core::sc_time::to_string)
55 .def("__str__", &sc_core::sc_time::to_string)
58 .def(pybind11::self == pybind11::self)
59 .def(pybind11::self != pybind11::self)
60 .def(pybind11::self < pybind11::self)
61 .def(pybind11::self <= pybind11::self)
62 .def(pybind11::self > pybind11::self)
63 .def(pybind11::self >= pybind11::self)
64 .def(pybind11::self += pybind11::self)
65 .def(pybind11::self -= pybind11::self)
66 .def(pybind11::self *= double())
67 .def(pybind11::self /= double())