zorba::PropertiesGlobal#include <zorba/properties_base.h> Inherited from: zorba::PropertiesBase 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.Returns{ Zorba::getProperties() }Public Functions
Protected Attributes
Public Functionscheck_argsstd::string check_args()
copy_argsvoid copy_args(const char **argv)
get_all_optionsconst char ** get_all_options() const =0
getJVMClassPathvoid getJVMClassPath(std::string &jvmClasspath) 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. getPositionalArgsconst std::vector< std::string > & getPositionalArgs() const
init_valvoid init_val(const char *str, T &val, unsigned delta=0)
init_valZORBA_DLL_PUBLIC void init_val(const char *str, std::string &val, unsigned delta)
init_valZORBA_DLL_PUBLIC void init_val(const char *str, std::vector< std::string > &val, unsigned delta)
load_allstd::string load_all(const char *cfgFilename, const std::string &env_pfx, int argc, const char **argv)
load_argvstd::string load_argv(int argc, const char **argv)=0
load_envstd::string load_env(const std::string &env_pfx)
load_envstd::string load_env(const std::string &env_pfx, const char **options)
load_filestd::string load_file(const char *fname)
setJVMClassPathvoid setJVMClassPath(const std::string &jvmClasspath) 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. ~PropertiesGlobal ~PropertiesGlobal()
Protected AttributesthePositionalArgsstd::vector< std::string > thePositionalArgs
|