WXP::ResrcEnv Class Reference

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

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

List of all members.

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

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

Gets the environment variable value

Parameters:
resrc Resrc class to get program name values from
res_str Resource to check in environment
env Environment variable abbreviation to also check
Return values:
value Output 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:

Generated on 8 Jan 2010 for WXP C++ Library by  doxygen 1.6.1