Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.11
 Overview   Namespace   Class   Index   Help 
PUBLIC MEMBERS:  CLASSESSTRUCTSUNIONSENUMSTYPEDEFSMETHODSSTATIC METHODSDATASTATIC DATA
PROTECTED MEMBERS:  CLASSESSTRUCTSUNIONSENUMSTYPEDEFSMETHODSSTATIC METHODSDATASTATIC 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( );

Protected Members

Data

XInterface * _pInterface; the interface pointer

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.