SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
smtk
markup
Feature.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
#ifndef smtk_markup_Feature_h
11
#define smtk_markup_Feature_h
12
13
#include "smtk/markup/Component.h"
14
15
namespace
smtk
16
{
17
namespace
markup
18
{
19
20
class
SMTKMARKUP_EXPORT
Feature
:
public
smtk::markup::Component
21
{
22
public
:
23
smtkTypeMacro
(
smtk::markup::Feature
);
24
smtkSuperclassMacro
(
smtk::markup::Component
);
25
26
template
<
typename
... Args>
27
Feature
(Args&&... args)
28
:
smtk::markup::Component
(std::forward<Args>(args)...)
29
{
30
}
31
32
~
Feature
()
override
;
33
35
void
initialize(
const
nlohmann::json& data, smtk::resource::json::Helper& helper)
override
;
36
37
protected
:
38
};
39
40
}
// namespace markup
41
}
// namespace smtk
42
43
#endif // smtk_markup_Feature_h
smtk
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition:
doc.h:33
smtk::markup::Component
Definition:
Component.h:56
smtkTypeMacro
#define smtkTypeMacro(...)
Add typedefs to a class for identifcation.
Definition:
SharedFromThis.h:128
smtk::markup::Feature
Definition:
Feature.h:20
smtkSuperclassMacro
#define smtkSuperclassMacro(...)
Add a typedef to the superclass of this class.
Definition:
SharedFromThis.h:147
Generated by
1.8.17