1 #include <creaImageIOTreeLevelDescriptor.h>
2 #include <creaImageIOSystem.h>
8 /// Adds the AttributeDescriptor to the list
9 void LevelDescriptor::Add(const AttributeDescriptor& a)
11 GimmickMessage(5,"Adding Attribute Descriptor '"<<a.GetKey()
12 <<"' to LevelDescriptor"
14 mAttributeDescriptorList.push_back(a);
15 if ( a.GetFlags() & AttributeDescriptor::IDENTIFIER )
17 GimmickMessage(6,"Is an IDENTIFIER"<<std::endl);
18 mIdentifierList.push_back(a.GetKey());
20 if ( a.GetFlags() & AttributeDescriptor::LABEL )
22 GimmickMessage(6,"Is a LABEL"<<std::endl);
23 mLabelList.push_back(a.GetKey());