Unravel Engine C++ Reference
Loading...
Searching...
No Matches
ui_tree.cpp
Go to the documentation of this file.
1#include "ui_tree.h"
2
3namespace unravel
4{
5
6auto ui_tree::is_valid() const -> bool
7{
8 return !content.empty();
9}
10
11auto ui_tree::get_content_size() const -> size_t
12{
13 return content.size();
14}
15
16} // namespace unravel
std::string content
The HTML/RML content of the visual tree.
Definition ui_tree.h:31
auto is_valid() const -> bool
Check if the visual tree content is valid/non-empty.
Definition ui_tree.cpp:6
auto get_content_size() const -> size_t
Get the size of the content in bytes.
Definition ui_tree.cpp:11