![]() |
|
PhoenixGenerator
3.4.0
Generate code from template files and projects in C++, Rust, Python and wrapped C++ to Python
|
Go to the source code of this file.
Functions | |
| void | class_createCheckClassEquality (std::ofstream &fs, const PClassConfig &classConfig, bool isConst) |
| Create the class check. | |
| void | class_createTestClassCopy (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) |
| Create the class check. | |
| bool | copy_hasPointerAttribute (const PClassConfig &classConfig) |
| Check if the given class owns at least one pointer attribute. | |
| void class_createCheckClassEquality | ( | std::ofstream & | fs, |
| const PClassConfig & | classConfig, | ||
| bool | isConst ) |
Create the class check.
| fs | : file to be completed |
| classConfig | : class configuration to be used |
| isConst | : true if the generated check has to use const classes |
Definition at line 17 of file CppTraitCopy.cpp.
References class_createCheckClassEquality(), getIsSimpleType(), PClassConfig::getListAttribute(), and PClassConfig::getName().
Referenced by class_createCheckClassEquality(), and CppTraitCopy::testFunction().
| void class_createTestClassCopy | ( | std::ofstream & | fs, |
| const PClassConfig & | classConfig, | ||
| const GeneratorMode & | mode ) |
Create the class check.
| fs | : file to be completed |
| classConfig | : class configuration to be used |
| mode | : all modes of the generator (data/check/type/config stream) |
Definition at line 63 of file CppTraitCopy.cpp.
References GeneratorMode::assertCall, class_createTestClassCopy(), PClassConfig::getListAttribute(), PClassConfig::getName(), and getTestDefaultValueTypeInCpp().
Referenced by class_createTestClassCopy(), and CppTraitCopy::testFunction().
| bool copy_hasPointerAttribute | ( | const PClassConfig & | classConfig | ) |
Check if the given class owns at least one pointer attribute.
| classConfig | : PClassConfig to be checked |
Definition at line 50 of file CppTraitCopy.cpp.
References copy_hasPointerAttribute(), getIsPointerType(), and PClassConfig::getListAttribute().
Referenced by copy_hasPointerAttribute(), CppTraitCopy::testCallFunction(), and CppTraitCopy::testFunction().