LibreOffice Module connectivity (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
connectivity::ParameterSubstitution Class Referencefinal

#include <ParameterSubstitution.hxx>

Inheritance diagram for connectivity::ParameterSubstitution:
[legend]
Collaboration diagram for connectivity::ParameterSubstitution:
[legend]

Public Member Functions

 ParameterSubstitution (css::uno::Reference< css::uno::XComponentContext > _rContext)
 

Private Member Functions

 ParameterSubstitution (const ParameterSubstitution &)=delete
 
ParameterSubstitutionoperator= (const ParameterSubstitution &)=delete
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override
 
virtual OUString SAL_CALL substituteVariables (const OUString &aText, sal_Bool bSubstRequired) override
 
virtual OUString SAL_CALL reSubstituteVariables (const OUString &aText) override
 
virtual OUString SAL_CALL getSubstituteVariableValue (const OUString &variable) override
 

Private Attributes

::osl::Mutex m_aMutex
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
css::uno::WeakReference< css::sdbc::XConnection > m_xConnection
 

Detailed Description

Definition at line 35 of file ParameterSubstitution.hxx.

Constructor & Destructor Documentation

◆ ParameterSubstitution() [1/2]

connectivity::ParameterSubstitution::ParameterSubstitution ( const ParameterSubstitution )
privatedelete

◆ ParameterSubstitution() [2/2]

connectivity::ParameterSubstitution::ParameterSubstitution ( css::uno::Reference< css::uno::XComponentContext >  _rContext)

Definition at line 32 of file ParameterSubstitution.cxx.

References _xContext, and m_xContext.

Member Function Documentation

◆ getImplementationName()

OUString SAL_CALL connectivity::ParameterSubstitution::getImplementationName ( )
overrideprivatevirtual

Definition at line 44 of file ParameterSubstitution.cxx.

◆ getSubstituteVariableValue()

OUString SAL_CALL connectivity::ParameterSubstitution::getSubstituteVariableValue ( const OUString &  variable)
overrideprivatevirtual

Definition at line 91 of file ParameterSubstitution.cxx.

◆ getSupportedServiceNames()

Sequence< OUString > SAL_CALL connectivity::ParameterSubstitution::getSupportedServiceNames ( )
overrideprivatevirtual

Definition at line 54 of file ParameterSubstitution.cxx.

◆ initialize()

void SAL_CALL connectivity::ParameterSubstitution::initialize ( const css::uno::Sequence< css::uno::Any > &  aArguments)
overrideprivatevirtual

◆ operator=()

ParameterSubstitution & connectivity::ParameterSubstitution::operator= ( const ParameterSubstitution )
privatedelete

◆ reSubstituteVariables()

OUString SAL_CALL connectivity::ParameterSubstitution::reSubstituteVariables ( const OUString &  aText)
overrideprivatevirtual

Definition at line 86 of file ParameterSubstitution.cxx.

◆ substituteVariables()

OUString SAL_CALL connectivity::ParameterSubstitution::substituteVariables ( const OUString &  aText,
sal_Bool  bSubstRequired 
)
overrideprivatevirtual

◆ supportsService()

sal_Bool SAL_CALL connectivity::ParameterSubstitution::supportsService ( const OUString &  ServiceName)
overrideprivatevirtual

Definition at line 49 of file ParameterSubstitution.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_aMutex

::osl::Mutex connectivity::ParameterSubstitution::m_aMutex
private

Definition at line 37 of file ParameterSubstitution.hxx.

Referenced by initialize().

◆ m_xConnection

css::uno::WeakReference< css::sdbc::XConnection > connectivity::ParameterSubstitution::m_xConnection
private

Definition at line 39 of file ParameterSubstitution.hxx.

Referenced by initialize(), and substituteVariables().

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > connectivity::ParameterSubstitution::m_xContext
private

Definition at line 38 of file ParameterSubstitution.hxx.

Referenced by substituteVariables().


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