WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
WXP::ResrcEnv Class Reference

This class gets environment variable values given a specific resource. More...

#include "../include/ResrcEnv.h"

Static Public Member Functions

static int get (Resrc &resrc, const char *res_str, const char *env, String &value)
 

Detailed Description

This class gets environment variable values given a specific resource.

Author
Dan Vietor

Member Function Documentation

◆ get()

int ResrcEnv::get ( Resrc resrc,
const char *  res_str,
const char *  env,
String value 
)
static

Gets the environment variable value

Parameters
resrcResrc class to get program name values from
res_strResource to check in environment
envEnvironment variable abbreviation to also check
Return values
valueOutput value
Returns
1 = environment variable found, 0 = not found

References WXP::String::append(), WXP::String::copy(), WXP::String::get(), WXP::Resrc::get(), WXP::String::length(), WXP::String::printf(), and WXP::String::upCase().

Referenced by WXP::ResrcDB::create().


The documentation for this class was generated from the following files: