#include <semval.hh>
Public Member Functions | |
| semref (ptr< semref_type > &a_ref) | |
| void | operator= (const ptr< T > &p) const |
| void | operator= (const semref< T > &a) const |
| template<typename Y> | |
| void | operator= (const semref< Y > &a) const |
| ptr< T > | operator-> () const |
| template<typename Y> | |
| operator ptr () const | |
| template<typename Y> | |
| operator srp () const | |
Private Attributes | |
| ptr< semref_type > & | ref |
Friends | |
| class | semref |
Definition at line 43 of file semval.hh.
| lestes::lang::cplus::syn::semref< T >::semref | ( | ptr< semref_type > & | a_ref | ) | [inline, explicit] |
| void lestes::lang::cplus::syn::semref< T >::operator= | ( | const ptr< T > & | p | ) | const [inline] |
| void lestes::lang::cplus::syn::semref< T >::operator= | ( | const semref< T > & | a | ) | const [inline] |
| void lestes::lang::cplus::syn::semref< T >::operator= | ( | const semref< Y > & | a | ) | const [inline] |
Definition at line 62 of file semval.hh.
00063 { 00064 // run-time check if `a' really references ptr<Y> or class derived from it 00065 // compile-time enforcement that Y is derived from T 00066 ptr<T> tmp = a.ref.template dncast<Y>(); 00067 ref = tmp; 00068 lassert2( ref, "Pointer assigned to a semref should not be NULL." ); 00069 }
| ptr<T> lestes::lang::cplus::syn::semref< T >::operator-> | ( | ) | const [inline] |
| lestes::lang::cplus::syn::semref< T >::operator ptr | ( | ) | const [inline] |
| lestes::lang::cplus::syn::semref< T >::operator srp | ( | ) | const [inline] |
ptr<semref_type>& lestes::lang::cplus::syn::semref< T >::ref [private] |
1.5.1-20070107