OutputPath Class Reference#
|
DiFfRG
Discretization Framework for functional Renormalization Group flows
|
Public Member Functions |
Static Public Member Functions |
Private Member Functions |
Private Attributes |
List of all members
DiFfRG::OutputPath Class Reference
#include <output_path.hh>
Public Member Functions | |
| OutputPath ()=delete | |
| OutputPath (std::filesystem::path root, std::string run_name, std::filesystem::path field_directory="output") | |
| OutputPath (const ConfigTree &config) | |
| OutputPath (const OutputPath &)=default | |
| OutputPath & | operator= (const OutputPath &)=default |
| OutputPath (OutputPath &&) noexcept=default | |
| OutputPath & | operator= (OutputPath &&) noexcept=default |
| const std::filesystem::path & | root () const noexcept |
| const std::string & | run_name () const noexcept |
| const std::filesystem::path & | field_directory () const noexcept |
| std::filesystem::path | resolve (std::filesystem::path relative) const |
| std::filesystem::path | run_file (std::string_view extension) const |
| std::filesystem::path | run_file (std::string_view name_suffix, std::string_view extension) const |
| OutputPath | child (std::filesystem::path directory, std::string run_name, std::filesystem::path field_directory="output") const |
| void | copy_tree_from (const std::filesystem::path &source) const |
Static Public Member Functions | |
| static OutputPath | temporary (TemporaryRetention retention=TemporaryRetention::remove_on_destruction, std::string run_name="output", std::filesystem::path field_directory="output") |
| static std::filesystem::path | checked_relative (std::filesystem::path path, std::string_view kind="output path") |
Private Member Functions | |
| OutputPath (std::filesystem::path root, std::string run_name, std::filesystem::path field_directory, std::shared_ptr< const OutputRoot > output_root) | |
Private Attributes | |
| std::filesystem::path | root_path |
| std::string | output_name |
| std::filesystem::path | fields_path |
| std::shared_ptr< const OutputRoot > | output_root |
Detailed Description
Shared immutable owner and validated filesystem layout for one output run.
Constructor & Destructor Documentation
◆ OutputPath() [1/6]
|
delete |
◆ OutputPath() [2/6]
| DiFfRG::OutputPath::OutputPath | ( | std::filesystem::path | root, |
| std::string | run_name, | ||
| std::filesystem::path | field_directory = "output" ) |
◆ OutputPath() [3/6]
|
explicit |
◆ OutputPath() [4/6]
|
default |
◆ OutputPath() [5/6]
|
defaultnoexcept |
◆ OutputPath() [6/6]
|
private |
Member Function Documentation
◆ checked_relative()
|
static |
◆ child()
| OutputPath DiFfRG::OutputPath::child | ( | std::filesystem::path | directory, |
| std::string | run_name, | ||
| std::filesystem::path | field_directory = "output" ) const |
◆ copy_tree_from()
| void DiFfRG::OutputPath::copy_tree_from | ( | const std::filesystem::path & | source | ) | const |
◆ field_directory()
|
inlinenoexcept |
◆ operator=() [1/2]
|
default |
◆ operator=() [2/2]
|
defaultnoexcept |
◆ resolve()
| std::filesystem::path DiFfRG::OutputPath::resolve | ( | std::filesystem::path | relative | ) | const |
◆ root()
|
inlinenoexcept |
◆ run_file() [1/2]
| std::filesystem::path DiFfRG::OutputPath::run_file | ( | std::string_view | extension | ) | const |
◆ run_file() [2/2]
| std::filesystem::path DiFfRG::OutputPath::run_file | ( | std::string_view | name_suffix, |
| std::string_view | extension ) const |
Companion of run_file carrying an extra suffix: <run name><name_suffix><extension>.
◆ run_name()
|
inlinenoexcept |
◆ temporary()
|
static |
Member Data Documentation
◆ fields_path
|
private |
◆ output_name
|
private |
◆ output_root
|
private |
◆ root_path
|
private |
The documentation for this class was generated from the following file:
- /home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/discretization/data/output_path.hh
Generated by