Noise Modeler Library  0.1
Library for procedurally generating noise-based terrains and other content
 All Classes Files Functions Variables Enumerations Enumerator Groups Pages
functioncallbodygenerator.hpp
1 #ifndef NM_FUNCTIONCALLBODYGENERATOR_HPP
2 #define NM_FUNCTIONCALLBODYGENERATOR_HPP
3 
4 #include <nmlib/codegeneration/inlinegenerator.hpp>
5 #include <nmlib/codegeneration/bodygenerator.hpp>
6 
7 namespace nm {
8 
14 {
15 public:
16  template<typename T>
18  m_fcall(std::forward(t)){}
19  virtual void generateBody(InlineGenerator &gen, std::ostream &out) override;
20 private:
21  FunctionCall m_fcall;
22 };
23 
24 } // namespace nm
25 
26 #endif // NM_FUNCTIONCALLBODYGENERATOR_HPP
Definition: inlinegenerator.hpp:132
The FunctionCallBodyGenerator class.
Definition: functioncallbodygenerator.hpp:13
Abstract base class for code generators.
Definition: inlinegenerator.hpp:34
Generates a module body.
Definition: bodygenerator.hpp:14