From Apache OpenOffice Wiki
< Uno‎ | Cpp‎ | Spec
Revision as of 12:53, 30 June 2006 by Kr (Talk | contribs)

Jump to: navigation, search

State: draft
Type: specification

Environment Aware Reference


An environment aware reference. Ensuring that the owning environment has always been entered when calling an object.


 template<class T> EnvAwareReference
   EnvAwareReference() {}
   EnvAwareReference(cssuno::Reference<T> const & xRef)
   EnvAwareReference(EnvAwareReference<T> const & rOther)

   cssuno::Reference<T> get() const throw (cssuno::RuntimeException)

   operator cssuno::Reference<T> () const throw (cssuno::RuntimeException)

   T * operator -> () const throw (cssuno::RuntimeException)

   bool is() const throw (cssuno::RuntimeException)

   void clear()

   EnvAwareReference<T> & operator = (EnvAwareReference<T> const & rOther)

   void set(cssuno::Reference<T> const & xRef)

   bool operator == (EnvAwareReference const & rOther) const

   bool operator != (EnvAwareReference const & rOther) const


  • C++ uno::Environment
  • Stacked Environments
Personal tools