23 #ifndef INCLUDED_RTL_BOOTSTRAP_HXX 24 #define INCLUDED_RTL_BOOTSTRAP_HXX 46 static inline void SAL_CALL
setIniFilename( const ::rtl::OUString &sFileUri );
55 static inline bool get(
56 const ::rtl::OUString &sName,
68 static inline void get(
69 const ::rtl::OUString &sName,
71 const ::rtl::OUString &aDefault );
105 inline bool getFrom(const ::rtl::OUString &sName,
114 inline void getFrom(const ::rtl::OUString &sName,
116 const ::rtl::OUString &aDefault)
const;
174 const ::rtl::OUString & sDefault )
212 const ::rtl::OUString &aDefault)
const SAL_DLLPUBLIC void rtl_bootstrap_setIniFileName(rtl_uString *pFileUri)
may be called by an application to set an ini-filename.
The described concept provides a platform independent way to access minimum bootstrap settings for ev...
Definition: bootstrap.hxx:35
static bool get(const ::rtl::OUString &sName, ::rtl::OUString &outValue)
Retrieves a bootstrap parameter.
Definition: bootstrap.hxx:166
SAL_DLLPUBLIC void rtl_bootstrap_get_iniName_from_handle(rtlBootstrapHandle handle, rtl_uString **ppIniName)
Returns the name of the inifile associated with this handle.
~Bootstrap()
Closes a bootstrap argument container.
Definition: bootstrap.hxx:198
Bootstrap()
default ctor.
Definition: bootstrap.hxx:184
#define SAL_DELETED_FUNCTION
short-circuit extra-verbose API namespaces
Definition: types.h:378
rtlBootstrapHandle getHandle() const
Provides the bootstrap internal handle.
Definition: bootstrap.hxx:141
SAL_DLLPUBLIC void rtl_bootstrap_expandMacros_from_handle(rtlBootstrapHandle handle, rtl_uString **macro)
Expands a macro using bootstrap variables.
void getIniName(::rtl::OUString &iniName) const
Retrieves the name of the underlying ini-file.
Definition: bootstrap.hxx:217
SAL_DLLPUBLIC sal_Bool rtl_bootstrap_get(rtl_uString *pName, rtl_uString **ppValue, rtl_uString *pDefault)
SAL_DLLPUBLIC sal_Bool rtl_bootstrap_get_from_handle(rtlBootstrapHandle handle, rtl_uString *pName, rtl_uString **ppValue, rtl_uString *pDefault)
Definition: bootstrap.hxx:33
void expandMacrosFrom(::rtl::OUString ¯o) const
Expands a macro using bootstrap variables.
Definition: bootstrap.hxx:127
static void expandMacros(::rtl::OUString ¯o)
Expands a macro using default bootstrap variables.
Definition: bootstrap.hxx:134
static void set(::rtl::OUString const &name, ::rtl::OUString const &value)
Sets a bootstrap parameter.
Definition: bootstrap.hxx:179
SAL_DLLPUBLIC void rtl_bootstrap_args_close(rtlBootstrapHandle handle) SAL_THROW_EXTERN_C()
Closes a bootstrap argument container.
SAL_DLLPUBLIC void rtl_bootstrap_encode(rtl_uString const *value, rtl_uString **encoded)
Escapes special characters ("$" and "\").
This String class provides base functionality for C++ like Unicode character array handling...
Definition: ustring.hxx:170
bool getFrom(const ::rtl::OUString &sName, ::rtl::OUString &outValue) const
Retrieves a bootstrap argument.
Definition: bootstrap.hxx:204
SAL_DLLPUBLIC void rtl_bootstrap_set(rtl_uString *pName, rtl_uString *pValue)
Sets a bootstrap parameter.
SAL_DLLPUBLIC rtlBootstrapHandle rtl_bootstrap_args_open(rtl_uString *pIniName)
Opens a bootstrap argument container.
SAL_DLLPUBLIC void rtl_bootstrap_expandMacros(rtl_uString **macro)
Expands a macro using default bootstrap variables.
bool isEmpty() const
Checks if a string is empty.
Definition: ustring.hxx:826
static inline ::rtl::OUString encode(::rtl::OUString const &value)
Escapes special characters ("$" and "\").
Definition: bootstrap.hxx:222
void * rtlBootstrapHandle
Definition: bootstrap.h:153
static void setIniFilename(const ::rtl::OUString &sFileUri)
Definition: bootstrap.hxx:161