LibreOffice Module connectivity (master) 1
Classes | Namespaces | Macros | Typedefs | Functions
CommonTools.hxx File Reference
#include <sal/config.h>
#include <config_java.h>
#include <map>
#include <string_view>
#include <rtl/ref.hxx>
#include <rtl/ustring.hxx>
#include <vector>
#include <cppuhelper/weakref.hxx>
#include <comphelper/stl_types.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/sdbcx/XColumnsSupplier.hpp>
#include <connectivity/dbtoolsdllapi.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <salhelper/simplereferenceobject.hxx>
Include dependency graph for CommonTools.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  connectivity::ORefVector< VectorVal >
 
class  connectivity::ORowVector< VectorVal >
 

Namespaces

namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::uno
 
namespace  connectivity
 

Macros

#define DECLARE_SERVICE_INFO()
 
#define IMPLEMENT_SERVICE_INFO(classname, implasciiname, serviceasciiname)
 

Typedefs

typedef std::vector< css::uno::WeakReferenceHelper > connectivity::OWeakRefArray
 
typedef css::uno::Reference< css::sdbcx::XColumnsSupplier > connectivity::OSQLTable
 
typedef std::map< OUString, OSQLTable, comphelper::UStringMixLessconnectivity::OSQLTables
 
typedef ORefVector< css::uno::Reference< css::beans::XPropertySet > > connectivity::OSQLColumns
 

Functions

bool connectivity::match (const sal_Unicode *pWild, const sal_Unicode *pStr, const sal_Unicode cEscape)
 
bool connectivity::match (const OUString &rWild, const OUString &rStr, const sal_Unicode cEscape)
 
OSQLColumns::const_iterator connectivity::find (const OSQLColumns::const_iterator &first, const OSQLColumns::const_iterator &last, std::u16string_view _rVal, const ::comphelper::UStringMixEqual &_rCase)
 
OSQLColumns::const_iterator connectivity::findRealName (const OSQLColumns::const_iterator &first, const OSQLColumns::const_iterator &last, std::u16string_view _rVal, const ::comphelper::UStringMixEqual &_rCase)
 
OSQLColumns::const_iterator connectivity::find (OSQLColumns::const_iterator first, const OSQLColumns::const_iterator &last, const OUString &_rProp, std::u16string_view _rVal, const ::comphelper::UStringMixEqual &_rCase)
 
void connectivity::checkDisposed (bool _bThrow)
 

Macro Definition Documentation

◆ DECLARE_SERVICE_INFO

#define DECLARE_SERVICE_INFO ( )
Value:
virtual OUString SAL_CALL getImplementationName( ) override; \
virtual sal_Bool SAL_CALL supportsService( const OUString& rServiceName ) override; \
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override \
css::uno::Sequence< OUString > getSupportedServiceNames()
OUString getImplementationName()
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
unsigned char sal_Bool

Definition at line 145 of file CommonTools.hxx.

◆ IMPLEMENT_SERVICE_INFO

#define IMPLEMENT_SERVICE_INFO (   classname,
  implasciiname,
  serviceasciiname 
)
Value:
OUString SAL_CALL classname::getImplementationName( ) \
{ \
return implasciiname; \
} \
css::uno::Sequence< OUString > SAL_CALL classname::getSupportedServiceNames( ) \
{ \
css::uno::Sequence< OUString > aSupported { serviceasciiname }; \
return aSupported; \
} \
sal_Bool SAL_CALL classname::supportsService( const OUString& rServiceName ) \
{ \
return cppu::supportsService(this, rServiceName); \
} \

Definition at line 150 of file CommonTools.hxx.