Back to index

cell-binutils  2.17cvs20070401
cdtest-foo.h
Go to the documentation of this file.
00001 // Class Foo
00002 
00003 #pragma interface
00004 
00005 #define FOOLISH_NUMBER -4711
00006 
00007 #ifndef FOO_MSG_LEN
00008 #define FOO_MSG_LEN 80
00009 #endif
00010  
00011 class Foo {
00012     static int foos;
00013     int i;
00014     static const int len = FOO_MSG_LEN;
00015     char message[len];
00016 public: 
00017     static void init_foo ();
00018     static int nb_foos() { return foos; }
00019     Foo();
00020     Foo(const char* message);
00021     Foo(const Foo&);
00022     Foo & operator= (const Foo&);
00023     ~Foo ();
00024 };