Test of CompatibilityUtilsTest.
~CompatibilityUtilsTest()
static const std::string T_GROUP_ITEMS
Item to carry concrete editable entity (e.g.
Holds collection of SessionItem objects related to the same tag.
bool insertItem(SessionItem *item, int index)
Inserts item in a vector of children at given index, returns true in the case of success.
Holds info about single tag for SessionItem.
static TagInfo universalTag(std::string name, std::vector< std::string > modelTypes={})
Constructs universal tag intended for unlimited amount of various items.
static TagInfo propertyTag(std::string name, std::string model_type)
Constructs tag intended for single property.
TEST_F(CompatibilityUtilsTest, IsCompatibleSinglePropertyTag)
Testing IsCompatibleSingleProperty.
bool IsCompatibleUniversalTag(const SessionItemContainer &container, const TagInfo &taginfo)
bool IsCompatibleSinglePropertyTag(const SessionItemContainer &container, const TagInfo &taginfo)
bool IsCompatibleGroupTag(const SessionItemContainer &container, const TagInfo &taginfo)
MVVM_MODEL_EXPORT bool IsCompatibleSinglePropertyTag(const SessionItemContainer &container, const TagInfo &taginfo)
Returns true if given TagInfo is a single property tag which is compatible with given container.
MVVM_MODEL_EXPORT bool IsCompatibleUniversalTag(const SessionItemContainer &container, const TagInfo &taginfo)
Returns true if given TagInfo is compatible with given container.
MVVM_MODEL_EXPORT bool IsCompatibleGroupTag(const SessionItemContainer &container, const TagInfo &taginfo)
Returns true if given TagInfo is a tag from GroupItem which is compatible with given container.
const model_type PropertyType
materialitems.h Collection of materials to populate MaterialModel.