Commit a0b2781d authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Let string class name and include file in code generator properties be in sync with vector include.

CCBUG:377611
parent 79bb16e2
...@@ -346,7 +346,7 @@ void CppWriter::writeClassDecl(UMLClassifier *c, QTextStream &cpp) ...@@ -346,7 +346,7 @@ void CppWriter::writeClassDecl(UMLClassifier *c, QTextStream &cpp)
} }
writeBlankLine(cpp); writeBlankLine(cpp);
cpp << "#include <" << policyExt()->getStringClassNameInclude() << ">" << m_endl; cpp << "#include " << policyExt()->getStringClassNameInclude() << m_endl;
if (c->hasVectorFields()) if (c->hasVectorFields())
{ {
cpp << "#include " << policyExt()->getVectorClassNameInclude() << m_endl; cpp << "#include " << policyExt()->getVectorClassNameInclude() << m_endl;
......
...@@ -464,12 +464,12 @@ ...@@ -464,12 +464,12 @@
<entry name="stringClassName" type="String"> <entry name="stringClassName" type="String">
<label>String Class Name</label> <label>String Class Name</label>
<whatsthis>The name of the string class</whatsthis> <whatsthis>The name of the string class</whatsthis>
<default>string</default> <default>std::string</default>
</entry> </entry>
<entry name="stringClassNameInclude" type="String"> <entry name="stringClassNameInclude" type="String">
<label>String Class Name Include</label> <label>String Class Name Include</label>
<whatsthis>The name of the string class to be included</whatsthis> <whatsthis>The name of the string class to be included</whatsthis>
<default>string</default> <default>&lt;string&gt;</default>
</entry> </entry>
<entry name="stringIncludeIsGlobal" type="Bool"> <entry name="stringIncludeIsGlobal" type="Bool">
<label>String Include is Global</label> <label>String Include is Global</label>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment