Searched refs:Widget (Results 1 - 5 of 5) sorted by relevance

/gem5/ext/googletest/googletest/xcode/Samples/FrameworkSample/
H A Dwidget.cc36 // Widget is a very simple class used for demonstrating the use of gtest
40 Widget::Widget(int number, const std::string& name) function in class:Widget
44 Widget::~Widget() {}
46 float Widget::GetFloatValue() const {
50 int Widget::GetIntValue() const {
54 std::string Widget::GetStringValue() const {
58 void Widget::GetCharPtrValue(char* buffer, size_t max_size) const {
H A Dwidget.h36 // Widget is a very simple class used for demonstrating the use of gtest. It
42 class Widget { class
44 Widget(int number, const std::string& name);
45 ~Widget();
H A Dwidget_test.cc36 // This is a simple test file for the Widget class in the Widget.framework
41 #include <Widget/widget.h>
44 // Widget class correctly.
46 Widget widget(1.0f, "name");
54 Widget widget(1.0f, "name");
/gem5/ext/pybind11/tests/test_embed/
H A Dtest_interpreter.py1 from widget_module import Widget
4 class DerivedWidget(Widget):
H A Dtest_interpreter.cpp18 class Widget { class
20 Widget(std::string message) : message(message) { } function in class:Widget
21 virtual ~Widget() = default;
30 class PyWidget final : public Widget {
31 using Widget::Widget;
33 int the_answer() const override { PYBIND11_OVERLOAD_PURE(int, Widget, the_answer); }
37 py::class_<Widget, PyWidget>(m, "Widget")
39 .def_property_readonly("the_message", &Widget
[all...]

Completed in 10 milliseconds