Wildmeshing Toolkit
CheckpointScope.cpp
Go to the documentation of this file.
1
#include "
CheckpointScope.hpp
"
2
3
#include <
wmtk/attribute/AttributeManager.hpp
>
4
namespace
wmtk::attribute::internal
{
5
CheckpointScope::CheckpointScope
(
const
AttributeManager
& manager)
6
: m_manager(manager)
7
{
8
m_manager
.
change_to_parent_scope
();
9
}
10
CheckpointScope::~CheckpointScope
()
11
{
12
m_manager
.
change_to_child_scope
();
13
}
14
}
// namespace wmtk::attribute::internal
AttributeManager.hpp
CheckpointScope.hpp
wmtk::attribute::AttributeManager
Definition:
AttributeManager.hpp:17
wmtk::attribute::AttributeManager::change_to_child_scope
void change_to_child_scope() const
Definition:
AttributeManager.cpp:255
wmtk::attribute::AttributeManager::change_to_parent_scope
void change_to_parent_scope() const
Definition:
AttributeManager.cpp:239
wmtk::attribute::internal::CheckpointScope::CheckpointScope
CheckpointScope(const AttributeManager &manager)
Definition:
CheckpointScope.cpp:5
wmtk::attribute::internal::CheckpointScope::~CheckpointScope
~CheckpointScope()
Definition:
CheckpointScope.cpp:10
wmtk::attribute::internal::CheckpointScope::m_manager
const AttributeManager & m_manager
Definition:
CheckpointScope.hpp:13
wmtk::attribute::internal
Definition:
Attribute.hpp:19
src
wmtk
attribute
internal
CheckpointScope.cpp
Generated by
1.9.1