30 #include "BasicTypes.h" 31 #include "ObjectBase.h" 43 StringDataBlobImpl( IReferenceCounters* pRefCounters,
const String &str ) :
TBase(pRefCounters), m_String(str) {}
44 StringDataBlobImpl( IReferenceCounters* pRefCounters, String &&str ) :
TBase(pRefCounters), m_String( std::move(str) ) {}
46 IMPLEMENT_QUERY_INTERFACE_IN_PLACE( IID_DataBlob,
TBase )
49 virtual
void Resize(
size_t NewSize)
override 51 m_String.resize(NewSize);
57 return m_String.length();
Template class implementing base functionality for an object.
Definition: ObjectBase.h:62
virtual size_t GetSize() override
Returns the size of the internal data buffer.
Definition: StringDataBlobImpl.h:55
Namespace for the OpenGL implementation of the graphics engine.
Definition: BufferD3D11Impl.h:34
Base interface for a file stream.
Definition: StringDataBlobImpl.h:38
virtual void Resize(size_t NewSize) override
Sets the size of the internal data buffer.
Definition: StringDataBlobImpl.h:49
virtual void * GetDataPtr() override
Returns the pointer to the internal data buffer.
Definition: StringDataBlobImpl.h:61