NASA Logo
Ocean Color Science Software

ocssw V2022
getenv.cpp File Reference
#include <boost/algorithm/string.hpp>
#include <vector>
#include <regex>
#include <iostream>
Include dependency graph for getenv.cpp:

Go to the source code of this file.

Macros

#define SEP   "/"
 
#define REGEX   ".*\\$(\\w+).*"
 

Functions

std::string filenv (const std::string &file_env_path)
 
void filenv_ (char *inp, char *out)
 

Macro Definition Documentation

◆ REGEX

#define REGEX   ".*\\$(\\w+).*"

Definition at line 11 of file getenv.cpp.

◆ SEP

#define SEP   "/"

Definition at line 10 of file getenv.cpp.

Function Documentation

◆ filenv()

std::string filenv ( const std::string file_env_path)

Definition at line 14 of file getenv.cpp.

◆ filenv_()

void filenv_ ( char *  inp,
char *  out 
)

Definition at line 32 of file getenv.cpp.