#include <FlowReader.hpp>
Definition at line 15 of file FlowReader.hpp.
◆ ~FlowReader()
| virtual mxl::lib::FlowReader::~FlowReader |
( |
| ) |
|
|
virtual |
◆ FlowReader() [1/2]
| mxl::lib::FlowReader::FlowReader |
( |
uuids::uuid && | flowId, |
|
|
std::filesystem::path const & | domain ) |
|
explicitprotected |
Definition at line 11 of file FlowReader.cpp.
14 {}
std::filesystem::path _domain
◆ FlowReader() [2/2]
| mxl::lib::FlowReader::FlowReader |
( |
uuids::uuid const & | flowId, |
|
|
std::filesystem::path const & | domain ) |
|
explicitprotected |
◆ checkPermissions()
| bool mxl::lib::FlowReader::checkPermissions |
( |
| ) |
const |
|
nodiscardprotected |
Verifies that we can access the flow_def.json file
- Returns
- true if the flow is accessible, false otherwise.
Definition at line 33 of file FlowReader.cpp.
34 {
36 return std::filesystem::is_regular_file(flowDefPath) && (::access(flowDefPath.c_str(), R_OK) == 0);
37 }
std::filesystem::path makeFlowDescriptorFilePath(std::filesystem::path const &flowDirectory)
◆ getDomain()
| std::filesystem::path const & mxl::lib::FlowReader::getDomain |
( |
| ) |
const |
|
nodiscard |
Accessor for the flow domain;
- Returns
- The flow domain
Definition at line 28 of file FlowReader.cpp.
◆ getFlowConfigInfo()
◆ getFlowData()
| virtual FlowData const & mxl::lib::FlowReader::getFlowData |
( |
| ) |
const |
|
nodiscardpure virtual |
◆ getFlowInfo()
| virtual mxlFlowInfo mxl::lib::FlowReader::getFlowInfo |
( |
| ) |
const |
|
nodiscardpure virtual |
◆ getFlowRuntimeInfo()
◆ getId()
| uuids::uuid const & mxl::lib::FlowReader::getId |
( |
| ) |
const |
|
nodiscard |
Accessor for the flow id;
- Returns
- The flow id
Definition at line 23 of file FlowReader.cpp.
◆ isFlowValid()
| virtual bool mxl::lib::FlowReader::isFlowValid |
( |
| ) |
const |
|
nodiscardprotectedpure virtual |
◆ _domain
| std::filesystem::path mxl::lib::FlowReader::_domain |
|
private |
◆ _flowId
| uuids::uuid mxl::lib::FlowReader::_flowId |
|
private |
The documentation for this class was generated from the following files: