CHERIoT RTOS
A compartmentalised RTOS for CHERIoT hardware
Loading...
Searching...
No Matches
ds::pointer::proxy::PtrAddr< T > Class Template Reference

Equipped with a context for bounds, an address reference can be a proxy for a pointer. More...

#include <pointer.h>

Public Types

using Type = T

Public Member Functions

 PtrAddr (void *c, ptraddr_t &r)
 operator T* ()
T * operator-> ()
PtrAddr & operator= (T *p)
PtrAddr & operator= (PtrAddr const &p)
bool operator== (PtrAddr &p)
auto operator<=> (PtrAddr &p)

Detailed Description

template<typename T>
class ds::pointer::proxy::PtrAddr< T >

Equipped with a context for bounds, an address reference can be a proxy for a pointer.

Definition at line 129 of file pointer.h.

Member Typedef Documentation

◆ Type

template<typename T>
using ds::pointer::proxy::PtrAddr< T >::Type = T

Definition at line 135 of file pointer.h.

Constructor & Destructor Documentation

◆ PtrAddr()

template<typename T>
ds::pointer::proxy::PtrAddr< T >::PtrAddr ( void * c,
ptraddr_t & r )
inline

Definition at line 137 of file pointer.h.

Member Function Documentation

◆ operator T*()

template<typename T>
ds::pointer::proxy::PtrAddr< T >::operator T* ( )
inline

Definition at line 139 of file pointer.h.

◆ operator->()

template<typename T>
T * ds::pointer::proxy::PtrAddr< T >::operator-> ( )
inline

Definition at line 146 of file pointer.h.

◆ operator<=>()

template<typename T>
auto ds::pointer::proxy::PtrAddr< T >::operator<=> ( PtrAddr< T > & p)
inline

Definition at line 173 of file pointer.h.

◆ operator=() [1/2]

template<typename T>
PtrAddr & ds::pointer::proxy::PtrAddr< T >::operator= ( PtrAddr< T > const & p)
inline

Definition at line 157 of file pointer.h.

◆ operator=() [2/2]

template<typename T>
PtrAddr & ds::pointer::proxy::PtrAddr< T >::operator= ( T * p)
inline

Definition at line 151 of file pointer.h.

◆ operator==()

template<typename T>
bool ds::pointer::proxy::PtrAddr< T >::operator== ( PtrAddr< T > & p)
inline

Definition at line 168 of file pointer.h.


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