Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TCbWriter< InlineBufferSize > Class Template Reference

#include <CompactBinaryWriter.h>

+ Inheritance diagram for TCbWriter< InlineBufferSize >:
+ Collaboration diagram for TCbWriter< InlineBufferSize >:

Public Member Functions

 TCbWriter ()
 
 TCbWriter (const TCbWriter &)=delete
 
TCbWriteroperator= (const TCbWriter &)=delete
 
- Public Member Functions inherited from FCbWriter
 FCbWriter ()
 
 ~FCbWriter ()
 
 FCbWriter (const FCbWriter &)=delete
 
FCbWriteroperator= (const FCbWriter &)=delete
 
void Reset ()
 
FCbFieldIterator Save () const
 
FCbFieldViewIterator Save (FMutableMemoryView Buffer) const
 
void Save (FArchive &Ar) const
 
uint64 GetSaveSize () const
 
FCbWriterSetName (FUtf8StringView Name)
 
void AddField (FUtf8StringView Name, const FCbFieldView &Value)
 
void AddField (const FCbFieldView &Value)
 
void AddField (FUtf8StringView Name, const FCbField &Value)
 
void AddField (const FCbField &Value)
 
void BeginObject (FUtf8StringView Name)
 
void BeginObject ()
 
void EndObject ()
 
void AddObject (FUtf8StringView Name, const FCbObjectView &Value)
 
void AddObject (const FCbObjectView &Value)
 
void AddObject (FUtf8StringView Name, const FCbObject &Value)
 
void AddObject (const FCbObject &Value)
 
void BeginArray (FUtf8StringView Name)
 
void BeginArray ()
 
void EndArray ()
 
void AddArray (FUtf8StringView Name, const FCbArrayView &Value)
 
void AddArray (const FCbArrayView &Value)
 
void AddArray (FUtf8StringView Name, const FCbArray &Value)
 
void AddArray (const FCbArray &Value)
 
void AddNull (FUtf8StringView Name)
 
void AddNull ()
 
void AddBinary (FUtf8StringView Name, const void *Value, uint64 Size)
 
void AddBinary (const void *Value, uint64 Size)
 
void AddBinary (FUtf8StringView Name, FMemoryView Value)
 
void AddBinary (FMemoryView Value)
 
void AddBinary (FUtf8StringView Name, const FSharedBuffer &Value)
 
void AddBinary (const FSharedBuffer &Value)
 
void AddBinary (FUtf8StringView Name, const FCompositeBuffer &Value)
 
void AddBinary (const FCompositeBuffer &Value)
 
void AddString (FUtf8StringView Name, FUtf8StringView Value)
 
void AddString (FUtf8StringView Value)
 
void AddString (FUtf8StringView Name, FWideStringView Value)
 
void AddString (FWideStringView Value)
 
void AddInteger (FUtf8StringView Name, int32 Value)
 
void AddInteger (int32 Value)
 
void AddInteger (FUtf8StringView Name, int64 Value)
 
void AddInteger (int64 Value)
 
void AddInteger (FUtf8StringView Name, uint32 Value)
 
void AddInteger (uint32 Value)
 
void AddInteger (FUtf8StringView Name, uint64 Value)
 
void AddInteger (uint64 Value)
 
void AddFloat (FUtf8StringView Name, float Value)
 
void AddFloat (float Value)
 
void AddFloat (FUtf8StringView Name, double Value)
 
void AddFloat (double Value)
 
void AddBool (FUtf8StringView Name, bool bValue)
 
void AddBool (bool bValue)
 
void AddObjectAttachment (FUtf8StringView Name, const FIoHash &Value)
 
void AddObjectAttachment (const FIoHash &Value)
 
void AddBinaryAttachment (FUtf8StringView Name, const FIoHash &Value)
 
void AddBinaryAttachment (const FIoHash &Value)
 
void AddAttachment (FUtf8StringView Name, const FCbAttachment &Attachment)
 
void AddAttachment (const FCbAttachment &Attachment)
 
void AddHash (FUtf8StringView Name, const FIoHash &Value)
 
void AddHash (const FIoHash &Value)
 
void AddUuid (FUtf8StringView Name, const FGuid &Value)
 
void AddUuid (const FGuid &Value)
 
void AddDateTimeTicks (FUtf8StringView Name, int64 Ticks)
 
void AddDateTimeTicks (int64 Ticks)
 
void AddDateTime (FUtf8StringView Name, FDateTime Value)
 
void AddDateTime (FDateTime Value)
 
void AddTimeSpanTicks (FUtf8StringView Name, int64 Ticks)
 
void AddTimeSpanTicks (int64 Ticks)
 
void AddTimeSpan (FUtf8StringView Name, FTimespan Value)
 
void AddTimeSpan (FTimespan Value)
 
void AddObjectId (FUtf8StringView Name, const FCbObjectId &Value)
 
void AddObjectId (const FCbObjectId &Value)
 
void AddCustom (FUtf8StringView FieldName, uint64 TypeId, FMemoryView Value)
 
void AddCustom (uint64 TypeId, FMemoryView Value)
 
void AddCustom (FUtf8StringView FieldName, FUtf8StringView TypeName, FMemoryView Value)
 
void AddCustom (FUtf8StringView TypeName, FMemoryView Value)
 
FCbWriteroperator<< (FUtf8StringView NameOrValue)
 
FCbWriteroperator<< (const ANSICHAR *NameOrValue)
 
FCbWriteroperator<< (const UTF8CHAR *NameOrValue)
 
FCbWriteroperator<< (const FCbFieldView &Value)
 
FCbWriteroperator<< (const FCbField &Value)
 
FCbWriteroperator<< (const FCbObjectView &Value)
 
FCbWriteroperator<< (const FCbObject &Value)
 
FCbWriteroperator<< (const FCbArrayView &Value)
 
FCbWriteroperator<< (const FCbArray &Value)
 
FCbWriteroperator<< (nullptr_t)
 
FCbWriteroperator<< (FWideStringView Value)
 
FCbWriteroperator<< (const WIDECHAR *Value)
 
FCbWriteroperator<< (int32 Value)
 
FCbWriteroperator<< (int64 Value)
 
FCbWriteroperator<< (uint32 Value)
 
FCbWriteroperator<< (uint64 Value)
 
FCbWriteroperator<< (float Value)
 
FCbWriteroperator<< (double Value)
 
FCbWriteroperator<< (bool Value)
 
FCbWriteroperator<< (const FCbAttachment &Attachment)
 
FCbWriteroperator<< (const FIoHash &Value)
 
FCbWriteroperator<< (const FGuid &Value)
 
FCbWriteroperator<< (FDateTime Value)
 
FCbWriteroperator<< (FTimespan Value)
 
FCbWriteroperator<< (const FCbObjectId &Value)
 
FCbWriteroperator<< (FName Value)
 
template<typename T , typename Allocator , std::void_t< decltype(std::declval< FCbWriter & >()<< std::declval< const T & >())> * = nullptr>
FCbWriteroperator<< (const TArray< T, Allocator > &Value)
 

Private Attributes

uint8 Buffer [InlineBufferSize]
 

Additional Inherited Members

- Protected Member Functions inherited from FCbWriter
 FCbWriter (int64 InitialSize)
 

Detailed Description

template<uint32 InlineBufferSize>
class TCbWriter< InlineBufferSize >

A writer for compact binary object, arrays, and fields that uses a fixed-size stack buffer.

See also
FCbWriter

Definition at line 462 of file CompactBinaryWriter.h.

Constructor & Destructor Documentation

◆ TCbWriter() [1/2]

template<uint32 InlineBufferSize>
TCbWriter< InlineBufferSize >::TCbWriter ( )
inline

Definition at line 465 of file CompactBinaryWriter.h.

◆ TCbWriter() [2/2]

template<uint32 InlineBufferSize>
TCbWriter< InlineBufferSize >::TCbWriter ( const TCbWriter< InlineBufferSize > & )
delete

Member Function Documentation

◆ operator=()

template<uint32 InlineBufferSize>
TCbWriter & TCbWriter< InlineBufferSize >::operator= ( const TCbWriter< InlineBufferSize > & )
delete

Member Data Documentation

◆ Buffer

template<uint32 InlineBufferSize>
uint8 TCbWriter< InlineBufferSize >::Buffer[InlineBufferSize]
private

Definition at line 476 of file CompactBinaryWriter.h.


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