Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
sajson::internal::allocated_buffer Class Reference

#include <sajson.h>

Classes

struct  layout
 

Public Member Functions

 allocated_buffer ()
 
 allocated_buffer (size_t length)
 
 allocated_buffer (const allocated_buffer &that)
 
 allocated_buffer (allocated_buffer &&that)
 
char * get_data () const
 
allocated_bufferoperator= (const allocated_buffer &that)
 
allocated_bufferoperator= (allocated_buffer &&that)
 
 ~allocated_buffer ()
 

Private Member Functions

void decref () const
 
void incref () const
 

Private Attributes

layoutmemory
 

Detailed Description

Definition at line 143 of file sajson.h.

Constructor & Destructor Documentation

◆ allocated_buffer() [1/4]

sajson::internal::allocated_buffer::allocated_buffer ( )
inline

Definition at line 145 of file sajson.h.

◆ allocated_buffer() [2/4]

sajson::internal::allocated_buffer::allocated_buffer ( size_t  length)
inlineexplicit

Definition at line 149 of file sajson.h.

◆ allocated_buffer() [3/4]

sajson::internal::allocated_buffer::allocated_buffer ( const allocated_buffer that)
inline

Definition at line 156 of file sajson.h.

◆ allocated_buffer() [4/4]

sajson::internal::allocated_buffer::allocated_buffer ( allocated_buffer &&  that)
inline

Definition at line 162 of file sajson.h.

◆ ~allocated_buffer()

sajson::internal::allocated_buffer::~allocated_buffer ( )
inline

Definition at line 168 of file sajson.h.

Member Function Documentation

◆ decref()

void sajson::internal::allocated_buffer::decref ( ) const
inlineprivate

Definition at line 201 of file sajson.h.

◆ get_data()

char* sajson::internal::allocated_buffer::get_data ( ) const
inline

Definition at line 190 of file sajson.h.

◆ incref()

void sajson::internal::allocated_buffer::incref ( ) const
inlineprivate

Definition at line 195 of file sajson.h.

◆ operator=() [1/2]

allocated_buffer& sajson::internal::allocated_buffer::operator= ( const allocated_buffer that)
inline

Definition at line 172 of file sajson.h.

◆ operator=() [2/2]

allocated_buffer& sajson::internal::allocated_buffer::operator= ( allocated_buffer &&  that)
inline

Definition at line 181 of file sajson.h.

Member Data Documentation

◆ memory

layout* sajson::internal::allocated_buffer::memory
private

Definition at line 212 of file sajson.h.


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


mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:23