gem5  v20.1.0.0
Public Member Functions | Static Public Attributes | Protected Attributes | Private Types | List of all members
tlm::tlm_array< T > Class Template Reference

#include <array.hh>

Inheritance diagram for tlm::tlm_array< T >:
std::vector< T >

Public Member Functions

 tlm_array (size_type size=0)
 
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 Attributes

std::vector< size_typem_entries
 

Private Types

typedef std::vector< T > base_type
 
typedef base_type::size_type size_type
 

Additional Inherited Members

- Private Attributes inherited from std::vector< T >
item
 Dummy Item. More...
 

Detailed Description

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

Definition at line 60 of file array.hh.

Member Typedef Documentation

◆ base_type

template<typename T >
typedef std::vector<T> tlm::tlm_array< T >::base_type
private

Definition at line 80 of file array.hh.

◆ size_type

template<typename T >
typedef base_type::size_type tlm::tlm_array< T >::size_type
private

Definition at line 81 of file array.hh.

Constructor & Destructor Documentation

◆ tlm_array()

template<typename T >
tlm::tlm_array< T >::tlm_array ( size_type  size = 0)
inline

Definition at line 84 of file array.hh.

Member Function Documentation

◆ expand()

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

Definition at line 94 of file array.hh.

◆ free_entire_cache()

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

Definition at line 109 of file array.hh.

◆ insert_in_cache()

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

Definition at line 105 of file array.hh.

◆ kind()

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

Definition at line 101 of file array.hh.

Member Data Documentation

◆ kind_string

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

Definition at line 100 of file array.hh.

◆ m_entries

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

Definition at line 124 of file array.hh.


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

Generated on Wed Sep 30 2020 14:03:13 for gem5 by doxygen 1.8.17