bool Linker:: inherit(Specification::shared_ptr const &base) { if (base->type() != Linker::Type()) return false; return inherit(std::static_pointer_cast<Linker>(base)); }
bool ProductType:: inherit(Specification::shared_ptr const &base) { if (base->type() != ProductType::Type()) return false; return inherit(std::static_pointer_cast<ProductType>(base)); }
bool BuildSystem:: inherit(Specification::shared_ptr const &base) { if (base->type() != BuildSystem::Type()) return false; return inherit(reinterpret_cast <BuildSystem::shared_ptr const &> (base)); }
bool PropertyConditionFlavor:: inherit(Specification::shared_ptr const &base) { if (base->type() != PropertyConditionFlavor::Type()) return false; return inherit(reinterpret_cast <PropertyConditionFlavor::shared_ptr const &> (base)); }
bool Linker:: inherit(Specification::shared_ptr const &base) { if (base->type() != Linker::Type()) return false; return inherit(reinterpret_cast <Linker::shared_ptr const &> (base)); }
bool BuildSettings:: inherit(Specification::shared_ptr const &base) { if (base->type() != BuildSettings::Type()) return false; return inherit(std::static_pointer_cast<BuildSettings>(base)); }
bool Specification:: inherit(Specification::shared_ptr const &base) { if (base == nullptr || base.get() == this) return false; _base = base; _clazz = Inherit::Override(_clazz, base->_clazz); _isGlobalDomainInUI = Inherit::Override(_isGlobalDomainInUI, base->_isGlobalDomainInUI); _name = Inherit::Override(_name, base->_name); _description = Inherit::Override(_description, base->_description); _vendor = Inherit::Override(_vendor, base->_vendor); _version = Inherit::Override(_version, base->_version); return true; }