/tutorial/external/C++/Foo.h
http://github.com/tybor/Liberty · C Header · 21 lines · 10 code · 10 blank · 1 comment · 0 complexity · a5b2be536a37060677f894a40e19e581 MD5 · raw file
- // Basic C++ class to test the Liberty Eiffel C++ interface
- class Foo {
- private:
- int integer_attribute;
- float real_attribute;
- public:
- int get_integer();
- float get_real();
- void set_integer(int i);
- void set_real(float r);
- };