Wildmeshing Toolkit
AttributeScopeHandle.hpp
Go to the documentation of this file.
1
#pragma once
2
3
namespace
wmtk::attribute
{
4
class
AttributeManager;
5
14
class
AttributeScopeHandle
15
{
16
public
:
22
AttributeScopeHandle
(
AttributeManager
& manager);
23
AttributeScopeHandle
(
AttributeScopeHandle
&&);
24
31
~AttributeScopeHandle
();
32
39
void
mark_failed
();
40
41
private
:
42
AttributeManager
&
m_manager
;
43
bool
m_failed
=
false
;
44
bool
m_was_moved
=
false
;
45
};
46
}
// namespace wmtk::attribute
wmtk::attribute::AttributeManager
Definition:
AttributeManager.hpp:17
wmtk::attribute::AttributeScopeHandle
This handle is a wrapper for the MeshManager scope funtions.
Definition:
AttributeScopeHandle.hpp:15
wmtk::attribute::AttributeScopeHandle::m_was_moved
bool m_was_moved
Definition:
AttributeScopeHandle.hpp:44
wmtk::attribute::AttributeScopeHandle::~AttributeScopeHandle
~AttributeScopeHandle()
Destructor of AttributeScopeHandle.
Definition:
AttributeScopeHandle.cpp:28
wmtk::attribute::AttributeScopeHandle::m_failed
bool m_failed
Definition:
AttributeScopeHandle.hpp:43
wmtk::attribute::AttributeScopeHandle::m_manager
AttributeManager & m_manager
Definition:
AttributeScopeHandle.hpp:42
wmtk::attribute::AttributeScopeHandle::AttributeScopeHandle
AttributeScopeHandle(AttributeManager &manager)
Constructs an AttributeScopeHandle for the given AttributeManager.
Definition:
AttributeScopeHandle.cpp:4
wmtk::attribute::AttributeScopeHandle::mark_failed
void mark_failed()
Mark scope as failed.
Definition:
AttributeScopeHandle.cpp:19
wmtk::attribute
Definition:
Accessor.hpp:17
src
wmtk
attribute
AttributeScopeHandle.hpp
Generated by
1.9.1