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 |
:: com :: sun :: star :: uno :: class BaseReference
- Base Classes
- None.
- Known Derived Classes
- Reference
virtual |
abstract |
interface |
template |
NO |
NO |
NO |
NO |
- Summary
- This base class serves as a base class for all template reference classes and
has been introduced due to compiler problems with templated operators ==, =!.
- File
- Reference.h
Public Members
-
Methods
|
XInterface *
get( ) const throw( ); |
Gets interface pointer. This call does not acquire the interface.
|
sal_Bool
is( ) const throw( ); |
Checks if reference is null.
|
sal_Bool
operator==( XInterface * pInterface ) const throw( ); |
Equality operator: compares two interfaces
Checks if both references are null or refer to the same object.
|
sal_Bool
operator!=( XInterface * pInterface ) const throw( ); |
Unequality operator: compares two interfaces
Checks if both references are null or refer to the same object.
|
sal_Bool
operator==( const BaseReference & rRef ) const throw( ); |
Equality operator: compares two interfaces
Checks if both references are null or refer to the same object.
|
sal_Bool
operator!=( const BaseReference & rRef ) const throw( ); |
Unequality operator: compares two interfaces
Checks if both references are null or refer to the same object.
|
sal_Bool
operator<( const BaseReference & rRef ) const throw( ); |
Needed by some STL containers.
|
Protected Members
-
Static Methods
|
static XInterface *
iquery( XInterface * pInterface, const Type & rType ) throw( RuntimeException ); |
Queries given interface for type rType.
|
static XInterface *
iquery_throw( XInterface * pInterface, const Type & rType ) throw( RuntimeException ); |
Queries given interface for type rType.
Throws a RuntimeException if the demanded interface cannot be queried.
|
Top of Page
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.