|
| static bool | isMap (ReadBuffer &in) |
| |
| static bool | isMap (std::filesystem::path const &filename) |
| |
| static bool | isMap (std::istream &in) |
| |
| static std::ifstream | openRead (std::filesystem::path const &filename) |
| |
| static std::ofstream | openWrite (std::filesystem::path const &filename) |
| |
Definition at line 84 of file header.hpp.
◆ depth_t
| using ufo::MapHeader::depth_t = std::uint32_t |
◆ dim_t
| using ufo::MapHeader::dim_t = std::uint32_t |
◆ length_t
| using ufo::MapHeader::length_t = double |
◆ version_t
| using ufo::MapHeader::version_t = std::uint32_t |
◆ MapHeader() [1/5]
template<std::size_t Dim>
| ufo::MapHeader::MapHeader |
( |
Vec< Dim, length_t > const & |
leaf_node_length, |
|
|
depth_t |
num_depth_levels, |
|
|
MapType |
map_types |
|
) |
| |
|
inline |
◆ MapHeader() [2/5]
| ufo::MapHeader::MapHeader |
( |
Map const & |
map | ) |
|
|
inline |
◆ MapHeader() [3/5]
| ufo::MapHeader::MapHeader |
( |
std::filesystem::path const & |
filename | ) |
|
|
inline |
◆ MapHeader() [4/5]
| ufo::MapHeader::MapHeader |
( |
std::istream & |
in | ) |
|
|
inline |
◆ MapHeader() [5/5]
◆ isMap() [1/3]
| static bool ufo::MapHeader::isMap |
( |
ReadBuffer & |
in | ) |
|
|
inlinestatic |
◆ isMap() [2/3]
| static bool ufo::MapHeader::isMap |
( |
std::filesystem::path const & |
filename | ) |
|
|
inlinestatic |
◆ isMap() [3/3]
| static bool ufo::MapHeader::isMap |
( |
std::istream & |
in | ) |
|
|
inlinestatic |
◆ openRead()
| static std::ifstream ufo::MapHeader::openRead |
( |
std::filesystem::path const & |
filename | ) |
|
|
inlinestatic |
◆ openWrite()
| static std::ofstream ufo::MapHeader::openWrite |
( |
std::filesystem::path const & |
filename | ) |
|
|
inlinestatic |
◆ read() [1/3]
◆ read() [2/3]
| void ufo::MapHeader::read |
( |
std::filesystem::path const & |
filename | ) |
|
|
inline |
◆ read() [3/3]
| std::istream & ufo::MapHeader::read |
( |
std::istream & |
in | ) |
|
|
inline |
◆ write() [1/3]
| void ufo::MapHeader::write |
( |
std::filesystem::path const & |
filename | ) |
const |
|
inline |
◆ write() [2/3]
| std::ostream & ufo::MapHeader::write |
( |
std::ostream & |
out | ) |
const |
|
inline |
◆ write() [3/3]
◆ CURRENT_MAJOR
| constexpr version_t const ufo::MapHeader::CURRENT_MAJOR = 1 |
|
staticconstexpr |
◆ CURRENT_MINOR
| constexpr version_t const ufo::MapHeader::CURRENT_MINOR = 0 |
|
staticconstexpr |
◆ CURRENT_PATCH
| constexpr version_t const ufo::MapHeader::CURRENT_PATCH = 0 |
|
staticconstexpr |
◆ leaf_node_length
| std::vector<length_t> ufo::MapHeader::leaf_node_length |
◆ major
| version_t ufo::MapHeader::major {} |
◆ MAP_HEADER
| constexpr std::string_view const ufo::MapHeader::MAP_HEADER = "# UFO Map" |
|
staticconstexpr |
◆ map_info
◆ minor
| version_t ufo::MapHeader::minor = std::numeric_limits<version_t>::max() |
◆ num_blocks
| std::uint64_t ufo::MapHeader::num_blocks {} |
◆ num_depth_levels
| depth_t ufo::MapHeader::num_depth_levels {} |
◆ num_nodes
| std::uint64_t ufo::MapHeader::num_nodes {} |
◆ patch
| version_t ufo::MapHeader::patch = std::numeric_limits<version_t>::max() |
The documentation for this struct was generated from the following file: