#include <RealmGrowBuffer.h>
Public Member Functions | |
| GrowBuffer (size_t capacity) | |
| GrowBuffer () | |
| void | clear () |
| char * | data () |
| size_t | size () |
| size_t | free () |
| char * | prepare (size_t capacity) |
| void | commit (size_t capacity) |
Private Attributes | |
| size_t | m_capacity |
| std::string | m_buf |
| size_t | m_index |
| realm::GrowBuffer::GrowBuffer | ( | size_t | capacity | ) | [inline] |
| realm::GrowBuffer::GrowBuffer | ( | ) | [inline] |
| void realm::GrowBuffer::clear | ( | ) | [inline] |
References m_buf, m_capacity, and m_index.
Referenced by RealmConnection::_receive().
| void realm::GrowBuffer::commit | ( | size_t | capacity | ) | [inline] |
References m_buf, and m_index.
Referenced by RealmConnection::_complete().
| char* realm::GrowBuffer::data | ( | ) | [inline] |
References m_buf.
Referenced by RealmConnection::_complete_packet().
| char* realm::GrowBuffer::prepare | ( | size_t | capacity | ) | [inline] |
References free(), m_buf, and m_index.
Referenced by RealmConnection::_complete_packet().
| size_t realm::GrowBuffer::size | ( | ) | [inline] |
References m_index.
Referenced by RealmConnection::_complete_packet().
std::string realm::GrowBuffer::m_buf [private] |
size_t realm::GrowBuffer::m_capacity [private] |
Referenced by clear().
size_t realm::GrowBuffer::m_index [private] |
1.7.1