MIRA
Namespaces | Functions
PathFinderConstExpr.h File Reference

Compile-time path handling. More...

#include <boost/preprocessor/stringize.hpp>
Include dependency graph for PathFinderConstExpr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mira
 specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
 

Functions

constexpr std::string_view findContainingMIRAPath (const std::string_view &path, const std::string_view &miraPaths)
 Returns the MIRA path that contains the given path. More...
 
constexpr std::string_view findContainingMIRAPath (const char *path, const char *miraPaths)
 As above, overload for const char* path. More...
 
constexpr std::string_view findContainingMIRAPath (const char *path)
 With this overload the MIRA paths are not provided as argument, they are expected to be defined as a compiler definition MIRA_PATHS. More...
 
constexpr std::string_view chopMIRAPath (const std::string_view &path, const std::string_view &miraPaths)
 Removes the root part of the given path that belongs to one of MIRA paths. More...
 
constexpr const char * chopMIRAPath (const char *path, const char *miraPaths)
 As above, overload for const char* path. More...
 
constexpr const char * chopMIRAPath (const char *path)
 With this overload the MIRA paths are not provided as argument, they are expected to be defined as a compiler definition MIRA_PATHS. More...
 

Detailed Description

Compile-time path handling.

Author
Christof Schröter
Date
2024/06/25