SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
smtk
markup
Label.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_Label_h
11
#define smtk_markup_Label_h
12
13
#include "smtk/markup/Component.h"
14
15
namespace
smtk
16
{
17
namespace
markup
18
{
19
20
class
SMTKMARKUP_EXPORT
Label
:
public
smtk::markup::Component
21
{
22
public
:
23
smtkTypeMacro
(
smtk::markup::Label
);
24
smtkSuperclassMacro
(
smtk::markup::Component
);
25
26
template
<
typename
... Args>
27
Label
(Args&&... args)
28
:
smtk::markup::Component
(std::forward<Args>(args)...)
29
{
30
}
31
32
~
Label
()
override
;
33
35
void
initialize(
const
nlohmann::json& data, smtk::resource::json::Helper& helper)
override
;
36
40
ArcEndpointInterface<arcs::LabelsToSubjects, ConstArc, OutgoingArc>
subjects()
const
;
41
ArcEndpointInterface<arcs::LabelsToSubjects, NonConstArc, OutgoingArc>
subjects();
43
44
protected
:
45
};
46
47
}
// namespace markup
48
}
// namespace smtk
49
50
#endif // smtk_markup_Label_h
smtk
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition:
doc.h:33
smtk::markup::Component
Definition:
Component.h:51
smtk::graph::ArcEndpointInterface
An object that a node instance can present to access/edit its outgoing/incoming arcs.
Definition:
ArcImplementation.h:39
smtk::markup::Label
Definition:
Label.h:20
smtkTypeMacro
#define smtkTypeMacro(...)
Add typedefs to a class for identifcation.
Definition:
SharedFromThis.h:128
smtkSuperclassMacro
#define smtkSuperclassMacro(...)
Add a typedef to the superclass of this class.
Definition:
SharedFromThis.h:147
Generated by
1.8.17