3#include <Foundation/IO/Stream.h>
4#include <Foundation/Strings/String.h>
5#include <Foundation/Strings/StringBuilder.h>
7template <plUInt16 Size>
14template <plUInt16 Size>
18 *
this = std::move(rhs);
21template <plUInt16 Size,
typename A>
27template <plUInt16 Size,
typename A>
33template <plUInt16 Size>
39template <plUInt16 Size>
42 m_Data = std::move(rhs.m_Data);
45template <plUInt16 Size,
typename A>
51template <plUInt16 Size,
typename A>
57template <plUInt16 Size>
67 const plUInt32 uiRead = (plUInt32)inout_stream.
ReadBytes(Temp, 1024);
77 *
this = (
const char*)&Bytes[0];
Base class for all memory allocators.
Definition Allocator.h:23
void PushBack(const T &value)
Pushes value at the end of the array.
Definition ArrayBase_inl.h:333
void PushBackRange(const plArrayPtr< const T > &range)
Pushes all elements in range at the end of the array. Increases the capacity if necessary.
Definition ArrayBase_inl.h:369
This class encapsulates an array and it's size. It is recommended to use this class instead of plain ...
Definition ArrayPtr.h:37
A hybrid array uses in-place storage to handle the first few elements without any allocation....
Definition HybridArray.h:12
Interface for binary in (read) streams.
Definition Stream.h:22
virtual plUInt64 ReadBytes(void *pReadBuffer, plUInt64 uiBytesToRead)=0
Reads a raw number of bytes into the read buffer, this is the only method which has to be implemented...
plStringBuilder is a class that is meant for creating and modifying strings.
Definition StringBuilder.h:35
A string class for storing and passing around strings.
Definition String.h:28
plHybridStringBase(plAllocator *pAllocator)
Creates an empty string.
Definition String_inl.h:4
void ReadAll(plStreamReader &inout_stream)
Replaces the current string with the content from the stream. Reads the stream to its end.
Definition AllStrings_inl.h:58
void operator=(const plHybridStringBase &rhs)
Copies the data from rhs.
Definition String_inl.h:96