44#ifndef LASS_GUARDIAN_OF_INCLUSION_UTIL_IMPL_ENVIRONMENT_H
45#define LASS_GUARDIAN_OF_INCLUSION_UTIL_IMPL_ENVIRONMENT_H
56LASS_DLL const std::string LASS_CALL lass_getenv(
const std::string& name);
57LASS_DLL void LASS_CALL lass_putenv(
const std::string& name,
const std::string& value);
62 static const T get(
const std::string& name)
66 static void put(
const std::string& name,
typename CallTraits<T>::TParam value)
73struct Environment<std::string>
75 static const std::string get(
const std::string& name)
77 return lass_getenv(name);
79 static void put(
const std::string& name,
const std::string& value)
81 lass_putenv(name, value);
97 return impl::Environment<typename CallTraits<T>::TValue>::get(name);
110 impl::Environment<typename CallTraits<T>::TValue>::put(name, value);
#define LASS_DLL
DLL interface: import or export symbols?
general utility, debug facilities, ...
void putEnvironment(const std::string &name, const T &value)
Put value in environment variable.
const T getEnvironment(const std::string &name)
Get environment variable and cast it to type T.
Out stringCast(const In &in)
Cast value by converting it to and from a string.
Library for Assembled Shared Sources.