SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
VoidItemDefinition.h
1 //=========================================================================
2 // Copyright (c) Kitware, Inc.
3 // All rights reserved.
4 // See LICENSE.txt for details.
5 //
6 // This software is distributed WITHOUT ANY WARRANTY; without even
7 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8 // PURPOSE. See the above copyright notice for more information.
9 //=========================================================================
10 // .NAME VoidItemDefinition.h -
11 // .SECTION Description
12 // .SECTION See Also
13 
14 #ifndef smtk_attribute_VoidItemDefinition_h
15 #define smtk_attribute_VoidItemDefinition_h
16 
17 #include "smtk/CoreExports.h"
18 #include "smtk/PublicPointerDefs.h"
19 
20 #include "smtk/attribute/ItemDefinition.h"
21 
22 namespace smtk
23 {
24 namespace attribute
25 {
26 class SMTKCORE_EXPORT VoidItemDefinition : public ItemDefinition
27 {
28 public:
30  static smtk::attribute::VoidItemDefinitionPtr New(const std::string& myName)
31  {
33  }
34 
35  ~VoidItemDefinition() override;
36  Item::Type type() const override;
37  smtk::attribute::ItemPtr buildItem(Attribute* owningAttribute, int itemPosition) const override;
38  smtk::attribute::ItemPtr buildItem(Item* owningItem, int position, int subGroupPosition)
39  const override;
41  smtk::attribute::ItemDefinition::CopyInfo& info) const override;
42 
43 protected:
44  VoidItemDefinition(const std::string& myName);
45 
46 private:
47 };
48 } // namespace attribute
49 } // namespace smtk
50 
51 #endif /* smtk_attribute_VoidItemDefinition_h */
smtk
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
smtk::attribute::Item::Type
Type
Definition: Item.h:52
PublicPointerDefs.h
smtk::attribute::ItemDefinition
Definition: ItemDefinition.h:37
smtk::attribute::VoidItemDefinition
Definition: VoidItemDefinition.h:26
smtk::attribute::ItemDefinition::CopyInfo
Definition: ItemDefinition.h:47
smtk::attribute::Item
Definition: Item.h:43
smtkTypeMacro
#define smtkTypeMacro(...)
Add typedefs to a class for identifcation.
Definition: SharedFromThis.h:51
smtk::attribute::Attribute
Represent a (possibly composite) value according to a definition.
Definition: Attribute.h:49
smtk::attribute::ItemPtr
smtk::shared_ptr< smtk::attribute::Item > ItemPtr
Definition: PublicPointerDefs.h:467
smtk::attribute::VoidItemDefinitionPtr
smtk::shared_ptr< smtk::attribute::VoidItemDefinition > VoidItemDefinitionPtr
Definition: PublicPointerDefs.h:529
smtk::attribute::ItemDefinitionPtr
smtk::shared_ptr< smtk::attribute::ItemDefinition > ItemDefinitionPtr
Definition: PublicPointerDefs.h:473