PhoenixGenerator  3.4.0
Generate code from template files and projects in C++, Rust, Python and wrapped C++ to Python
Loading...
Searching...
No Matches
RustTraitTypeStream.cpp
Go to the documentation of this file.
1/***************************************
2 Auteur : Pierre Aubert
3 Mail : pierre.aubert@lapp.in2p3.fr
4 Licence : LGPL-3.0-only
5****************************************/
6
8
11
14void RustTraitTypeStream::headerExtraInclude(std::ofstream & fs, const GeneratorMode & mode) const{
15 if(!mode.enableTypeStream){
16 return;
17 }
18 fs << "use rustyphoenixtypestream::impl_typestream_type;";
19 fs << std::endl;
20}
virtual void headerExtraInclude(std::ofstream &fs, const GeneratorMode &mode) const
Rust trait generating header use Add extra include on the header.
All the genertor modes.
bool enableTypeStream
True to enable type stream interface generator.