Noise Modeler Library  0.1
Library for procedurally generating noise-based terrains and other content
 All Classes Files Functions Variables Enumerations Enumerator Groups Pages
bodygenerator.hpp
1 #ifndef NM_BODYGENERATOR_HPP
2 #define NM_BODYGENERATOR_HPP
3 
4 #include <ostream>
5 
6 namespace nm {
7 
8 class InlineGenerator;
9 
15 {
16 public:
17  virtual void generateBody(InlineGenerator &gen, std::ostream &out) = 0;
18  virtual ~BodyGenerator() {}
19 };
20 
21 } // namespace nm
22 
23 #endif // NM_BODYGENERATOR_HPP
Abstract base class for code generators.
Definition: inlinegenerator.hpp:34
Generates a module body.
Definition: bodygenerator.hpp:14