MXL : Media eXchange Layer
MXL
Loading...
Searching...
No Matches
PathUtils.hpp File Reference

Paths and filenames utilities used by the MXL SDK. More...

#include <filesystem>
Include dependency graph for PathUtils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  mxl
namespace  mxl::lib

Functions

std::filesystem::path mxl::lib::makeChannelDataFilePath (std::filesystem::path const &domain, std::string const &uuid)
std::filesystem::path mxl::lib::makeChannelDataFilePath (std::filesystem::path const &flowDirectory)
std::filesystem::path mxl::lib::makeDomainOptionsFilePath (std::filesystem::path const &domain)
std::filesystem::path mxl::lib::makeEventDataFilePath (std::filesystem::path const &flowDirectory)
 Locate an event ring file within its flow directory.
std::filesystem::path mxl::lib::makeFlowAccessFilePath (std::filesystem::path const &domain, std::string const &uuid)
std::filesystem::path mxl::lib::makeFlowAccessFilePath (std::filesystem::path const &flowDirectory)
std::filesystem::path mxl::lib::makeFlowDataFilePath (std::filesystem::path const &domain, std::string const &uuid)
std::filesystem::path mxl::lib::makeFlowDataFilePath (std::filesystem::path const &flowDirectory)
std::filesystem::path mxl::lib::makeFlowDescriptorFilePath (std::filesystem::path const &domain, std::string const &uuid)
std::filesystem::path mxl::lib::makeFlowDescriptorFilePath (std::filesystem::path const &flowDirectory)
std::filesystem::path mxl::lib::makeFlowDirectoryName (std::filesystem::path const &domain, std::string const &uuid)
std::filesystem::path mxl::lib::makeGrainDataFilePath (std::filesystem::path const &domain, std::string const &uuid, unsigned int index)
std::filesystem::path mxl::lib::makeGrainDataFilePath (std::filesystem::path const &grainDirectory, unsigned int index)
std::filesystem::path mxl::lib::makeGrainDirectoryName (std::filesystem::path const &domain, std::string const &uuid)
std::filesystem::path mxl::lib::makeGrainDirectoryName (std::filesystem::path const &flowDirectory)
std::filesystem::path mxl::lib::makelowAccessFilePath (std::filesystem::path const &domain, std::string const &uuid)

Variables

constexpr auto const mxl::lib::CHANNEL_DATA_FILE_NAME = "channels"
constexpr auto const mxl::lib::DOMAIN_OPTIONS_FILE_NAME = "options.json"
constexpr auto mxl::lib::EVENT_DATA_FILE_NAME = "events"
 Filename of the single shared-memory event ring within a flow directory.
constexpr auto const mxl::lib::FLOW_ACCESS_FILE_NAME = "access"
constexpr auto const mxl::lib::FLOW_DATA_FILE_NAME = "data"
constexpr auto const mxl::lib::FLOW_DESCRIPTOR_FILE_NAME = "flow_def.json"
constexpr auto const mxl::lib::FLOW_DIRECTORY_NAME_SUFFIX = ".mxl-flow"
constexpr auto const mxl::lib::GRAIN_DATA_FILE_NAME_STEM = "data"
constexpr auto const mxl::lib::GRAIN_DIRECTORY_NAME = "grains"

Detailed Description

Paths and filenames utilities used by the MXL SDK.

Definition in file PathUtils.hpp.