Class loading a baked structured data from a file. More...
#include <eagine/file_contents.hpp>
Public Member Functions | |
structured_file_content (string_view path) | |
Constructor that opens and loads contents of file at the given path. | |
structured_file_content (file_contents &&fc) | |
Construction from a file contents instance. More... | |
Additional Inherited Members | |
![]() | |
static auto | get_member (protected_member< file_contents, type_identity< file_contents > > &pm, type_identity< file_contents > selector=type_identity< file_contents >()) noexcept -> file_contents & |
Returns a reference to the member stored in protected_member. | |
static auto | get_member (const protected_member< file_contents, type_identity< file_contents > > &pm, type_identity< file_contents > selector=type_identity< file_contents >()) noexcept -> const file_contents & |
Returns a const reference to the member stored in protected_member. | |
Class loading a baked structured data from a file.
|
inline |
Construction from a file contents instance.