bool ndt::fixed_string_kind_type::operator==(const base_type &rhs) const { if (this == &rhs) { return true; } else { return rhs.get_kind() == kind_kind && rhs.get_type_id() == fixed_string_type_id; } }
bool ndt::categorical_kind_type::operator==(const base_type &rhs) const { if (this == &rhs) { return true; } else { return rhs.get_kind() == kind_kind && rhs.get_type_id() == categorical_type_id; } }
bool ndt::fixed_dim_kind_type::operator==(const base_type &rhs) const { if (this == &rhs) { return true; } else if (rhs.get_type_id() != fixed_dim_type_id) { return false; } else if (rhs.get_kind() != kind_kind) { return false; } else { const fixed_dim_kind_type *dt = static_cast<const fixed_dim_kind_type *>(&rhs); return m_element_tp == dt->m_element_tp; } }