gem5  v22.0.0.1
Public Types | Public Member Functions | List of all members
sc_core::sc_direct_access< Element > Class Template Reference

#include <sc_vector.hh>

Inheritance diagram for sc_core::sc_direct_access< Element >:
sc_core::sc_vector_iter< Element, AccessPolicy >

Public Types

typedef Element ElementType
 
typedef ElementType Type
 
typedef sc_gem5::remove_const< ElementType >::type PlainType
 
typedef sc_direct_access< ElementTypePolicy
 
typedef sc_direct_access< PlainTypeNonConstPolicy
 
typedef sc_direct_access< const PlainTypeConstPolicy
 

Public Member Functions

 sc_direct_access ()
 
 sc_direct_access (const NonConstPolicy &)
 
template<typename U >
 sc_direct_access (const U &, SC_ENABLE_IF_((sc_gem5::is_more_const< ElementType, typename U::Policy::ElementType >)))
 
ElementTypeget (ElementType *this_) const
 

Detailed Description

template<typename Element>
class sc_core::sc_direct_access< Element >

Definition at line 203 of file sc_vector.hh.

Member Typedef Documentation

◆ ConstPolicy

template<typename Element >
typedef sc_direct_access<const PlainType> sc_core::sc_direct_access< Element >::ConstPolicy

Definition at line 212 of file sc_vector.hh.

◆ ElementType

template<typename Element >
typedef Element sc_core::sc_direct_access< Element >::ElementType

Definition at line 206 of file sc_vector.hh.

◆ NonConstPolicy

template<typename Element >
typedef sc_direct_access<PlainType> sc_core::sc_direct_access< Element >::NonConstPolicy

Definition at line 211 of file sc_vector.hh.

◆ PlainType

template<typename Element >
typedef sc_gem5::remove_const<ElementType>::type sc_core::sc_direct_access< Element >::PlainType

Definition at line 208 of file sc_vector.hh.

◆ Policy

template<typename Element >
typedef sc_direct_access<ElementType> sc_core::sc_direct_access< Element >::Policy

Definition at line 210 of file sc_vector.hh.

◆ Type

template<typename Element >
typedef ElementType sc_core::sc_direct_access< Element >::Type

Definition at line 207 of file sc_vector.hh.

Constructor & Destructor Documentation

◆ sc_direct_access() [1/3]

template<typename Element >
sc_core::sc_direct_access< Element >::sc_direct_access ( )
inline

Definition at line 214 of file sc_vector.hh.

◆ sc_direct_access() [2/3]

template<typename Element >
sc_core::sc_direct_access< Element >::sc_direct_access ( const NonConstPolicy )
inline

Definition at line 215 of file sc_vector.hh.

◆ sc_direct_access() [3/3]

template<typename Element >
template<typename U >
sc_core::sc_direct_access< Element >::sc_direct_access ( const U &  ,
SC_ENABLE_IF_(( sc_gem5::is_more_const< ElementType, typename U::Policy::ElementType >))   
)
inline

Definition at line 218 of file sc_vector.hh.

Member Function Documentation

◆ get()

template<typename Element >
ElementType* sc_core::sc_direct_access< Element >::get ( ElementType this_) const
inline

Definition at line 227 of file sc_vector.hh.


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

Generated on Sat Jun 18 2022 08:15:22 for gem5 by doxygen 1.8.17