nw::ut Namespace

Description

Namespace for the utility library.

Namespace

nw::ut::Endian

Classes

nw::ut::MemoryStream Stream class handling byte strings in memory.
nw::ut::BinaryNormalReader Reader class that reads binary data as-is.
nw::ut::BinaryReverseReader Reader class that reads binary data in reverse.
nw::ut::ChildDeleter Class for deleting children.
nw::ut::ChildDetacher Class for detaching children.
nw::ut::Children Child list class.
nw::ut::Float32 Utility for 32-bit floating point numbers.
nw::ut::Float24 Utility for 24-bit floating point numbers.
nw::ut::Float31 Utility for 31-bit floating point numbers.
nw::ut::Float20 Utility for 20-bit floating point numbers.
nw::ut::Float16 Utility for 16-bit floating point numbers.
nw::ut::Fixed13 Utility for 13-bit fixed point numbers.
nw::ut::FixedS13Fraction8 Utility for 13-bit fixed point numbers.
nw::ut::Fixed11 Utility for 11-bit fixed point numbers.
nw::ut::FixedU24 Utility for 24-bit fixed point numbers.
nw::ut::CloseAtTolerance Equal value comparison function object for comparing floating point number types.
nw::ut::CloseAtToleranceWeak Equal value comparison function object for comparing floating point number types.
nw::ut::LinkListNode Bidirectional link list node.
nw::ut::LinkList Link list class.
nw::ut::MoveArray Class for wrapping an array so it can be used like an STL vector.
nw::ut::FixedSizeArray Fixed size array class. Heap memory is not allocated internally.
nw::ut::MovePtrDefaultDeleter Default deleter class for MovePtr.
nw::ut::MovePtr Smart pointer with movable ownership.
nw::ut::ResBoundingVolume Bounding information.
nw::ut::ResOrientedBoundingBox OBD information.
nw::ut::ResAxisAlignedBoundingBox AABB information.
nw::ut::ResCommonBase Common definitions for the resource accessor base class.
nw::ut::ResCommon Resource accessor base class.
nw::ut::ResName Class for representing name resources.
nw::ut::ResFile Class representing file resources.
nw::ut::SharedPtr Shared pointer class with reference count.
nw::ut::WeakPtr Weak reference class to SharedPtr.
nw::ut::Slot0 Interface for getting a signal. (There are no arguments.)
nw::ut::FunctionSlot0 Class for getting a signal. (There are no arguments.)
nw::ut::Signal0 Class for sending a signal to a slot. (There are no arguments.)
nw::ut::Slot1 Interface for getting a signal. (There is one argument.)
nw::ut::FunctionSlot1 Class for getting a signal. (There is one argument.)
nw::ut::Signal1 Class for sending a signal to a slot. (There is one argument.)
nw::ut::Slot2 Interface for getting a signal. (There are two arguments.)
nw::ut::FunctionSlot2 Class for getting a signal. (There are two arguments.)
nw::ut::Signal2 Class for sending a signal to a slot. (There are two arguments.)
nw::ut::Slot3 Interface for getting a signal. (There are three arguments.)
nw::ut::FunctionSlot3 Class for getting a signal. (There are three arguments.)
nw::ut::Signal3 Class for sending a signal to a slot. (There are three arguments.)
nw::ut::Slot4 Interface for getting a signal. (There are four arguments.)
nw::ut::FunctionSlot4 Class for getting a signal. (There are four arguments.)
nw::ut::Signal4 Class for sending a signal to a slot. (There are four arguments.)
nw::ut::Slot5 Interface for getting a signal. (There are five arguments.)
nw::ut::FunctionSlot5 Class for getting a signal. (There are five arguments.)
nw::ut::Signal5 Class for sending a signal to a slot. (There are five arguments.)
nw::ut::Slot6 Interface for getting a signal. (There are six arguments.)
nw::ut::FunctionSlot6 Class for getting a signal. (There are six arguments.)
nw::ut::Signal6 Class for sending a signal to a slot. (There are six arguments.)
nw::ut::Slot7 Interface for getting a signal. (There are seven arguments.)
nw::ut::FunctionSlot7 Class for getting a signal. (There are seven arguments.)
nw::ut::Signal7 Class for sending a signal to a slot. (There are seven arguments.)
nw::ut::Slot8 Interface for getting a signal. (There are eight arguments.)
nw::ut::FunctionSlot8 Class for getting a signal. (There are eight arguments.)
nw::ut::Signal8 Class for sending a signal to a slot. (There are eight arguments.)
nw::ut::Slot9 Interface for getting a signal. (There are nine arguments.)
nw::ut::FunctionSlot9 Class for getting a signal. (There are nine arguments.)
nw::ut::Signal9 Class for sending a signal to a slot. (There are nine arguments.)
nw::ut::Slot10 Interface for getting a signal. (There are ten arguments.)
nw::ut::FunctionSlot10 Class for getting a signal. (There are ten arguments.)
nw::ut::Signal10 Class for sending a signal to a slot. (There are ten arguments.)

Structures

nw::ut::Color8 Structure representing an integer number color.
nw::ut::FloatColor Structure representing a floating point color.
nw::ut::SafeDestroyer Deleter for destroying objects with SafeDestroy.
nw::ut::Rect Class representing rectangles.
nw::ut::SafeCleanupper Deleter for destroying resources.
nw::ut::LastValueResult Function object for making multiple calls and returning the last return value.
nw::ut::LastValueResult< void > Function object for making multiple calls and returning the last return value.
nw::ut::SlotDestroyer Function object for destroying a slot.
nw::ut::IsArray
nw::ut::IsArray< TType[Size]>
nw::ut::IsArray< TType[]>
nw::ut::IsPointer
nw::ut::IsSame
nw::ut::IsSame< Type, Type >
nw::ut::IsClass
nw::ut::If_

Enumerated Types

ArrayKind Type of array.

typedef Definitions

ResVec2 Vector2 type in the binary resource.
ResVec3 Vector3 type in the binary resource.
ResVec4 Vector4 type in the binary resource.
ResTransform2 Transform2 type in the binary resource.
ResTransform3 Transform3 type in the binary resource.
ResQuaternion Quaternion type in the binary resource.
ResMtx22 Matrix22 type in the binary resource.
ResMtx23 Matrix23 type in the binary resource.
ResMtx33 Matrix33 type in the binary resource.
ResMtx34 Matrix34 type in the binary resource.
ResMtx44 Matrix44 type in the binary resource.
DefaultLockObject

Functions

Binary File-Related
IsValidBinaryFile Checks the validity of the NintendoWare standard binary file header.
IsReverseEndianBinaryFile
GetNextBinaryBlockHeader Gets the next block header inside NintendoWare standard binary files.
Flag Operation-Related
CheckFlag Checks if the bits of a specified mask in a bit field are all true.
CheckFlagOr Checks if any of the bits of a specified mask in a bit field are true.
EnableFlag Sets the bit value of the specified bit in a bit field to true.
DisableFlag Sets the bit value of the specified bit in a bit field to false.
GetFlagValue Gets the bit value of the specified mask in the bit field.
SetFlagValue Sets the bit value of the specified mask in the bit field.
Numeric Value-Related
Min Compares two numbers and returns the smaller one.
Abs Returns an argument's absolute value
(
Abs< float > Returns an argument's absolute value
(
Max Compares two numbers and returns the larger one.
Clamp Returns a value between low and high.
RoundUp Rounds x up to a multiple of base.
RoundDown Rounds x down to a multiple of base.
DivUp Divides x by y and rounds up.
FloatEquals Equality comparison that accounts for error when using floating point number types.
FloatEqualsWeak Near equality comparison that accounts for error when using floating point number types.
Character String Operation-Related
strcpy Copies a string.
wcsncpy Copies a string.
strncpy Copies a string.
strncat Adds to a string.
vsnprintf Writes specified data in the format specified.
vsnwprintf Writes specified data in the format specified.
snprintf Writes specified data in the format specified.
snwprintf Writes specified data in the format specified.
stricmp Compares strings as lower case.
Bit Operation-Related
BitExtract Extracts a partial bit string from the specified bit string.
ReverseEndian Reverses the endian of a bit string.
Pointer Operation-Related
GetIntPtr Casts from a pointer to an IntPtr.
GetOffsetFromPtr Get the offset values for two pointer addresses as long integers.
AddOffsetToPtr Adds the offset value to the pointer.
AddU32ToPtr Adds the offset value to the pointer.
ComparePtr Compares the two pointer addresses.
Object Destruction
SafeDestroy Inline function for setting an object to zero after it has been deleted.
SafeDestroyAll Function for destroying all objects in the container element using SafeDestroy.
Smart Pointer Operation-Related
Move Function for moving MovePtr.
operator== Determines whether SharedPtr is the same.
operator!= Determines whether SharedPtr is different.
Resource Casting-Related
ResDynamicCast Dynamically casts one resource-type object to another resource type. There is no support whatsoever for casting to a class having an entirely different inheritance hierarchy.
ResStaticCast Statically casts one resource-type object to another resource type.
Resource-Related
SafeCleanup Deleter for checking if a resource exists and destroying it.
SafeCleanupAll Function for destroying all objects in the container element using SafeCleanup.
Basics
DynamicCast Template function for down casting.
IsTypeOf Compares types.
Signal-Related
CreateSlot Creates a slot.
DestroyAllSlots Function for destroying all slots in the container element.

CONFIDENTIAL