Go to the documentation of this file.
33 #include "../../Primitives/interface/BasicTypes.h"
34 #include "../../Primitives/interface/DataBlob.h"
48 TBase(pRefCounters), m_String(str) {}
50 TBase(pRefCounters), m_String(str) {}
52 TBase(pRefCounters), m_String(
std::move(str)) {}
59 m_String.resize(NewSize);
65 return m_String.length();
Base interface for a reference counter object that stores the number of strong and weak references an...
Definition: ReferenceCounters.h:44
virtual void Resize(size_t NewSize) override
Sets the size of the internal data buffer.
Definition: StringDataBlobImpl.hpp:57
virtual void * GetDataPtr() override
Returns the pointer to the internal data buffer.
Definition: StringDataBlobImpl.hpp:69
virtual size_t GetSize() const override
Returns the size of the internal data buffer.
Definition: StringDataBlobImpl.hpp:63
Template class implementing base functionality for an object.
Definition: ObjectBase.hpp:66
StringDataBlobImpl(IReferenceCounters *pRefCounters, const char *str)
Definition: StringDataBlobImpl.hpp:47
#define IMPLEMENT_QUERY_INTERFACE_IN_PLACE(InterfaceID, ParentClassName)
Definition: ObjectBase.hpp:59
#define DILIGENT_CALL_TYPE
Definition: CommonDefinitions.h:45
Diligent::ObjectBase< IDataBlob > TBase
Definition: StringDataBlobImpl.hpp:45
Definition: AdvancedMath.hpp:979
virtual const void * GetConstDataPtr() const override
Returns the pointer to the internal data buffer.
Definition: StringDataBlobImpl.hpp:75
std::basic_string< Char > String
String variable.
Definition: BasicTypes.h:66
StringDataBlobImpl(IReferenceCounters *pRefCounters, const String &str)
Definition: StringDataBlobImpl.hpp:49
StringDataBlobImpl(IReferenceCounters *pRefCounters, String &&str)
Definition: StringDataBlobImpl.hpp:51
Base interface for a file stream.
Definition: StringDataBlobImpl.hpp:42
The library uses Direct3D-style math:
Definition: AdvancedMath.hpp:37