SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
smtk
markup
Group.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_Group_h
11
#define smtk_markup_Group_h
12
13
#include "smtk/markup/Component.h"
14
15
#include "smtk/markup/AssignedIds.h"
16
17
namespace
smtk
18
{
19
namespace
markup
20
{
21
28
class
SMTKMARKUP_EXPORT
Group
:
public
smtk::markup::Component
29
{
30
public
:
31
smtkTypeMacro
(
smtk::markup::Group
);
32
smtkSuperclassMacro
(
smtk::markup::Component
);
33
34
template
<
typename
... Args>
35
Group
(Args&&... args)
36
:
smtk::markup::Component
(std::forward<Args>(args)...)
37
{
38
}
39
40
~
Group
()
override
;
41
43
void
initialize(
const
nlohmann::json& data, smtk::resource::json::Helper& helper)
override
;
44
48
ArcEndpointInterface<arcs::GroupsToMembers, ConstArc, OutgoingArc>
members()
const
;
49
ArcEndpointInterface<arcs::GroupsToMembers, NonConstArc, OutgoingArc>
members();
51
};
52
53
}
// namespace markup
54
}
// namespace smtk
55
56
#endif // smtk_markup_Group_h
smtk
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition:
doc.h:33
smtk::markup::Component
Definition:
Component.h:56
smtk::markup::Group
A set of components owned by this component.
Definition:
Group.h:28
smtk::graph::ArcEndpointInterface
An object that a node instance can present to access/edit its outgoing/incoming arcs.
Definition:
ArcImplementation.h:52
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