![]() |
|
PhoenixGenerator
2.2.0
Set of tools to generate code
|
#include "ProjectParam.h"
Include dependency graph for nanobind_generator.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| bool | generator_nanobind_class (const PNanobindTraitBackendManager &manager, const PPath &sourceFile, const PPath &headerFile, const PVecClassConfig &vecClassConfig, const GeneratorMode &mode) |
| bool | generator_nanobind_full (const PNanobindTraitBackendManager &manager, const ProjectParam &projectParam) |
| Generate the full sources and related unit tests from configuration. | |
| bool | generator_nanobind_test (const PNanobindTraitBackendManager &manager, const PPath &outputTestDir, const std::vector< PClassConfig > &vecClassConfig, const PString &projectName, const PPath &baseFileName, const GeneratorMode &mode) |
| bool generator_nanobind_class | ( | const PNanobindTraitBackendManager & | manager, |
| const PPath & | sourceFile, | ||
| const PPath & | headerFile, | ||
| const PVecClassConfig & | vecClassConfig, | ||
| const GeneratorMode & | mode ) |
| bool generator_nanobind_full | ( | const PNanobindTraitBackendManager & | manager, |
| const ProjectParam & | projectParam ) |
Generate the full sources and related unit tests from configuration.
| manager | : PTraitBackendManager which handles all trait backend |
| projectParam | : description of classes and how and where to generate sources and test |
Definition at line 83 of file nanobind_generator.cpp.
References generator_nanobind_class(), generator_nanobind_test(), ProjectParam::mode, ProjectParam::name, ProjectParam::outputSourceDir, ProjectParam::outputTestDir, and ProjectParam::vecDataConfig.
Referenced by generateNanobindClassesFull().
Here is the call graph for this function:
Here is the caller graph for this function:| bool generator_nanobind_test | ( | const PNanobindTraitBackendManager & | manager, |
| const PPath & | outputTestDir, | ||
| const std::vector< PClassConfig > & | vecClassConfig, | ||
| const PString & | projectName, | ||
| const PPath & | baseFileName, | ||
| const GeneratorMode & | mode ) |
Definition at line 61 of file nanobind_generator.cpp.
References PNanobindTraitBackendManager::headerTestInclude(), and PNanobindTraitBackendManager::testFunction().
Referenced by generator_nanobind_full().
Here is the call graph for this function:
Here is the caller graph for this function: