Loading...
Searching...
No Matches
ForthOutputBuffer Class Referenceabstract

HERE. More...

#include <ForthOutputBuffer.h>

Inheritance diagram for ForthOutputBuffer:
ForthOutputBufferOf< OUT >

Public Member Functions

 ForthOutputBuffer (int64_t initial, double resize)
 
virtual ~ForthOutputBuffer ()
 Virtual destructor acts as a first non-inline virtual function that determines a specific translation unit in which vtable shall be emitted.
 
int64_t len () const noexcept
 HERE.
 
void rewind (int64_t num_items, util::ForthError &err) noexcept
 HERE.
 
void reset () noexcept
 HERE.
 
virtual void dup (int64_t num_times, util::ForthError &err) noexcept=0
 HERE.
 
virtual const std::shared_ptr< void > ptr () const noexcept=0
 HERE.
 
virtual util::dtype dtype () const =0
 
virtual void write_one_bool (bool value, bool byteswap) noexcept=0
 HERE.
 
virtual void write_one_int8 (int8_t value, bool byteswap) noexcept=0
 HERE.
 
virtual void write_one_int16 (int16_t value, bool byteswap) noexcept=0
 HERE.
 
virtual void write_one_int32 (int32_t value, bool byteswap) noexcept=0
 HERE.
 
virtual void write_one_int64 (int64_t value, bool byteswap) noexcept=0
 HERE.
 
virtual void write_one_intp (ssize_t value, bool byteswap) noexcept=0
 HERE.
 
virtual void write_one_uint8 (uint8_t value, bool byteswap) noexcept=0
 HERE.
 
virtual void write_one_uint16 (uint16_t value, bool byteswap) noexcept=0
 HERE.
 
virtual void write_one_uint32 (uint32_t value, bool byteswap) noexcept=0
 HERE.
 
virtual void write_one_uint64 (uint64_t value, bool byteswap) noexcept=0
 HERE.
 
virtual void write_one_uintp (size_t value, bool byteswap) noexcept=0
 HERE.
 
virtual void write_one_float32 (float value, bool byteswap) noexcept=0
 HERE.
 
virtual void write_one_float64 (double value, bool byteswap) noexcept=0
 HERE.
 
virtual void write_one_string (char *string_buffer, int64_t length) noexcept=0
 HERE.
 
virtual void write_bool (int64_t num_items, bool *values, bool byteswap) noexcept=0
 HERE.
 
virtual void write_int8 (int64_t num_items, int8_t *values, bool byteswap) noexcept=0
 HERE.
 
virtual void write_int16 (int64_t num_items, int16_t *values, bool byteswap) noexcept=0
 HERE.
 
virtual void write_int32 (int64_t num_items, int32_t *values, bool byteswap) noexcept=0
 HERE.
 
virtual void write_int64 (int64_t num_items, int64_t *values, bool byteswap) noexcept=0
 HERE.
 
virtual void write_intp (int64_t num_items, ssize_t *values, bool byteswap) noexcept=0
 HERE.
 
virtual void write_const_uint8 (int64_t num_items, const uint8_t *values) noexcept=0
 HERE.
 
virtual void write_uint8 (int64_t num_items, uint8_t *values, bool byteswap) noexcept=0
 HERE.
 
virtual void write_uint16 (int64_t num_items, uint16_t *values, bool byteswap) noexcept=0
 HERE.
 
virtual void write_uint32 (int64_t num_items, uint32_t *values, bool byteswap) noexcept=0
 HERE.
 
virtual void write_uint64 (int64_t num_items, uint64_t *values, bool byteswap) noexcept=0
 HERE.
 
virtual void write_uintp (int64_t num_items, size_t *values, bool byteswap) noexcept=0
 HERE.
 
virtual void write_float32 (int64_t num_items, float *values, bool byteswap) noexcept=0
 HERE.
 
virtual void write_float64 (int64_t num_items, double *values, bool byteswap) noexcept=0
 HERE.
 
virtual void write_add_int32 (int32_t value) noexcept=0
 HERE.
 
virtual void write_add_int64 (int64_t value) noexcept=0
 HERE.
 
virtual std::string tostring () const =0
 

Protected Attributes

int64_t length_
 
int64_t reserved_
 
double resize_
 

Detailed Description

HERE.

THERE

Constructor & Destructor Documentation

◆ ForthOutputBuffer()

ForthOutputBuffer ( int64_t initial,
double resize )

◆ ~ForthOutputBuffer()

virtual ~ForthOutputBuffer ( )
virtual

Virtual destructor acts as a first non-inline virtual function that determines a specific translation unit in which vtable shall be emitted.

Member Function Documentation

◆ dtype()

virtual util::dtype dtype ( ) const
pure virtual

Implemented in ForthOutputBufferOf< OUT >.

◆ dup()

virtual void dup ( int64_t num_times,
util::ForthError & err )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ len()

int64_t len ( ) const
noexcept

HERE.

◆ ptr()

virtual const std::shared_ptr< void > ptr ( ) const
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ reset()

void reset ( )
noexcept

HERE.

◆ rewind()

void rewind ( int64_t num_items,
util::ForthError & err )
noexcept

HERE.

◆ tostring()

virtual std::string tostring ( ) const
pure virtual

Implemented in ForthOutputBufferOf< OUT >.

◆ write_add_int32()

virtual void write_add_int32 ( int32_t value)
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_add_int64()

virtual void write_add_int64 ( int64_t value)
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_bool()

virtual void write_bool ( int64_t num_items,
bool * values,
bool byteswap )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_const_uint8()

virtual void write_const_uint8 ( int64_t num_items,
const uint8_t * values )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_float32()

virtual void write_float32 ( int64_t num_items,
float * values,
bool byteswap )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_float64()

virtual void write_float64 ( int64_t num_items,
double * values,
bool byteswap )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_int16()

virtual void write_int16 ( int64_t num_items,
int16_t * values,
bool byteswap )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_int32()

virtual void write_int32 ( int64_t num_items,
int32_t * values,
bool byteswap )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_int64()

virtual void write_int64 ( int64_t num_items,
int64_t * values,
bool byteswap )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_int8()

virtual void write_int8 ( int64_t num_items,
int8_t * values,
bool byteswap )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_intp()

virtual void write_intp ( int64_t num_items,
ssize_t * values,
bool byteswap )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_one_bool()

virtual void write_one_bool ( bool value,
bool byteswap )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_one_float32()

virtual void write_one_float32 ( float value,
bool byteswap )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_one_float64()

virtual void write_one_float64 ( double value,
bool byteswap )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_one_int16()

virtual void write_one_int16 ( int16_t value,
bool byteswap )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_one_int32()

virtual void write_one_int32 ( int32_t value,
bool byteswap )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_one_int64()

virtual void write_one_int64 ( int64_t value,
bool byteswap )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_one_int8()

virtual void write_one_int8 ( int8_t value,
bool byteswap )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_one_intp()

virtual void write_one_intp ( ssize_t value,
bool byteswap )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_one_string()

virtual void write_one_string ( char * string_buffer,
int64_t length )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_one_uint16()

virtual void write_one_uint16 ( uint16_t value,
bool byteswap )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_one_uint32()

virtual void write_one_uint32 ( uint32_t value,
bool byteswap )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_one_uint64()

virtual void write_one_uint64 ( uint64_t value,
bool byteswap )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_one_uint8()

virtual void write_one_uint8 ( uint8_t value,
bool byteswap )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_one_uintp()

virtual void write_one_uintp ( size_t value,
bool byteswap )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_uint16()

virtual void write_uint16 ( int64_t num_items,
uint16_t * values,
bool byteswap )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_uint32()

virtual void write_uint32 ( int64_t num_items,
uint32_t * values,
bool byteswap )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_uint64()

virtual void write_uint64 ( int64_t num_items,
uint64_t * values,
bool byteswap )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_uint8()

virtual void write_uint8 ( int64_t num_items,
uint8_t * values,
bool byteswap )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

◆ write_uintp()

virtual void write_uintp ( int64_t num_items,
size_t * values,
bool byteswap )
pure virtualnoexcept

HERE.

Implemented in ForthOutputBufferOf< OUT >.

Member Data Documentation

◆ length_

int64_t length_
protected

◆ reserved_

int64_t reserved_
protected

◆ resize_

double resize_
protected

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