PropertySetInfo::PropertySetInfo( std::span<const PropertyMapEntry> pMap ) noexcept
{
maPropertyMap.reserve(pMap.size()); for (constauto & rEntry : pMap)
{ // check for duplicates
assert(!maPropertyMap.contains(rEntry.maName)); // Make sure there are no accidental empty entries left at the end of the array from // when this method used to take a empty-terminated array.
assert(!rEntry.maName.isEmpty());
void PropertySetInfo::add( std::span<PropertyMapEntry const> pMap ) noexcept
{
maPropertyMap.reserve(maPropertyMap.size() + pMap.size()); for (constauto & rEntry : pMap)
{ // check for duplicates
assert(!maPropertyMap.contains(rEntry.maName)); // Make sure there are no accidental empty entries left at the end of the array from // when this method used to take a empty-terminated array.
assert(!rEntry.maName.isEmpty());
Sequence< css::beans::Property > SAL_CALL PropertySetInfo::getProperties()
{ // maybe we have to generate the properties after // a change in the property map or at first call // to getProperties if( maProperties.size() != maPropertyMap.size() )
{
maProperties.realloc( maPropertyMap.size() ); auto propIter = maProperties.getArray();
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.