Overview | Namespace | Class | Index | Help |
PUBLIC MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
PROTECTED MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
PRIVATE MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
IPropertyArrayHelper (public)
|
+--OPropertyArrayHelper
virtual | abstract | interface | template |
YES | NO | NO | NO |
Methods |
|
OPropertyArrayHelper( ::com::sun::star::beans::Property * pProps, sal_Int32 nElements, sal_Bool bSorted = sal_True ) throw( ); |
Create an object which supports the common property interfaces. |
OPropertyArrayHelper( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > & aProps, sal_Bool bSorted = sal_True ) throw( ); |
Create an object which supports the common property interfaces. |
sal_Int32 getCount( ) const throw( ); |
Return the number of properties. |
virtual sal_Bool fillPropertyMembersByHandle( ::rtl::OUString * pPropName, sal_Int16 * pAttributes, sal_Int32 nHandle ); |
Return the property members Name and Attribute from the handle nHandle. |
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > getProperties( void ); |
Return the sequence of properties. The sequence is sorted by name. |
virtual ::com::sun::star::beans::Property getPropertyByName( const ::rtl::OUString & rPropertyName ) throw( ::com::sun::star::beans::UnknownPropertyException ); |
Return the property with the name rPropertyName. |
virtual sal_Bool hasPropertyByName( const ::rtl::OUString & rPropertyName ); |
Return true if the property with the name rPropertyName exist, otherwise false. |
virtual sal_Int32 getHandleByName( const ::rtl::OUString & rPropertyName ); |
Return the handle of the property with the name rPropertyName. If the property does not exist -1 is returned. |
virtual sal_Int32 fillHandles( sal_Int32 * pHandles, const ::com::sun::star::uno::Sequence< ::rtl::OUString > & rPropNames ); |
Fill the array with the handles of the properties. |
Data |
|
void * m_pReserved; | reserved for future use. do not use. |
Methods |
|
void init( sal_Bool bSorted ) throw( ); |
Data |
|
::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > aInfos; | The sequence generstet from the pProperties array. |
sal_Bool bRightOrdered; | True, If the values of the handles are sorted in the same way as the names and the highest handle value is getCount() -1, otherwise false. |
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.