Otawa  0.10
otawa::DynIdentifier< T > Class Template Reference

An identifier dynamically resolved. More...

#include <otawa/prop/DynIdentifier.h>

Public Member Functions

 DynIdentifier (cstring name)
 Build a dynamic identifier. More...
 
cstring name (void) const
 Get the full-qualified C++ name of the identifier. More...
 
const T & operator() (const PropList &props) const
 
const T & operator() (const PropList *props) const
 
Ref< T, Identifier< T > > operator() (PropList &props) const
 
Ref< T, Identifier< T > > operator() (PropList *props) const
 

Private Member Functions

Identifier< T > & id (void) const
 

Private Attributes

cstring _name
 
Identifier< T > * _id
 

Detailed Description

template<class T>
class otawa::DynIdentifier< T >

An identifier dynamically resolved.

Pass the full-qualified C++ name to the constructor and use it as a normal identifier.

Parameters
TType of identifier value.

Constructor & Destructor Documentation

template<class T >
otawa::DynIdentifier< T >::DynIdentifier ( cstring  name)
inline

Build a dynamic identifier.

Parameters
nameFull-qualified C++ name of the dynamic identifier.

Member Function Documentation

template<class T >
cstring otawa::DynIdentifier< T >::name ( void  ) const
inline

Get the full-qualified C++ name of the identifier.

Returns
Identifier name.

References otawa::DynIdentifier< T >::_name.

template<class T >
const T& otawa::DynIdentifier< T >::operator() ( const PropList props) const
inline
template<class T >
const T& otawa::DynIdentifier< T >::operator() ( const PropList props) const
inline
template<class T >
Ref<T, Identifier<T> > otawa::DynIdentifier< T >::operator() ( PropList props) const
inline
template<class T >
Ref<T, Identifier<T> > otawa::DynIdentifier< T >::operator() ( PropList props) const
inline

Member Data Documentation

template<class T >
Identifier<T>* otawa::DynIdentifier< T >::_id
mutableprivate
template<class T >
cstring otawa::DynIdentifier< T >::_name
private

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