PageRenderTime 40ms CodeModel.GetById 35ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 1// Basic C++ class to test the Liberty Eiffel C++ interface
 2class Foo {
 3
 4private:
 5
 6  int integer_attribute;
 7
 8  float real_attribute;
 9
10public:
11
12  int get_integer();
13
14  float get_real();
15
16  void set_integer(int i);
17
18  void set_real(float r);
19
20};
21