xdrpp
RFC4506 XDR compiler and message library
|
Optional data (represented with pointer notation in XDR source). More...
#include <types.h>
Public Types | |
using | value_type = T |
Public Member Functions | |
pointer (const pointer &p) | |
pointer (pointer &&p)=default | |
pointer & | operator= (const pointer &up) |
pointer & | operator= (pointer &&)=default |
uint32_t | size () const |
T * | begin () |
const T * | begin () const |
T * | end () |
const T * | end () const |
T & | extend_at (uint32_t i) |
void | resize (uint32_t n) |
T & | activate () |
Static Public Member Functions | |
static void | check_size (uint32_t n) |
Friends | |
bool | operator== (const pointer &a, const pointer &b) |
Compare by value, rather than looking at the value of the pointer. | |
bool | operator!= (const pointer &a, const pointer &b) |
bool | operator< (const pointer &a, const pointer &b) |
bool | operator> (const pointer &a, const pointer &b) |
bool | operator<= (const pointer &a, const pointer &b) |
bool | operator>= (const pointer &a, const pointer &b) |
Optional data (represented with pointer notation in XDR source).