Otawa  0.10
otawa::Ref< T, I > Class Template Reference

#include <otawa/prop/Ref.h>

Inheritance diagram for otawa::Ref< T, I >:
otawa::ImmutableRef< T, I >

Public Member Functions

 Ref (PropList &_prop, const I &_id)
 
 Ref (PropList *_prop, const I &_id)
 
 Ref (const Ref< T, I > &ref)
 
PropListprops (void) const
 
const I & id (void) const
 
const Refadd (const T &value) const
 
void remove (void) const
 
T & ref (void) const
 
T & operator* (void) const
 
const Ref< T, I > & operator= (const T &value) const
 
Ref< T, I > & operator= (const Ref< T, I > &value)
 
Ref< T, I > & operator+= (const T &v)
 
Ref< T, I > & operator-= (const T &v)
 
Ref< T, I > & operator*= (const T &v)
 
Ref< T, I > & operator/= (const T &v)
 
Ref< T, I > & operator%= (const T &v) const
 
Ref< T, I > & operator&= (const T &v) const
 
Ref< T, I > & operator|= (const T &v) const
 
Ref< T, I > & operator^= (const T &v) const
 
Ref< T, I > & operator<<= (const T &v) const
 
Ref< T, I > & operator>>= (const T &v) const
 
Ref< T, I > & operator++ (void) const
 
Ref< T, I > & operator-- (void) const
 
Ref< T, I > & operator++ (int) const
 
Ref< T, I > & operator-- (int) const
 
const PropListproplist (void) const
 
const I & identifier (void) const
 
bool exists (void) const
 
const T & get (void) const
 
void print (io::Output &out) const
 
 operator const T & (void) const
 
operator-> (void) const
 

Protected Attributes

const PropListprop
 
const I & id
 

Constructor & Destructor Documentation

template<class T , class I >
otawa::Ref< T, I >::Ref ( PropList _prop,
const I &  _id 
)
inline
template<class T , class I >
otawa::Ref< T, I >::Ref ( PropList _prop,
const I &  _id 
)
inline
template<class T , class I >
otawa::Ref< T, I >::Ref ( const Ref< T, I > &  ref)
inline

Member Function Documentation

template<class T , class I >
const Ref& otawa::Ref< T, I >::add ( const T &  value) const
inline
template<class T, class I>
bool otawa::ImmutableRef< T, I >::exists ( void  ) const
inlineinherited
template<class T, class I>
const T& otawa::ImmutableRef< T, I >::get ( void  ) const
inlineinherited
template<class T , class I >
const I& otawa::Ref< T, I >::id ( void  ) const
inline
template<class T, class I>
const I& otawa::ImmutableRef< T, I >::identifier ( void  ) const
inlineinherited
template<class T, class I>
otawa::ImmutableRef< T, I >::operator const T & ( void  ) const
inlineinherited
template<class T , class I >
Ref<T, I>& otawa::Ref< T, I >::operator%= ( const T &  v) const
inline
template<class T , class I >
Ref<T, I>& otawa::Ref< T, I >::operator&= ( const T &  v) const
inline
template<class T , class I >
T& otawa::Ref< T, I >::operator* ( void  ) const
inline
template<class T , class I >
Ref<T, I>& otawa::Ref< T, I >::operator*= ( const T &  v)
inline
template<class T , class I >
Ref<T, I>& otawa::Ref< T, I >::operator++ ( void  ) const
inline
template<class T , class I >
Ref<T, I>& otawa::Ref< T, I >::operator++ ( int  ) const
inline
template<class T , class I >
Ref<T, I>& otawa::Ref< T, I >::operator+= ( const T &  v)
inline
template<class T , class I >
Ref<T, I>& otawa::Ref< T, I >::operator-- ( void  ) const
inline
template<class T , class I >
Ref<T, I>& otawa::Ref< T, I >::operator-- ( int  ) const
inline
template<class T , class I >
Ref<T, I>& otawa::Ref< T, I >::operator-= ( const T &  v)
inline
template<class T, class I>
T otawa::ImmutableRef< T, I >::operator-> ( void  ) const
inlineinherited
template<class T , class I >
Ref<T, I>& otawa::Ref< T, I >::operator/= ( const T &  v)
inline
template<class T , class I >
Ref<T, I>& otawa::Ref< T, I >::operator<<= ( const T &  v) const
inline
template<class T , class I >
const Ref<T, I>& otawa::Ref< T, I >::operator= ( const T &  value) const
inline
template<class T , class I >
Ref<T, I>& otawa::Ref< T, I >::operator= ( const Ref< T, I > &  value)
inline
template<class T , class I >
Ref<T, I>& otawa::Ref< T, I >::operator>>= ( const T &  v) const
inline
template<class T , class I >
Ref<T, I>& otawa::Ref< T, I >::operator^= ( const T &  v) const
inline
template<class T , class I >
Ref<T, I>& otawa::Ref< T, I >::operator|= ( const T &  v) const
inline
template<class T, class I>
void otawa::ImmutableRef< T, I >::print ( io::Output out) const
inlineinherited
template<class T, class I>
const PropList& otawa::ImmutableRef< T, I >::proplist ( void  ) const
inlineinherited
template<class T , class I >
PropList& otawa::Ref< T, I >::props ( void  ) const
inline
template<class T , class I >
void otawa::Ref< T, I >::remove ( void  ) const
inline

Member Data Documentation

template<class T, class I>
const I& otawa::ImmutableRef< T, I >::id
protectedinherited

The documentation for this class was generated from the following file: