trick/test/SIM_python_namespace/models/FooYummyFood.hh
Alex Lin 41f151f2ee Adding doxygen style python module desgnation.
Adding another file to example that shows 2 files in same namespace.
2019-03-14 09:33:50 -05:00

34 lines
493 B
C++

/**
@file
@verbatim
PURPOSE: (Namespace Test)
PYTHON_MODULE: (Foo)
@endverbatim
*******************************************************************************/
#ifndef FOOYUMMYFOOD_HH
#define FOOYUMMYFOOD_HH
#include <iostream>
namespace Foo {
enum Yummy {
Butter,
Bacon,
Doughnuts
};
class YummyFood {
public:
YummyFood() : yummy(Bacon) {}
void print_me() { std::cout << "Foo::YummyFood::print_me!" << std::endl; }
Yummy yummy;
};
}
#endif /* _BALL_HH_ */