This class provides access to global properties.
More...
#include <zorba/properties_base.h>
|
virtual std::string | check_args () |
|
void | copy_args (const char **argv) |
|
virtual const char ** | get_all_options () const =0 |
|
virtual void | getJVMClassPath (std::string &jvmClasspath) |
| Get global JVM classpath property. More...
|
|
const std::vector< std::string > & | getPositionalArgs () const |
|
template<class T > |
void | init_val (const char *str, T &val, unsigned delta=0) |
|
template<> |
ZORBA_DLL_PUBLIC void | init_val (const char *str, std::string &val, unsigned delta) |
|
template<> |
ZORBA_DLL_PUBLIC void | init_val (const char *str, std::vector< std::string > &val, unsigned delta) |
|
std::string | load_all (const char *cfgFilename, const std::string &env_pfx, int argc, const char **argv) |
|
virtual std::string | load_argv (int argc, const char **argv)=0 |
|
std::string | load_env (const std::string &env_pfx) |
|
std::string | load_env (const std::string &env_pfx, const char **options) |
|
std::string | load_file (const char *fname) |
|
virtual void | setJVMClassPath (const std::string &jvmClasspath) |
| Set global JVM classpath property. More...
|
|
virtual | ~PropertiesGlobal () |
|
This class provides access to global properties.
This class provides access to global properties set for Zorba in environment and configuration file. It is available using Zorba.getProperties() method.
- See Also
- { Zorba::getProperties() }
Definition at line 112 of file properties_base.h.
virtual zorba::PropertiesGlobal::~PropertiesGlobal |
( |
| ) |
|
|
inlinevirtual |
virtual std::string zorba::PropertiesBase::check_args |
( |
| ) |
|
|
inlinevirtualinherited |
void zorba::PropertiesBase::copy_args |
( |
const char ** |
argv | ) |
|
|
inlineinherited |
virtual const char** zorba::PropertiesBase::get_all_options |
( |
| ) |
const |
|
pure virtualinherited |
virtual void zorba::PropertiesGlobal::getJVMClassPath |
( |
std::string & |
jvmClasspath | ) |
|
|
inlinevirtual |
Get global JVM classpath property.
Before the JVM is started this will return the classpath set by command line option, the CLASSPATH environment variable and in Zorba config file.
After the JVM is started this will contain in addition the paths to jars used by modules that make use of the JVM.
Definition at line 127 of file properties_base.h.
const std::vector<std::string>& zorba::PropertiesBase::getPositionalArgs |
( |
| ) |
const |
|
inlineinherited |
template<class T >
void zorba::PropertiesBase::init_val |
( |
const char * |
str, |
|
|
T & |
val, |
|
|
unsigned |
delta = 0 |
|
) |
| |
|
inlineinherited |
template<>
ZORBA_DLL_PUBLIC void zorba::PropertiesBase::init_val |
( |
const char * |
str, |
|
|
std::string & |
val, |
|
|
unsigned |
delta |
|
) |
| |
|
inherited |
template<>
ZORBA_DLL_PUBLIC void zorba::PropertiesBase::init_val |
( |
const char * |
str, |
|
|
std::vector< std::string > & |
val, |
|
|
unsigned |
delta |
|
) |
| |
|
inherited |
std::string zorba::PropertiesBase::load_all |
( |
const char * |
cfgFilename, |
|
|
const std::string & |
env_pfx, |
|
|
int |
argc, |
|
|
const char ** |
argv |
|
) |
| |
|
inlineinherited |
virtual std::string zorba::PropertiesBase::load_argv |
( |
int |
argc, |
|
|
const char ** |
argv |
|
) |
| |
|
pure virtualinherited |
std::string zorba::PropertiesBase::load_env |
( |
const std::string & |
env_pfx | ) |
|
|
inlineinherited |
std::string zorba::PropertiesBase::load_env |
( |
const std::string & |
env_pfx, |
|
|
const char ** |
options |
|
) |
| |
|
inherited |
std::string zorba::PropertiesBase::load_file |
( |
const char * |
fname | ) |
|
|
inherited |
virtual void zorba::PropertiesGlobal::setJVMClassPath |
( |
const std::string & |
jvmClasspath | ) |
|
|
inlinevirtual |
Set global JVM classpath property.
This method should be used to set additional JVM classpath for modules that make use of JVM. This will overide the classpath set by CLASSPATH environment variable or Zorba config file.
Once the JVM is started this method doesn't have any effect.
Definition at line 138 of file properties_base.h.
std::vector<std::string> zorba::PropertiesBase::thePositionalArgs |
|
protectedinherited |
The documentation for this class was generated from the following file: