Add support for "allowduplicate" attribute on chainable structures.

This commit is contained in:
asuessenbach
2020-05-11 11:52:25 +02:00
committed by Markus Tavenrath
parent 306d2ce9c3
commit 8958396a0c
4 changed files with 1361 additions and 815 deletions

View File

@@ -208,11 +208,12 @@ private:
struct StructureData
{
StructureData( std::vector<std::string> const & extends, int line )
: returnedOnly( false ), isUnion( false ), structExtends( extends ), xmlLine( line )
: structExtends( extends ), xmlLine( line )
{}
bool returnedOnly;
bool isUnion;
bool allowDuplicate = false;
bool isUnion = false;
bool returnedOnly = false;
std::vector<MemberData> members;
std::vector<std::string> structExtends;
std::set<std::string> aliases;