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