gem5 v24.0.0.0
Loading...
Searching...
No Matches
sc_core::sc_member_access< Element, Access > Class Template Reference

#include <sc_vector.hh>

Public Types

typedef Element ElementType
 
typedef Access AccessType
 
typedef AccessTypeElementType::* MemberType
 
typedef AccessType Type
 
typedef sc_gem5::remove_const< AccessType >::type PlainType
 
typedef sc_gem5::remove_const< ElementType >::type PlainElemType
 
typedef sc_member_access< ElementType, AccessTypePolicy
 
typedef sc_member_access< PlainElemType, PlainTypeNonConstPolicy
 
typedef sc_member_access< const PlainElemType, const PlainTypeConstPolicy
 

Public Member Functions

 sc_member_access (MemberType ptr)
 
 sc_member_access (const NonConstPolicy &other)
 
AccessTypeget (ElementType *this_) const
 

Private Attributes

MemberType ptr_
 

Friends

template<typename , typename >
class sc_member_access
 

Detailed Description

template<typename Element, typename Access>
class sc_core::sc_member_access< Element, Access >

Definition at line 235 of file sc_vector.hh.

Member Typedef Documentation

◆ AccessType

template<typename Element , typename Access >
typedef Access sc_core::sc_member_access< Element, Access >::AccessType

Definition at line 242 of file sc_vector.hh.

◆ ConstPolicy

template<typename Element , typename Access >
typedef sc_member_access<const PlainElemType, const PlainType> sc_core::sc_member_access< Element, Access >::ConstPolicy

Definition at line 250 of file sc_vector.hh.

◆ ElementType

template<typename Element , typename Access >
typedef Element sc_core::sc_member_access< Element, Access >::ElementType

Definition at line 241 of file sc_vector.hh.

◆ MemberType

template<typename Element , typename Access >
typedef AccessTypeElementType::* sc_core::sc_member_access< Element, Access >::MemberType

Definition at line 243 of file sc_vector.hh.

◆ NonConstPolicy

template<typename Element , typename Access >
typedef sc_member_access<PlainElemType, PlainType> sc_core::sc_member_access< Element, Access >::NonConstPolicy

Definition at line 249 of file sc_vector.hh.

◆ PlainElemType

template<typename Element , typename Access >
typedef sc_gem5::remove_const<ElementType>::type sc_core::sc_member_access< Element, Access >::PlainElemType

Definition at line 246 of file sc_vector.hh.

◆ PlainType

template<typename Element , typename Access >
typedef sc_gem5::remove_const<AccessType>::type sc_core::sc_member_access< Element, Access >::PlainType

Definition at line 245 of file sc_vector.hh.

◆ Policy

template<typename Element , typename Access >
typedef sc_member_access<ElementType, AccessType> sc_core::sc_member_access< Element, Access >::Policy

Definition at line 248 of file sc_vector.hh.

◆ Type

template<typename Element , typename Access >
typedef AccessType sc_core::sc_member_access< Element, Access >::Type

Definition at line 244 of file sc_vector.hh.

Constructor & Destructor Documentation

◆ sc_member_access() [1/2]

template<typename Element , typename Access >
sc_core::sc_member_access< Element, Access >::sc_member_access ( MemberType ptr)
inline

Definition at line 252 of file sc_vector.hh.

◆ sc_member_access() [2/2]

template<typename Element , typename Access >
sc_core::sc_member_access< Element, Access >::sc_member_access ( const NonConstPolicy & other)
inline

Definition at line 253 of file sc_vector.hh.

Member Function Documentation

◆ get()

template<typename Element , typename Access >
AccessType * sc_core::sc_member_access< Element, Access >::get ( ElementType * this_) const
inline

Definition at line 255 of file sc_vector.hh.

References sc_core::sc_member_access< Element, Access >::ptr_.

Friends And Related Symbol Documentation

◆ sc_member_access

template<typename Element , typename Access >
template<typename , typename >
friend class sc_member_access
friend

Definition at line 239 of file sc_vector.hh.

Member Data Documentation

◆ ptr_

template<typename Element , typename Access >
MemberType sc_core::sc_member_access< Element, Access >::ptr_
private

Definition at line 258 of file sc_vector.hh.

Referenced by sc_core::sc_member_access< Element, Access >::get().


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

Generated on Tue Jun 18 2024 16:24:55 for gem5 by doxygen 1.11.0