Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
Realm::ByteArray Class Reference

#include <bytearray.h>

Inheritance diagram for Realm::ByteArray:
[legend]
Collaboration diagram for Realm::ByteArray:
[legend]

Public Member Functions

 ByteArray (void)
 ByteArray (const void *copy_from, size_t copy_size)
 ByteArray (const ByteArray &copy_from)
 ByteArray (const ByteArrayRef &copy_from)
 ~ByteArray (void)
ByteArray & operator= (const ByteArrayRef &copy_from)
ByteArray & operator= (const ByteArray &copy_from)
ByteArray & swap (ByteArray &swap_with)
ByteArray & set (const void *copy_from, size_t copy_size)
void * base (void)
const void * base (void) const
template<typename T>
T & at (size_t offset)
template<typename T>
const T & at (size_t offset) const
ByteArray & attach (void *new_base, size_t new_size)
void clear (void)
void * detach (void)
Public Member Functions inherited from Realm::ByteArrayRef
 ByteArrayRef (void)
 ByteArrayRef (const void *ref_base, size_t ref_size)
 ByteArrayRef (const ByteArrayRef &ref)
ByteArrayRef & changeref (const void *ref_base, size_t ref_size)
const void * base (void) const
size_t size (void) const
template<typename T>
const T & at (size_t offset) const

Protected Member Functions

void make_copy (const void *copy_base, size_t copy_size)

Additional Inherited Members

Protected Attributes inherited from Realm::ByteArrayRef
void * array_base
size_t array_size

Constructor & Destructor Documentation

◆ ByteArray() [1/4]

Realm::ByteArray::ByteArray ( void )

◆ ByteArray() [2/4]

Realm::ByteArray::ByteArray ( const void * copy_from,
size_t copy_size )

◆ ByteArray() [3/4]

Realm::ByteArray::ByteArray ( const ByteArray & copy_from)

◆ ByteArray() [4/4]

Realm::ByteArray::ByteArray ( const ByteArrayRef & copy_from)

◆ ~ByteArray()

Realm::ByteArray::~ByteArray ( void )

Member Function Documentation

◆ at() [1/2]

template<typename T>
T & Realm::ByteArray::at ( size_t offset)

◆ at() [2/2]

template<typename T>
const T & Realm::ByteArray::at ( size_t offset) const

◆ attach()

ByteArray & Realm::ByteArray::attach ( void * new_base,
size_t new_size )

◆ base() [1/2]

void * Realm::ByteArray::base ( void )

◆ base() [2/2]

const void * Realm::ByteArray::base ( void ) const

◆ clear()

void Realm::ByteArray::clear ( void )

◆ detach()

void * Realm::ByteArray::detach ( void )

◆ make_copy()

void Realm::ByteArray::make_copy ( const void * copy_base,
size_t copy_size )
protected

◆ operator=() [1/2]

ByteArray & Realm::ByteArray::operator= ( const ByteArray & copy_from)

◆ operator=() [2/2]

ByteArray & Realm::ByteArray::operator= ( const ByteArrayRef & copy_from)

◆ set()

ByteArray & Realm::ByteArray::set ( const void * copy_from,
size_t copy_size )

◆ swap()

ByteArray & Realm::ByteArray::swap ( ByteArray & swap_with)

The documentation for this class was generated from the following file:
  • /home/runner/work/realm/realm/realm-src/src/realm/bytearray.h