is used to access named objects within a container.
More...
|
| any | getByName ([in] string aName) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException ) |
| |
| sequence< string > | getElementNames () |
| |
| boolean | hasByName ([in] string aName) |
| |
| type | getElementType () |
| |
| boolean | hasElements () |
| |
| any | queryInterface ([in] type aType) |
| | queries for a new interface to an existing UNO object.
|
| |
| void | acquire () |
| | increases the reference counter by one.
|
| |
| void | release () |
| | decreases the reference counter by one.
|
| |
is used to access named objects within a container.
To implement inaccurate name access, support the com::sun::star::beans::XExactName interface.
- See also
- com::sun::star::beans::XExactName
- Developers Guide
- Professional UNO - Collections and Containers
◆ getByName()
- Returns
- the object with the specified name.
- Parameters
-
| aName | the name of the object. |
- Exceptions
-
◆ getElementNames()
| sequence< string > getElementNames |
( |
| ) |
|
- Returns
- a sequence of all element names in this container.
The order of the names is not specified.
◆ hasByName()
| boolean hasByName |
( |
[in] string |
aName | ) |
|
- Returns
TRUE if an element with this name is in the container, FALSE otherwise.
In many cases the next call is XNameAccess::getByName(). You should optimize this case.
- Parameters
-
| aName | the name of the object. |
The documentation for this interface was generated from the following file: