mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
Loading...
Searching...
No Matches

Definitions and managemetn of AO related file paths.

Namespaces

namespace  mx::AO::path
 Namespace for paths.
namespace  mx::AO::path::basis
 Namespace for basis paths.

Functions

std::string mx::AO::path::basis::root (const std::string &basisName, bool create=false)
 The root path for basis files.

Function Documentation

◆ root()

std::string mx::AO::path::basis::root ( const std::string & basisName,
bool create = false )

The root path for basis files.

Parameters
[in]basisNamethe name of the basis
[in]create[optional] create the directory if it noes not exist.
Returns
the root path for basis files.

Definition at line 42 of file aoPaths.hpp.

References mx::ioutils::createDirectories(), and mx::sys::getEnv().