TLM-2.0  2.0.3
Accellera TLM-2.0 proof-of-concept library
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
tlm::tlm_array< T > Class Template Reference

#include <tlm_core/tlm_2/tlm_generic_payload/tlm_array.h>

Inheritance diagram for tlm::tlm_array< T >:
Inheritance graph
[legend]
Collaboration diagram for tlm::tlm_array< T >:
Collaboration graph
[legend]

Public Member Functions

 tlm_array (size_type size=0, T const &default_value=T())
 
void expand (size_type new_size)
 
const char * kind () const
 
void insert_in_cache (T *p)
 
void free_entire_cache ()
 

Static Public Attributes

static const char *const kind_string = "tlm_array"
 

Protected Member Functions

tlm_arrayoperator= (const tlm_array< T > &)
 

Protected Attributes

std::vector< size_type > m_entries
 
m_default
 

Detailed Description

template<typename T>
class tlm::tlm_array< T >

Definition at line 49 of file tlm_array.h.

Constructor & Destructor Documentation

template<typename T>
tlm::tlm_array< T >::tlm_array ( size_type  size = 0,
T const &  default_value = T() 
)
inline

Definition at line 57 of file tlm_array.h.

Member Function Documentation

template<typename T>
void tlm::tlm_array< T >::expand ( size_type  new_size)
inline

Definition at line 78 of file tlm_array.h.

template<typename T>
void tlm::tlm_array< T >::free_entire_cache ( )
inline

Definition at line 99 of file tlm_array.h.

template<typename T>
void tlm::tlm_array< T >::insert_in_cache ( T *  p)
inline

Definition at line 92 of file tlm_array.h.

template<typename T>
const char* tlm::tlm_array< T >::kind ( ) const
inline

Definition at line 88 of file tlm_array.h.

template<typename T>
tlm_array& tlm::tlm_array< T >::operator= ( const tlm_array< T > &  )
protected

Member Data Documentation

template<typename T>
const char *const tlm::tlm_array< T >::kind_string = "tlm_array"
static

Definition at line 87 of file tlm_array.h.

template<typename T>
T tlm::tlm_array< T >::m_default
protected

Definition at line 112 of file tlm_array.h.

template<typename T>
std::vector<size_type> tlm::tlm_array< T >::m_entries
protected

Definition at line 111 of file tlm_array.h.


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