|  | 
|  | CppExporter (bool usingNamespace=false, bool usingVariableNames=true) | 
|  | 
| virtual | ~CppExporter () FL_IOVERRIDE | 
|  | 
| virtual std::string | name () const FL_IOVERRIDE | 
|  | Returns the name of the exporter.  More... 
 | 
|  | 
| virtual std::string | toString (const Engine *engine) const FL_IOVERRIDE | 
|  | Returns a string representation of the engine.  More... 
 | 
|  | 
| virtual void | setUsingNamespace (bool usingNamespace) | 
|  | Sets whether the fl namespace of the library is prepended to types (e.g., fl::Engine)  More... 
 | 
|  | 
| virtual bool | isUsingNamespace () const | 
|  | Gets whether the fl namespace of the library is prepended to types (e.g., fl::Engine)  More... 
 | 
|  | 
| virtual std::string | fl (const std::string &clazz) const | 
|  | Returns the given text prepended with the flnamespace if CppExporter::isUsingNamespace istrue, or the text otherwise.  More...
 | 
|  | 
| virtual void | setUsingVariableNames (bool usingVariableNames) | 
|  | Sets whether variables are exported using their names (e.g., power->setValue(fl::nan)) instead of numbered identifiers (e.g.,inputVariable1->setValue(fl::nan))  More...
 | 
|  | 
| virtual bool | isUsingVariableNames () const | 
|  | Gets whether variables are exported using their names (e.g., power->setValue(fl::nan)) instead of numbered identifiers (e.g.,inputVariable1->setValue(fl::nan))  More...
 | 
|  | 
| virtual std::string | toString (const InputVariable *inputVariable, const Engine *engine) const | 
|  | Returns a string representation of InputVariable in the C++programming language.  More...
 | 
|  | 
| virtual std::string | toString (const OutputVariable *outputVariable, const Engine *engine) const | 
|  | Returns a string representation of the OutputVariable in the C++programming language.  More...
 | 
|  | 
| virtual std::string | toString (const RuleBlock *ruleBlock, const Engine *engine) const | 
|  | Returns a string representation of the RuleBlock in the C++programming language.  More...
 | 
|  | 
| virtual std::string | toString (const Activation *activation) const | 
|  | Returns a string representation of the Activation method in the C++programming language.  More...
 | 
|  | 
| virtual std::string | toString (scalar value) const | 
|  | Returns a string representation of the scalar value in the C++programming language.  More...
 | 
|  | 
| virtual std::string | toString (const Hedge *hedge) const | 
|  | Returns a string representation of the Hedge in the C++programming language.  More...
 | 
|  | 
| virtual std::string | toString (const Term *term) const | 
|  | Returns a string representation of the Term in the C++programming language.  More...
 | 
|  | 
| virtual std::string | toString (const Norm *norm) const | 
|  | Returns a string representation of the Norm in the C++programming language.  More...
 | 
|  | 
| virtual std::string | toString (const Defuzzifier *defuzzifier) const | 
|  | Returns a string representation of the Defuzzifier in the C++programming language.  More...
 | 
|  | 
| virtual CppExporter * | clone () const FL_IOVERRIDE | 
|  | Creates a clone of the exporter.  More... 
 | 
|  | 
|  | Exporter () | 
|  | 
| virtual | ~Exporter () | 
|  | 
| virtual void | toFile (const std::string &path, const Engine *engine) const | 
|  | Stores the string representation of the engine into the specified file.  More... 
 | 
|  | 
The CppExporter class is an Exporter that translates an Engine and its components to the C++ programming language using the fuzzylite library. 
- Author
- Juan Rada-Vilela, Ph.D. 
- See also
- JavaExporter 
- 
Exporter 
- Since
- 4.0 
Definition at line 43 of file CppExporter.h.