#ifndef DM_ATTRIBUTESCOLORT_HPP #define DM_ATTRIBUTESCOLORT_HPP #include "tools/attributes/worker/dm_attributescolort.h" template DM_AttributesColorT::DM_AttributesColorT() : DM_AbstractAttributesColor() { m_ac = NULL; } template bool DM_AttributesColorT::setTypeAttributes(const Type *ta, const CT_AttributesColor *ac) { if(ta != dynamic_cast(ac)) return false; setAttributes(ta); m_ac = (CT_AttributesColor*)ac; return true; } template void DM_AttributesColorT::attributesDeleted() { m_ac = NULL; } template CT_AttributesColor* DM_AttributesColorT::colorAttributes() const { return m_ac; } template Type* DM_AttributesColorT::abstractTypeAttributes() const { return dynamic_cast(abstractAttributes()); } #endif // DM_ATTRIBUTESCOLORT_HPP