|
CeresEngine 0.2.0
A game development framework
|
Type that uniquely represents a stream in the resource system. More...
#include <CeresEngine/Resource/ResourceStream.hpp>
Public Member Functions | |
| ResourceStreamID (const UUID &uuid) | |
Converts a raw UUID into a ResourceStreamID. | |
| constexpr | UUID ()=default |
| Initializes an empty UUID. | |
| constexpr | UUID (const UInt32 data1, const UInt32 data2, const UInt32 data3, const UInt32 data4) |
| Initializes an UUID using framework's UUID representation. | |
| UUID (StringView uuid) | |
| Initializes an UUID using its string representation. | |
| UUID (const char *uuid) | |
| Initializes an UUID using its string representation. | |
Public Member Functions inherited from CeresEngine::UUID | |
| constexpr | UUID ()=default |
| Initializes an empty UUID. | |
| constexpr | UUID (const UInt32 data1, const UInt32 data2, const UInt32 data3, const UInt32 data4) |
| Initializes an UUID using framework's UUID representation. | |
| UUID (StringView uuid) | |
| Initializes an UUID using its string representation. | |
| UUID (const char *uuid) | |
| Initializes an UUID using its string representation. | |
| constexpr bool | empty () const |
| Checks has the UUID been initialized to a valid value. | |
| String | toString () const |
| Converts the UUID into its string representation. | |
| void | toString (String &str) const |
| Converts the UUID into its string representation. | |
| void | copyTo (Byte *buffer) const |
| Copies the UUID into a buffer. | |
| void | copyFrom (const Byte *buffer) |
| Copies the UUID from a buffer. | |
Static Public Attributes | |
| static const ResourceStreamID | null = ResourceStreamID() |
| A null (or empty) resource ID. | |
Additional Inherited Members | |
Static Public Member Functions inherited from CeresEngine::UUID | |
| static UUID | random () |
| Generate a new random universally unique identifier. | |
| static UUID | withNamespace (const UUID &ns, StringView name) |
| Generate a new random universally unique identifier. | |
| static UUID | fromName (StringView name) |
| Generate a new UUID based on a name. | |
| template<typename Generator > | |
| static UUID | random (Generator generator) |
| Generate a new random universally unique identifier. | |
Public Attributes inherited from CeresEngine::UUID | |
| UInt32 | raw [4] = {0, 0, 0, 0} |
| The UUID raw representation. | |
Type that uniquely represents a stream in the resource system.
Each newly created resource stream gets a UUID assigned to it.
Converts a raw UUID into a ResourceStreamID.
Initializes an UUID using its string representation.
|
explicit |
Initializes an UUID using its string representation.
|
inlinestatic |
A null (or empty) resource ID.