OpenLexocad
28.0
GlobalAttachment.h
Go to the documentation of this file.
1
#pragma once
2
#include <
Base/String.h
>
3
#include <map>
4
5
namespace
Base
6
{
7
class
LX_BASE_EXPORT
GlobalAttachment
8
{
9
public
:
10
virtual
~GlobalAttachment
() =
default
;
11
12
virtual
bool
hasID
(
const
std::string&
id
)
const
13
{
14
for
(
auto
sub : m_subAttachments)
15
if
(sub.second->hasID(
id
))
16
return
true
;
17
return
false
;
18
};
19
20
std::map<Base::String, GlobalAttachment*>
m_subAttachments
;
21
};
22
23
}
// namespace Base
Base::GlobalAttachment::~GlobalAttachment
virtual ~GlobalAttachment()=default
String.h
Base::GlobalAttachment
Definition:
GlobalAttachment.h:8
Base::GlobalAttachment::hasID
virtual bool hasID(const std::string &id) const
Definition:
GlobalAttachment.h:12
Base
Definition:
AbstractXMLReader.h:5
Base::GlobalAttachment::m_subAttachments
std::map< Base::String, GlobalAttachment * > m_subAttachments
Definition:
GlobalAttachment.h:18
lexocad
Base
include
Base
GlobalAttachment.h
Generated by
1.8.18