gem5 v25.0.0.1
Loading...
Searching...
No Matches
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

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.

Detailed Description

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

Definition at line 43 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 46 of file array.hh.

◆ size_type

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

Definition at line 47 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 50 of file array.hh.

References m_entries.

Member Function Documentation

◆ expand()

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

Definition at line 60 of file array.hh.

◆ free_entire_cache()

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

Definition at line 75 of file array.hh.

References m_entries.

◆ insert_in_cache()

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

Definition at line 71 of file array.hh.

References m_entries.

◆ kind()

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

Definition at line 67 of file array.hh.

References kind_string.

Member Data Documentation

◆ kind_string

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

Definition at line 66 of file array.hh.

Referenced by kind().

◆ m_entries

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

Definition at line 90 of file array.hh.

Referenced by free_entire_cache(), insert_in_cache(), and tlm_array().


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

Generated on Sat Oct 18 2025 08:07:54 for gem5 by doxygen 1.14.0