 |
DATAKIT SDK
V2026.4
|
|
Go to the documentation of this file. 1 #ifndef __UTIL_DTK_STREAM_HPP__
2 #define __UTIL_DTK_STREAM_HPP__
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
void SetBinaryContent(const Dtk_Char8 *const inNewContent, const Dtk_Size_t inNewContentSize)
Set the file data.
std::unique_ptr< Dtk_Handle > _Private
Definition: dtk_stream.hpp:27
const Dtk_Char8 *const GetBinaryContent() const
Returns the file size.
This is a high level string class.
Definition: dtk_string.hpp:53
size_t Dtk_Size_t
Definition: define.h:711
Dtk_StreamType
Definition: dtk_stream.hpp:20
Dtk_Stream(const Dtk_string &inName, const Dtk_Char8 *const inBinaryContent, const Dtk_Size_t &inBinaryContentSize, Dtk_StreamType inType)
This is the Dtk_Stream Class. The Dtk_Stream object is used to store any informations about stream fi...
Definition: dtk_stream.hpp:17
@ DTK_STREAM_JT
Definition: dtk_stream.hpp:23
int32_t Dtk_Int32
Definition: define.h:686
@ DTK_STREAM_UNKNOWN
Definition: dtk_stream.hpp:21
char Dtk_Char8
Definition: define.h:696
static Dtk_StreamPtr Create(const Dtk_Stream &in)
Calls copy constructor to allocate a new object.
Dtk_Stream(Dtk_Stream &&o) DTK_NOEXCEPT
Definition: util_ptr_dtk.hpp:37
Dtk_string GetName() const
Returns the file name.
@ DTK_STREAM_XMM_B
Definition: dtk_stream.hpp:24
@ DTK_TYPE_STREAM
Definition: define.h:610
@ DTK_STREAM_X_B
Definition: dtk_stream.hpp:22
@ _typeID
Definition: dtk_stream.hpp:31
type_detk
Definition: define.h:21
static Dtk_StreamPtr Create(const Dtk_string &inName, const Dtk_Char8 *const inBinaryContent, const Dtk_Size_t &inBinaryContentSize, Dtk_StreamType inType)
Create a Dtk_StreamPtr.
virtual Dtk_Object * Clone()
Definition: dtk_stream.hpp:42
static Dtk_Stream * DtkDynamicCast(Dtk_Object *o)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_StreamType GetStreamType() const
Returns the stream type.
Dtk_Stream(const Dtk_Stream &in)
Definition: dtk_object.hpp:8
type_detk get_type_detk() const
Definition: dtk_stream.hpp:66
const Dtk_Size_t GetBinaryContentSize() const
Returns the file data.
#define DTK_NOEXCEPT
Definition: config.hpp:20