//=========================================================================
//  Copyright (c) Kitware, Inc.
//  All rights reserved.
//  See LICENSE.txt for details.
//
//  This software is distributed WITHOUT ANY WARRANTY; without even
//  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
//  PURPOSE.  See the above copyright notice for more information.
//=========================================================================
// .NAME IntItemDefinition.h -
// .SECTION Description
// .SECTION See Also

#ifndef smtk_attribute_IntItemDefinition_h
#define smtk_attribute_IntItemDefinition_h

#include "smtk/attribute/ValueItemDefinitionTemplate.h"

namespace smtk
{
namespace attribute
{
class SMTKCORE_EXPORT IntItemDefinition : public ValueItemDefinitionTemplate<int>
{
public:
  smtkTypeMacro(smtk::attribute::IntItemDefinition);
  static smtk::attribute::IntItemDefinitionPtr New(const std::string& myName)
  {
    return smtk::attribute::IntItemDefinitionPtr(new IntItemDefinition(myName));
  }

  ~IntItemDefinition() override;
  Item::Type type() const override;
  smtk::attribute::ItemPtr buildItem(Attribute* owningAttribute, int itemPosition) const override;
  smtk::attribute::ItemPtr buildItem(Item* owningItem, int position, int subGroupPosition)
    const override;

  smtk::attribute::ItemDefinitionPtr createCopy(
    smtk::attribute::ItemDefinition::CopyInfo& info) const override;

protected:
  IntItemDefinition(const std::string& myName);

private:
};
} // namespace attribute
} // namespace smtk

#endif /* smtk_attribute_DoubleItemDefinition_h */
