![]() |
Nazara Engine
0.4
A fast, complete, cross-platform API designed for game development
|
Classes | |
| class | Nz::Bitset< Block, Allocator > |
| Core class that represents a set of bits. More... | |
| class | Nz::CallOnExit |
| Core class that represents a function to call at the end of the scope. More... | |
| class | Nz::Color |
| Core class that represents a color. More... | |
| class | Nz::Flags< E > |
| Core class used to combine enumeration values into flags bitfield. More... | |
| class | Nz::FunctorWithoutArgs< F > |
| Core class that represents a functor using a function without argument. More... | |
| class | Nz::FunctorWithArgs< F, Args > |
| Core class that represents a functor using a function with arguments. More... | |
| class | Nz::MemberWithoutArgs< C > |
| Core class that represents a functor using a member function. More... | |
| class | Nz::Initializer< Args > |
| Core class that represents a module initializer. More... | |
| class | Nz::LockGuard |
| Core class that represents a mutex wrapper that provides a convenient RAII-style mechanism. More... | |
| class | Nz::StackArray< T > |
| Core class that represents a stack-allocated (if alloca is present) array. More... | |
| class | Nz::MemoryPool |
| Core class that represents a memory pool. More... | |
| class | Nz::MemoryStream |
| Constructs a MemoryStream object by default. More... | |
| class | Nz::MovablePtr< T > |
| Wraps a raw (non-proprietary) to allows it to be moved implicitly. More... | |
| class | Nz::Mutex |
| Core class that represents a binary semaphore, a mutex. More... | |
| class | Nz::ObjectHandle< T > |
| Core class that represents a object handle. More... | |
| class | Nz::ObjectRef< T > |
| Core class that represents a reference to an object. More... | |
| class | Nz::PrimitiveList |
| TODO: Inline this. More... | |
| class | Nz::ResourceLoader< Type, Parameters > |
| Core class that represents a loader of resources. More... | |
| class | Nz::ResourceManager< Type, Parameters > |
| Core class that represents a resource manager. More... | |
| class | Nz::ResourceSaver< Type, Parameters > |
| Core class that represents a list of saver functions for a specific resource type. More... | |
| class | Nz::Signal< Args > |
| Core class that represents a signal, a list of objects waiting for its message. More... | |
| class | Nz::SparsePtr< T > |
| Core class that represents a pointer and the step between two elements. More... | |
| class | Nz::TaskScheduler |
| Core class that represents a thread pool. More... | |
| class | Nz::Thread |
| Core class that represents a thread. More... | |
| class | Nz::AbstractHash |
| Core class that represents the behaviour of the hash classes. More... | |
| class | Nz::AbstractLogger |
| Core class that represents the behaviour of the log classes. More... | |
| class | Nz::ByteArray |
| Core class that represents an array of bytes. More... | |
| class | Nz::ByteStream |
| Core class that represents a stream of bytes. More... | |
| class | Nz::Clock |
| Utility class that measure the elapsed time. More... | |
| class | Nz::ConditionVariable |
| Core class that represents a condition variable. More... | |
| class | Nz::Core |
| Core class that represents the module initializer of Core. More... | |
| class | Nz::Directory |
| Core class that represents a directory. More... | |
| class | Nz::DynLib |
| Core class that represents a dynamic library loader. More... | |
| class | Nz::Error |
| Core class that represents an error. More... | |
| class | Nz::ErrorFlags |
| Core class that represents flags for error. More... | |
| class | Nz::File |
| Core class that represents a file. More... | |
| class | Nz::FileLogger |
| Core class that represents a file logger. More... | |
| class | Nz::GuillotineBinPack |
| Core class that represents the "Guillotine problem", combination of the "Bin packing problem" and the "cutting stock". More... | |
| class | Nz::HardwareInfo |
| Core class that represents the info we can get from hardware. More... | |
| class | Nz::Log |
| Core class that represents a logger. More... | |
| class | Nz::MemoryManager |
| Core class that represents a manager for the memory. More... | |
| class | Nz::MemoryView |
| Core class that represents a view of the memory behaving like a stream. More... | |
| class | Nz::ParameterList |
| Core class that represents a list of parameters. More... | |
| class | Nz::PluginManager |
| Core class that represents a manager for plugin. More... | |
| class | Nz::RefCounted |
| Core class that represents a reference with a counter. More... | |
| class | Nz::Resource |
| Core class that represents a resource. More... | |
| class | Nz::Semaphore |
| Core class that represents a counting semaphore. More... | |
| class | Nz::SerializationContext |
| Structure containing a serialization/unserialization context states. More... | |
| class | Nz::StdLogger |
| Core class that represents a logger writing to standard output (stdout, stderr) More... | |
| class | Nz::Stream |
| Core class that represents a stream. More... | |
| class | Nz::String |
| Core class that represents a string. More... | |
| class | Nz::StringStream |
| Core class that represents a stream of strings. More... | |
| class | Nz::Unicode |
| Core class that represents a Unicode character. More... | |
Functions | |
| template<typename F , typename Tuple > | |
| decltype(auto) | Nz::Apply (F &&fn, Tuple &&t) |
| Applies the tuple to the function (e.g. calls the function using the tuple content as arguments) More... | |
| template<typename O , typename F , typename Tuple > | |
| decltype(auto) | Nz::Apply (O &object, F &&fn, Tuple &&t) |
| Applies the tuple to the member function on an object (e.g. calls the member function using the tuple content as arguments) More... | |
| template<typename T > | |
| constexpr std::size_t | Nz::BitCount () |
| Returns the number of bits occupied by the type T. More... | |
| template<typename T > | |
| ByteArray | Nz::ComputeHash (HashType hash, const T &v) |
| Computes the hash of a hashable object. More... | |
| template<typename T > | |
| ByteArray | Nz::ComputeHash (AbstractHash *hash, const T &v) |
| Computes the hash of a hashable object. More... | |
| template<typename T , std::size_t N> | |
| constexpr std::size_t | Nz::CountOf (T(&)[N]) noexcept |
| Returns the number of elements in a C-array. More... | |
| template<typename T > | |
| std::size_t | Nz::CountOf (const T &c) |
| Returns the number of elements in a container. More... | |
| template<typename T > | |
| void | Nz::HashCombine (std::size_t &seed, const T &v) |
| Combines two hash in one. More... | |
| template<typename T > | |
| T | Nz::ReverseBits (T integer) |
| Reverse the bit order of the integer. More... | |
| bool | Nz::Serialize (SerializationContext &context, bool value) |
| Serializes a boolean. More... | |
| bool | Nz::Serialize (SerializationContext &context, const std::string &value) |
| Serializes a std::string. More... | |
| template<typename T > | |
| std::enable_if_t< std::is_arithmetic< T >::value, bool > | Nz::Serialize (SerializationContext &context, T value) |
| Serializes an arithmetic type. More... | |
| bool | Nz::Unserialize (SerializationContext &context, bool *value) |
| Unserializes a boolean. More... | |
| template<typename T > | |
| std::enable_if_t< std::is_arithmetic< T >::value, bool > | Nz::Unserialize (SerializationContext &context, T *value) |
| Unserializes an arithmetic type. More... | |
| constexpr Endianness | Nz::GetPlatformEndianness () |
| Gets the platform endianness. More... | |
| void | Nz::SwapBytes (void *buffer, std::size_t size) |
| Swaps the byte for endianness operations. More... | |
| Nz::Stream::Stream (StreamOptionFlags streamOptions=StreamOption_None, OpenModeFlags openMode=OpenMode_NotOpen) | |
| Constructs a Stream object with options. More... | |
Core/System module including classes to handle threading, time, hardware info, memory management, etc...
| decltype(auto) Nz::Apply | ( | F && | fn, |
| Tuple && | t | ||
| ) |
Applies the tuple to the function (e.g. calls the function using the tuple content as arguments)
| fn | Function |
| t | Tuple of arguments for the function |
| decltype(auto) Nz::Apply | ( | O & | object, |
| F && | fn, | ||
| Tuple && | t | ||
| ) |
Applies the tuple to the member function on an object (e.g. calls the member function using the tuple content as arguments)
| object | Object of a class |
| fn | Member function |
| t | Tuple of arguments for the member function |
| constexpr std::size_t Nz::BitCount | ( | ) |
Returns the number of bits occupied by the type T.
| ByteArray Nz::ComputeHash | ( | HashType | hash, |
| const T & | v | ||
| ) |
Computes the hash of a hashable object.
| hash | Enumeration of type HashType |
| v | Object to hash |
| ByteArray Nz::ComputeHash | ( | AbstractHash * | hash, |
| const T & | v | ||
| ) |
Computes the hash of a hashable object.
| hash | Pointer to abstract hash |
| v | Object to hash |
|
noexcept |
Returns the number of elements in a C-array.
| name | C-array |
| std::size_t Nz::CountOf | ( | const T & | c | ) |
Returns the number of elements in a container.
| c | Container with the member function "size()" |
|
inline |
Gets the platform endianness.
| void Nz::HashCombine | ( | std::size_t & | seed, |
| const T & | v | ||
| ) |
Combines two hash in one.
| seed | First value that will be modified (expected to be 64bits) |
| v | Second value to hash |
| T Nz::ReverseBits | ( | T | integer | ) |
Reverse the bit order of the integer.
| integer | Integer whose bits are to be reversed |
|
inline |
Serializes a boolean.
| context | Context for the serialization |
| value | Boolean to serialize |
|
inline |
Serializes a std::string.
| context | Context for the serialization |
| value | String to serialize |
| std::enable_if_t< std::is_arithmetic< T >::value, bool > Nz::Serialize | ( | SerializationContext & | context, |
| T | value | ||
| ) |
Serializes an arithmetic type.
| context | Context for the serialization |
| value | Arithmetic type to serialize |
|
inlineprotected |
Constructs a Stream object with options.
| streamOptions | Options for the stream |
| openMode | Reading/writing mode for the stream |
|
inline |
Swaps the byte for endianness operations.
| buffer | Raw memory |
| size | Size to change endianness |
|
inline |
Unserializes a boolean.
| context | Context for the unserialization |
| value | Pointer to boolean to unserialize |
| std::enable_if_t< std::is_arithmetic< T >::value, bool > Nz::Unserialize | ( | SerializationContext & | context, |
| T * | value | ||
| ) |
Unserializes an arithmetic type.
| context | Context for the unserialization |
| value | Pointer to arithmetic type to serialize |