mirror of
https://github.com/nasa/trick.git
synced 2024-12-24 15:26:41 +00:00
34 lines
458 B
C++
34 lines
458 B
C++
|
/**
|
||
|
@file
|
||
|
|
||
|
@verbatim
|
||
|
PURPOSE: (Namespace Test)
|
||
|
PYTHON_MODULE: (Foo)
|
||
|
@endverbatim
|
||
|
*******************************************************************************/
|
||
|
|
||
|
#ifndef FOOFOOD_HH
|
||
|
#define FOOFOOD_HH
|
||
|
|
||
|
#include <iostream>
|
||
|
|
||
|
namespace Foo {
|
||
|
|
||
|
enum Fast {
|
||
|
Taco,
|
||
|
Pizza,
|
||
|
Burger
|
||
|
};
|
||
|
|
||
|
class Food {
|
||
|
public:
|
||
|
Food() : fast(Taco) {}
|
||
|
void print_me() { std::cout << "Foo::Food::print_me!" << std::endl; }
|
||
|
Fast fast;
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif /* _BALL_HH_ */
|
||
|
|