LibreOffice Module svx (master) 1
Public Types | Public Member Functions | Public Attributes | Static Protected Member Functions | Protected Attributes | List of all members
svx::ODADescriptorImpl Class Reference

Public Types

typedef ::std::map< DataAccessDescriptorProperty, Any > DescriptorValues
 
typedef ::std::map< OUString, DataAccessDescriptorPropertyMapString2PropertyEntry
 

Public Member Functions

 ODADescriptorImpl ()
 
 ODADescriptorImpl (const ODADescriptorImpl &_rSource)
 
void invalidateExternRepresentations ()
 
void updateSequence ()
 
bool buildFrom (const Sequence< PropertyValue > &_rValues)
 builds the descriptor from a property value sequence More...
 
bool buildFrom (const Reference< XPropertySet > &_rValues)
 builds the descriptor from a property set More...
 

Public Attributes

DescriptorValues m_aValues
 
Sequence< PropertyValue > m_aAsSequence
 

Static Protected Member Functions

static PropertyValue buildPropertyValue (const DescriptorValues::const_iterator &_rPos)
 
static const MapString2PropertyEntrygetPropertyMap ()
 
static PropertyMapEntry const * getPropertyMapEntry (const DescriptorValues::const_iterator &_rPos)
 

Protected Attributes

bool m_bSetOutOfDate: 1
 
bool m_bSequenceOutOfDate: 1
 

Detailed Description

Definition at line 36 of file dataaccessdescriptor.cxx.

Member Typedef Documentation

◆ DescriptorValues

Definition at line 43 of file dataaccessdescriptor.cxx.

◆ MapString2PropertyEntry

Definition at line 47 of file dataaccessdescriptor.cxx.

Constructor & Destructor Documentation

◆ ODADescriptorImpl() [1/2]

svx::ODADescriptorImpl::ODADescriptorImpl ( )

Definition at line 75 of file dataaccessdescriptor.cxx.

◆ ODADescriptorImpl() [2/2]

svx::ODADescriptorImpl::ODADescriptorImpl ( const ODADescriptorImpl _rSource)

Definition at line 81 of file dataaccessdescriptor.cxx.

References m_aAsSequence, and m_bSequenceOutOfDate.

Member Function Documentation

◆ buildFrom() [1/2]

bool svx::ODADescriptorImpl::buildFrom ( const Reference< XPropertySet > &  _rValues)

builds the descriptor from a property set

Returns
<TRUE> if and only if the set contained valid properties only

Definition at line 121 of file dataaccessdescriptor.cxx.

References aProperties, buildFrom(), m_bSetOutOfDate, Property, and pValues.

◆ buildFrom() [2/2]

bool svx::ODADescriptorImpl::buildFrom ( const Sequence< PropertyValue > &  _rValues)

builds the descriptor from a property value sequence

Returns
<TRUE> if and only if the sequence contained valid properties only

Definition at line 90 of file dataaccessdescriptor.cxx.

References getPropertyMap(), m_aAsSequence, m_aValues, and m_bSequenceOutOfDate.

Referenced by buildFrom().

◆ buildPropertyValue()

PropertyValue svx::ODADescriptorImpl::buildPropertyValue ( const DescriptorValues::const_iterator &  _rPos)
staticprotected

Definition at line 194 of file dataaccessdescriptor.cxx.

References getPropertyMapEntry().

Referenced by updateSequence().

◆ getPropertyMap()

const ODADescriptorImpl::MapString2PropertyEntry & svx::ODADescriptorImpl::getPropertyMap ( )
staticprotected

◆ getPropertyMapEntry()

PropertyMapEntry const * svx::ODADescriptorImpl::getPropertyMapEntry ( const DescriptorValues::const_iterator &  _rPos)
staticprotected

Definition at line 181 of file dataaccessdescriptor.cxx.

References getPropertyMap().

Referenced by buildPropertyValue().

◆ invalidateExternRepresentations()

void svx::ODADescriptorImpl::invalidateExternRepresentations ( )

Definition at line 151 of file dataaccessdescriptor.cxx.

References m_bSequenceOutOfDate, and m_bSetOutOfDate.

◆ updateSequence()

void svx::ODADescriptorImpl::updateSequence ( )

Member Data Documentation

◆ m_aAsSequence

Sequence< PropertyValue > svx::ODADescriptorImpl::m_aAsSequence

Definition at line 45 of file dataaccessdescriptor.cxx.

Referenced by buildFrom(), ODADescriptorImpl(), and updateSequence().

◆ m_aValues

DescriptorValues svx::ODADescriptorImpl::m_aValues

Definition at line 44 of file dataaccessdescriptor.cxx.

Referenced by buildFrom(), and updateSequence().

◆ m_bSequenceOutOfDate

bool svx::ODADescriptorImpl::m_bSequenceOutOfDate
protected

◆ m_bSetOutOfDate

bool svx::ODADescriptorImpl::m_bSetOutOfDate
protected

Definition at line 39 of file dataaccessdescriptor.cxx.

Referenced by buildFrom(), and invalidateExternRepresentations().


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