SST/macro
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
sstmac::sw::sstmac_global_builtin< T * > Class Template Reference

#include <global_ptr.h>

Inheritance diagram for sstmac::sw::sstmac_global_builtin< T * >:
Inheritance graph
Collaboration diagram for sstmac::sw::sstmac_global_builtin< T * >:
Collaboration graph

Public Types

typedef val_map::const_iterator const_iterator
 

Public Member Functions

 sstmac_global_builtin ()
 
 sstmac_global_builtin (T *init)
 
virtual ~sstmac_global_builtin ()
 
virtual T *& get_val (int n=0) const
 
virtual std::string to_string () const
 
template<typename U >
T *& operator= (const sstmac_global_builtin< U > &b)
 
template<typename U >
T *& operator= (U *b)
 
T * operator++ ()
 
T * operator-- ()
 
T * operator++ (int dummy)
 
T * operator-- (int dummy)
 
template<typename U >
T * operator+ (const U &b)
 
template<typename U >
T * operator- (const U &b)
 
 operator char * ()
 
 operator int * ()
 
 operator long * ()
 
 operator void * ()
 
 operator const char * () const
 
 operator const int * () const
 
 operator const long * () const
 
 operator const void * () const
 
T & operator* ()
 
template<typename U >
bool operator== (const U &b) const
 
T * operator-> ()
 
T & operator[] (int idx)
 
T & operator[] (long idx)
 
const_iterator begin () const
 
const_iterator end () const
 

Protected Types

typedef spkt_unordered_map< long, T * > val_map
 
typedef T * Tptr
 

Protected Member Functions

bool check_init (process_context ptxt)
 
- Protected Member Functions inherited from sstmac::sw::sstmac_global
process_context current_context () const
 

Protected Attributes

val_map vals_
 
T * init_
 

Detailed Description

template<typename T>
class sstmac::sw::sstmac_global_builtin< T * >

Definition at line 21 of file global_ptr.h.

Member Typedef Documentation

template<typename T >
typedef val_map::const_iterator sstmac::sw::sstmac_global_builtin< T * >::const_iterator

Definition at line 45 of file global_ptr.h.

template<typename T >
typedef T* sstmac::sw::sstmac_global_builtin< T * >::Tptr
protected

Definition at line 26 of file global_ptr.h.

template<typename T >
typedef spkt_unordered_map<long, T*> sstmac::sw::sstmac_global_builtin< T * >::val_map
protected

Definition at line 25 of file global_ptr.h.

Constructor & Destructor Documentation

template<typename T >
sstmac::sw::sstmac_global_builtin< T * >::sstmac_global_builtin ( )
inlineexplicit

Definition at line 48 of file global_ptr.h.

template<typename T >
sstmac::sw::sstmac_global_builtin< T * >::sstmac_global_builtin ( T *  init)
inlineexplicit

Definition at line 53 of file global_ptr.h.

template<typename T >
virtual sstmac::sw::sstmac_global_builtin< T * >::~sstmac_global_builtin ( )
inlinevirtual

Definition at line 58 of file global_ptr.h.

Member Function Documentation

template<typename T >
const_iterator sstmac::sw::sstmac_global_builtin< T * >::begin ( ) const
inline

Definition at line 203 of file global_ptr.h.

template<typename T >
bool sstmac::sw::sstmac_global_builtin< T * >::check_init ( process_context  ptxt)
inlineprotected

Definition at line 31 of file global_ptr.h.

References sstmac::sw::process_context::none.

template<typename T >
const_iterator sstmac::sw::sstmac_global_builtin< T * >::end ( ) const
inline

Definition at line 207 of file global_ptr.h.

template<typename T >
virtual T*& sstmac::sw::sstmac_global_builtin< T * >::get_val ( int  n = 0) const
inlinevirtual

Definition at line 62 of file global_ptr.h.

References sstmac::sw::process_context::none.

Referenced by delete_global().

template<typename T >
sstmac::sw::sstmac_global_builtin< T * >::operator char * ( )
inline

Definition at line 140 of file global_ptr.h.

template<typename T >
sstmac::sw::sstmac_global_builtin< T * >::operator const char * ( ) const
inline

Definition at line 156 of file global_ptr.h.

template<typename T >
sstmac::sw::sstmac_global_builtin< T * >::operator const int * ( ) const
inline

Definition at line 160 of file global_ptr.h.

template<typename T >
sstmac::sw::sstmac_global_builtin< T * >::operator const long * ( ) const
inline

Definition at line 164 of file global_ptr.h.

template<typename T >
sstmac::sw::sstmac_global_builtin< T * >::operator const void * ( ) const
inline

Definition at line 168 of file global_ptr.h.

template<typename T >
sstmac::sw::sstmac_global_builtin< T * >::operator int * ( )
inline

Definition at line 144 of file global_ptr.h.

template<typename T >
sstmac::sw::sstmac_global_builtin< T * >::operator long * ( )
inline

Definition at line 148 of file global_ptr.h.

template<typename T >
sstmac::sw::sstmac_global_builtin< T * >::operator void * ( )
inline

Definition at line 152 of file global_ptr.h.

template<typename T >
T& sstmac::sw::sstmac_global_builtin< T * >::operator* ( )
inline

Definition at line 173 of file global_ptr.h.

template<typename T >
template<typename U >
T* sstmac::sw::sstmac_global_builtin< T * >::operator+ ( const U &  b)
inline

Definition at line 128 of file global_ptr.h.

template<typename T >
T* sstmac::sw::sstmac_global_builtin< T * >::operator++ ( )
inline

Definition at line 103 of file global_ptr.h.

template<typename T >
T* sstmac::sw::sstmac_global_builtin< T * >::operator++ ( int  dummy)
inline

Definition at line 115 of file global_ptr.h.

template<typename T >
template<typename U >
T* sstmac::sw::sstmac_global_builtin< T * >::operator- ( const U &  b)
inline

Definition at line 135 of file global_ptr.h.

template<typename T >
T* sstmac::sw::sstmac_global_builtin< T * >::operator-- ( )
inline

Definition at line 109 of file global_ptr.h.

template<typename T >
T* sstmac::sw::sstmac_global_builtin< T * >::operator-- ( int  dummy)
inline

Definition at line 121 of file global_ptr.h.

template<typename T >
T* sstmac::sw::sstmac_global_builtin< T * >::operator-> ( )
inline

Definition at line 186 of file global_ptr.h.

template<typename T >
template<typename U >
T*& sstmac::sw::sstmac_global_builtin< T * >::operator= ( const sstmac_global_builtin< U > &  b)
inline

Definition at line 88 of file global_ptr.h.

template<typename T >
template<typename U >
T*& sstmac::sw::sstmac_global_builtin< T * >::operator= ( U *  b)
inline

Definition at line 96 of file global_ptr.h.

template<typename T >
template<typename U >
bool sstmac::sw::sstmac_global_builtin< T * >::operator== ( const U &  b) const
inline

Definition at line 179 of file global_ptr.h.

template<typename T >
T& sstmac::sw::sstmac_global_builtin< T * >::operator[] ( int  idx)
inline

Definition at line 191 of file global_ptr.h.

template<typename T >
T& sstmac::sw::sstmac_global_builtin< T * >::operator[] ( long  idx)
inline

Definition at line 197 of file global_ptr.h.

template<typename T >
virtual std::string sstmac::sw::sstmac_global_builtin< T * >::to_string ( ) const
inlinevirtual

Definition at line 80 of file global_ptr.h.

Member Data Documentation

template<typename T >
T* sstmac::sw::sstmac_global_builtin< T * >::init_
protected

Definition at line 28 of file global_ptr.h.

template<typename T >
val_map sstmac::sw::sstmac_global_builtin< T * >::vals_
protected

Definition at line 27 of file global_ptr.h.


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