21#include <com/sun/star/beans/PropertyAttribute.hpp>
49 struct ResetROAttribute
51 void operator ()( Property& _rProperty )
const
53 _rProperty.Attributes &= ~PropertyAttribute::READONLY;
58 void operator ()( Property& _rProperty )
const
60 _rProperty.Attributes |= PropertyAttribute::READONLY;
73 std::for_each(
begin,
end, ResetROAttribute() );
75 std::for_each(
begin,
end, SetROAttribute() );
77 return new ::cppu::OPropertyArrayHelper(
aProperties );
84 return pImplementation && pImplementation->
isNew();
PropertiesInfo aProperties
void describeProperties(css::uno::Sequence< css::beans::Property > &_rProps) const
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes()
ODescriptor(::cppu::OBroadcastHelper &_rBHelper, bool _bCase, bool _bNew=false)
::cppu::IPropertyArrayHelper * doCreateArrayHelper() const
helper for derived classes to implement OPropertyArrayUsageHelper::createArrayHelper
enumrange< T >::Iterator begin(enumrange< T >)