Code generation
You can also a PhoenixFileGenerator code generator to save time when you define data you want to exchange with classes.
Our previous example can be defined with a simple configuration in the file Shadok.pdata :
///@brief Test Shadok
Shadok {
///Age of the Shadok
int age;
///Name of the Shadok
std::string name;
}
Then, you can call :
To generate the corresponding Shadok class with the PhoenixDataStream interface.