![Logo](tetiere_ht.jpg) |
DATAKIT API
V2025.1
|
|
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.
const Dtk_Char8 *const GetBinaryContent() const
Returns the file size.
This is a high level string class.
Definition: dtk_string.hpp:58
size_t Dtk_Size_t
Definition: define.h:712
Dtk_StreamType
Definition: dtk_stream.hpp:19
Dtk_Stream(const Dtk_string &inName, const Dtk_Char8 *const inBinaryContent, const Dtk_Size_t &inBinaryContentSize, Dtk_StreamType inType)
Base Constructor.
This is the Dtk_Stream Class. The Dtk_Stream object is used to store any informations about stream fi...
Definition: dtk_stream.hpp:16
@ DTK_STREAM_JT
Definition: dtk_stream.hpp:22
int32_t Dtk_Int32
Definition: define.h:687
static Dtk_StreamPtr Create(const Dtk_Stream &inToBeCopied)
Copy constructor.
Dtk_Stream(const Dtk_Stream &o)
Copy Constructor.
@ DTK_STREAM_UNKNOWN
Definition: dtk_stream.hpp:20
char Dtk_Char8
Definition: define.h:697
Definition: util_ptr_dtk.hpp:37
Dtk_string GetName() const
Returns the file name.
@ DTK_STREAM_XMM_B
Definition: dtk_stream.hpp:23
@ DTK_TYPE_STREAM
Definition: define.h:619
@ DTK_STREAM_X_B
Definition: dtk_stream.hpp:21
@ _typeID
Definition: dtk_stream.hpp:30
type_detk
Definition: define.h:32
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.
Definition: dtk_object.hpp:8
type_detk get_type_detk() const
Definition: dtk_stream.hpp:69
Dtk_Handle * _Private
Definition: dtk_stream.hpp:26
const Dtk_Size_t GetBinaryContentSize() const
Returns the file data.