mirror of
https://github.com/nasa/trick.git
synced 2025-06-15 05:38:19 +00:00
Adding doxygen style python module desgnation.
Adding another file to example that shows 2 files in same namespace.
This commit is contained in:
33
test/SIM_python_namespace/models/FooYummyFood.hh
Normal file
33
test/SIM_python_namespace/models/FooYummyFood.hh
Normal file
@ -0,0 +1,33 @@
|
||||
/**
|
||||
@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_ */
|
||||
|
Reference in New Issue
Block a user