Nui
nui
include
nui
frontend
elements
detail
fragment_context.hpp
Go to the documentation of this file.
1
#pragma once
2
3
namespace
Nui::Detail
4
{
5
template
<
typename
ElementT>
6
class
FragmentContext
7
{
8
public
:
9
void
clear
()
10
{
11
fragmentElements_.clear();
12
}
13
14
void
push
(std::shared_ptr<ElementT> weak)
15
{
16
fragmentElements_.emplace_back(std::move(weak));
17
}
18
19
private
:
20
std::vector<std::shared_ptr<ElementT>> fragmentElements_;
21
};
22
}
Nui::Detail::FragmentContext
Definition:
fragment_context.hpp:7
Nui::Detail::FragmentContext::push
void push(std::shared_ptr< ElementT > weak)
Definition:
fragment_context.hpp:14
Nui::Detail::FragmentContext::clear
void clear()
Definition:
fragment_context.hpp:9
Nui::Detail
Definition:
rpc_hub.hpp:23
Generated by
1.9.1