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
Collaboration diagram for svx::ODADescriptorImpl:
[legend]

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 39 of file dataaccessdescriptor.cxx.

Member Typedef Documentation

Definition at line 46 of file dataaccessdescriptor.cxx.

Definition at line 50 of file dataaccessdescriptor.cxx.

Constructor & Destructor Documentation

svx::ODADescriptorImpl::ODADescriptorImpl ( )

Definition at line 78 of file dataaccessdescriptor.cxx.

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

Definition at line 84 of file dataaccessdescriptor.cxx.

References m_aAsSequence, and m_bSequenceOutOfDate.

Member Function Documentation

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 93 of file dataaccessdescriptor.cxx.

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

Referenced by buildFrom().

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 124 of file dataaccessdescriptor.cxx.

References buildFrom(), m_bSetOutOfDate, and Property.

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

Definition at line 197 of file dataaccessdescriptor.cxx.

References getPropertyMapEntry().

Referenced by updateSequence().

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

Definition at line 184 of file dataaccessdescriptor.cxx.

References getPropertyMap().

Referenced by buildPropertyValue().

void svx::ODADescriptorImpl::invalidateExternRepresentations ( )

Definition at line 154 of file dataaccessdescriptor.cxx.

References m_bSequenceOutOfDate, and m_bSetOutOfDate.

void svx::ODADescriptorImpl::updateSequence ( )

Member Data Documentation

Sequence< PropertyValue > svx::ODADescriptorImpl::m_aAsSequence

Definition at line 48 of file dataaccessdescriptor.cxx.

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

DescriptorValues svx::ODADescriptorImpl::m_aValues

Definition at line 47 of file dataaccessdescriptor.cxx.

Referenced by buildFrom(), and updateSequence().

bool svx::ODADescriptorImpl::m_bSequenceOutOfDate
protected
bool svx::ODADescriptorImpl::m_bSetOutOfDate
protected

Definition at line 42 of file dataaccessdescriptor.cxx.

Referenced by buildFrom(), and invalidateExternRepresentations().


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