Wide Studio Object Reference

Wide Studio Home
Up to


Class Name

WSDenv

Methods

  • WSDenv* WSGIappEnvironment(); กก :WSDenv
  • char* getEnv(char*) กก :WSDenv
  • char* getPlaneString(char*) กก :WSDenv


Specification of methods



WSGIappEnvironment method

Form
WSDenv* WSGIappEnvironment()
Function
Returns the global instance of the class: WSDenv.
Description
Parameters
Nothing.
Return value
Returns the global instance.
Notice
This method is a global function. Do not delete the return value.
It is an invarid instance which is created by WSDenv().



getEnv method

Form
char* getEnv(char* str);
Function
Returns the value of the specified environment variable. returns "" if does not exist.
Description
Parameters
(in)char* str the environment variable name

Return value
Returns the value.
Notice
Do not delete the return value.



getPlaneString method

Form
char* getPlaneString(char* str)
Function
Converts the string which contains some environment variables, and returns the plane string converted.
Description
Parameters
(in)char* str The string which has some environment variables

For example, the string has a variable:WSDIR, Specify the variable like $(...) as follows:
$(WSDIR)/bin/wsbuilder
Return value
Returns the converted string.
Notice
Do not delete the return value.


Document Release 1.0

For Use with Wide Studio Release 1.0, Summer 2000


Wide Stuido Home | Up to

Copyright(C) T. Hirabayashi, 2000 Last modified: July 01, 2000