Methods of Class BaseReference
- get
- XInterface * get() throw();
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
- Gets interface pointer. This call does not acquire the interface.
- Return
- UNacquired interface pointer
- is
- sal_Bool is() throw();
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
- Checks if reference is null.
- Return
- true if reference acquires an interface, i.e. true if it is not null
- operator==
- sal_Bool operator==(
XInterface * |
pInterface ) const throw(); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
YES |
NO |
NO |
NO |
YES |
NO |
- Summary
- Equality operator: compares two interfaces
Checks if both references are null or refer to the same object.
- Parameters
-
- Return
- true if both references are null or refer to the same object, false otherwise
- operator!=
- sal_Bool operator!=(
XInterface * |
pInterface ) const throw(); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
YES |
NO |
NO |
NO |
YES |
NO |
- Summary
- Unequality operator: compares two interfaces
Checks if both references are null or refer to the same object.
- Parameters
-
- Return
- false if both references are null or refer to the same object, true otherwise
- operator==
- sal_Bool operator==(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
YES |
NO |
NO |
NO |
YES |
NO |
- Summary
- Equality operator: compares two interfaces
Checks if both references are null or refer to the same object.
- Parameters
-
- Return
- true if both references are null or refer to the same object, false otherwise
- operator!=
- sal_Bool operator!=(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
YES |
NO |
NO |
NO |
YES |
NO |
- Summary
- Unequality operator: compares two interfaces
Checks if both references are null or refer to the same object.
- Parameters
-
- Return
- false if both references are null or refer to the same object, true otherwise
- operator<
- sal_Bool operator<(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
YES |
NO |
NO |
NO |
YES |
NO |
- Summary
- Needed by some STL containers.
- Parameters
-
- Return
- true, if this reference is less than rRef
- iquery
- static XInterface * iquery(
XInterface * |
pInterface, |
const Type & |
rType ) |
| throw( RuntimeException ); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
YES |
YES |
NO |
- Summary
- Queries given interface for type rType.
- Parameters
pInterface |
interface pointer
|
rType |
interface type
|
- Return
- interface of demanded type (may be null)
- iquery_throw
- static XInterface * iquery_throw(
XInterface * |
pInterface, |
const Type & |
rType ) |
| throw( RuntimeException ); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
YES |
YES |
NO |
- Summary
- Queries given interface for type rType.
Throws a RuntimeException if the demanded interface cannot be queried.
- Parameters
pInterface |
interface pointer
|
rType |
interface type
|
- Return
- interface of demanded type
Top of Page
Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.