LibreOffice Module sdext (master)  1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
ConfigurationAccess Class Reference

#include <configurationaccess.hxx>

Inheritance diagram for ConfigurationAccess:
[legend]

Public Member Functions

 ConfigurationAccess (const css::uno::Reference< css::uno::XComponentContext > &rXFactory)
 
 ~ConfigurationAccess ()
 
void SaveConfiguration ()
 
OUString getString (const PPPOptimizerTokenEnum) const
 
css::uno::Any GetConfigProperty (const PPPOptimizerTokenEnum) const
 
void SetConfigProperty (const PPPOptimizerTokenEnum, const css::uno::Any &aValue)
 
bool GetConfigProperty (const PPPOptimizerTokenEnum, const bool bDefault) const
 
sal_Int16 GetConfigProperty (const PPPOptimizerTokenEnum, const sal_Int16 nDefault) const
 
sal_Int32 GetConfigProperty (const PPPOptimizerTokenEnum, const sal_Int32 nDefault) const
 
css::uno::Sequence< css::beans::PropertyValue > GetConfigurationSequence ()
 
std::vector< OptimizerSettings > & GetOptimizerSettings ()
 
std::vector< OptimizerSettings >::iterator GetOptimizerSettingsByName (const OUString &rName)
 

Private Member Functions

void LoadStrings ()
 
void LoadConfiguration ()
 
css::uno::Reference< css::uno::XInterface > OpenConfiguration (bool bReadOnly)
 

Static Private Member Functions

static css::uno::Reference< css::uno::XInterface > GetConfigurationNode (const css::uno::Reference< css::uno::XInterface > &xRoot, const OUString &sPathToNode)
 

Private Attributes

std::map< PPPOptimizerTokenEnum, OUString > maStrings
 
std::vector< OptimizerSettingsmaSettings
 
css::uno::Reference< css::uno::XComponentContext > mxContext
 

Detailed Description

Definition at line 75 of file configurationaccess.hxx.

Constructor & Destructor Documentation

ConfigurationAccess::ConfigurationAccess ( const css::uno::Reference< css::uno::XComponentContext > &  rXFactory)
explicit
ConfigurationAccess::~ConfigurationAccess ( )

Definition at line 155 of file configurationaccess.cxx.

Member Function Documentation

css::uno::Any ConfigurationAccess::GetConfigProperty ( const PPPOptimizerTokenEnum  ePropertyToken) const
bool ConfigurationAccess::GetConfigProperty ( const PPPOptimizerTokenEnum  ePropertyToken,
const bool  bDefault 
) const

Definition at line 404 of file configurationaccess.cxx.

References GetConfigProperty().

sal_Int16 ConfigurationAccess::GetConfigProperty ( const PPPOptimizerTokenEnum  ePropertyToken,
const sal_Int16  nDefault 
) const

Definition at line 412 of file configurationaccess.cxx.

References GetConfigProperty().

sal_Int32 ConfigurationAccess::GetConfigProperty ( const PPPOptimizerTokenEnum  ePropertyToken,
const sal_Int32  nDefault 
) const

Definition at line 420 of file configurationaccess.cxx.

References GetConfigProperty().

static css::uno::Reference< css::uno::XInterface > ConfigurationAccess::GetConfigurationNode ( const css::uno::Reference< css::uno::XInterface > &  xRoot,
const OUString &  sPathToNode 
)
staticprivate
Sequence< PropertyValue > ConfigurationAccess::GetConfigurationSequence ( )
std::vector< OptimizerSettings >& ConfigurationAccess::GetOptimizerSettings ( )
inline
std::vector< OptimizerSettings >::iterator ConfigurationAccess::GetOptimizerSettingsByName ( const OUString &  rName)
OUString ConfigurationAccess::getString ( const PPPOptimizerTokenEnum  eToken) const
void ConfigurationAccess::LoadConfiguration ( )
private
void ConfigurationAccess::LoadStrings ( )
private
Reference< XInterface > ConfigurationAccess::OpenConfiguration ( bool  bReadOnly)
private
void ConfigurationAccess::SaveConfiguration ( )
void ConfigurationAccess::SetConfigProperty ( const PPPOptimizerTokenEnum  ePropertyToken,
const css::uno::Any &  aValue 
)

Member Data Documentation

std::vector< OptimizerSettings > ConfigurationAccess::maSettings
private
std::map< PPPOptimizerTokenEnum, OUString > ConfigurationAccess::maStrings
private

Definition at line 101 of file configurationaccess.hxx.

Referenced by getString(), and LoadStrings().

css::uno::Reference< css::uno::XComponentContext > ConfigurationAccess::mxContext
private

Definition at line 105 of file configurationaccess.hxx.

Referenced by OpenConfiguration().


The documentation for this class was generated from the following files: