![]() |
My Project
|
#include <vspace.h>
Public Member Functions | |
| VRef () | |
| size_t | offset () const |
| bool | operator== (VRef< T > other) |
| bool | operator!= (VRef< T > other) |
| operator bool () const | |
| bool | is_null () |
| VRef (void *ptr) | |
| void * | to_ptr () const |
| T * | as_ptr () const |
| T & | as_ref () const |
| T & | operator* () const |
| T * | operator-> () |
| VRef< T > & | operator= (VRef< T > other) |
| T & | operator[] (size_t index) |
| template<typename U > | |
| VRef< U > | cast () |
| void | free () |
Static Public Member Functions | |
| static VRef< T > | from_vaddr (internals::vaddr_t vaddr) |
| static VRef< T > | alloc (size_t n=1) |
Private Member Functions | |
| VRef (internals::vaddr_t vaddr) | |
Private Attributes | |
| internals::vaddr_t | vaddr |
|
inlineprivate |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |