HDK
|
#include <UT_Format.h>
Classes | |
struct | Custom |
struct | SizedString |
Public Types | |
enum | Type { Type::None, Type::Int8, Type::UInt8, Type::Int16, Type::UInt16, Type::Int32, Type::UInt32, Type::Int64, Type::UInt64, Type::Float16, Type::Float32, Type::Float64, Type::ZeroString, Type::SizedString, Type::CharString, Type::Pointer, Type::Custom } |
Protected Types | |
using | CustomFormat = size_t(*)(char *buffer, size_t buffer_size, const void *value) |
Protected Member Functions | |
ArgValue () | |
ArgValue (Type type) | |
Protected Attributes | |
union { | |
int8 myI8 | |
uint8 myU8 | |
int16 myI16 | |
uint16 myU16 | |
int32 myI32 | |
uint32 myU32 | |
int64 myI64 | |
uint64 myU64 | |
fpreal16 myF16 | |
fpreal32 myF32 | |
fpreal64 myF64 | |
char myChar | |
const char * myStr | |
SizedString mySizedStr | |
const void * myPtr | |
Custom myCustom | |
}; | |
Friends | |
class | Formatter |
A container class that holds the individual argument values to be formatted with the format string.
Definition at line 239 of file UT_Format.h.
|
protected |
Definition at line 467 of file UT_Format.h.
|
strong |
Enumerator | |
---|---|
None | |
Int8 | |
UInt8 | |
Int16 | |
UInt16 | |
Int32 | |
UInt32 | |
Int64 | |
UInt64 | |
Float16 | |
Float32 | |
Float64 | |
ZeroString | |
SizedString | |
CharString | |
Pointer | |
Custom |
Definition at line 243 of file UT_Format.h.
|
inline |
Definition at line 252 of file UT_Format.h.
|
inline |
Definition at line 253 of file UT_Format.h.
|
inline |
Definition at line 254 of file UT_Format.h.
|
inline |
Definition at line 255 of file UT_Format.h.
|
inline |
Definition at line 256 of file UT_Format.h.
|
inline |
Definition at line 257 of file UT_Format.h.
|
inline |
Definition at line 258 of file UT_Format.h.
|
inline |
Definition at line 259 of file UT_Format.h.
|
inline |
Definition at line 260 of file UT_Format.h.
|
inline |
Definition at line 261 of file UT_Format.h.
|
inline |
Definition at line 262 of file UT_Format.h.
|
inline |
Definition at line 263 of file UT_Format.h.
|
inline |
Definition at line 286 of file UT_Format.h.
|
inline |
Definition at line 300 of file UT_Format.h.
|
inline |
Definition at line 301 of file UT_Format.h.
UT::Format::ArgValue::ArgValue | ( | const UT_String & | v | ) |
UT::Format::ArgValue::ArgValue | ( | const UT_StringLit & | v | ) |
UT::Format::ArgValue::ArgValue | ( | const UT_StringRef & | v | ) |
UT::Format::ArgValue::ArgValue | ( | const UT_StringHolder & | v | ) |
UT::Format::ArgValue::ArgValue | ( | const UT_StringView & | v | ) |
|
inline |
Definition at line 307 of file UT_Format.h.
|
inline |
Definition at line 311 of file UT_Format.h.
|
inline |
Definition at line 315 of file UT_Format.h.
|
inline |
Definition at line 331 of file UT_Format.h.
|
inline |
Definition at line 341 of file UT_Format.h.
|
inline |
Definition at line 351 of file UT_Format.h.
|
inline |
Definition at line 359 of file UT_Format.h.
|
inline |
Definition at line 366 of file UT_Format.h.
|
inline |
Definition at line 376 of file UT_Format.h.
|
default |
|
default |
|
inlineprotected |
Definition at line 457 of file UT_Format.h.
|
inlineprotected |
Definition at line 458 of file UT_Format.h.
|
inline |
Definition at line 384 of file UT_Format.h.
|
inline |
Definition at line 449 of file UT_Format.h.
|
inline |
Definition at line 406 of file UT_Format.h.
|
inline |
Definition at line 416 of file UT_Format.h.
|
inline |
Definition at line 408 of file UT_Format.h.
|
inline |
Definition at line 432 of file UT_Format.h.
|
inline |
Definition at line 444 of file UT_Format.h.
|
inline |
Definition at line 423 of file UT_Format.h.
|
inline |
Definition at line 437 of file UT_Format.h.
|
inline |
Definition at line 404 of file UT_Format.h.
Definition at line 455 of file UT_Format.h.
union { ... } |
char UT::Format::ArgValue::myChar |
Definition at line 488 of file UT_Format.h.
Custom UT::Format::ArgValue::myCustom |
Definition at line 492 of file UT_Format.h.
fpreal16 UT::Format::ArgValue::myF16 |
Definition at line 485 of file UT_Format.h.
fpreal32 UT::Format::ArgValue::myF32 |
Definition at line 486 of file UT_Format.h.
fpreal64 UT::Format::ArgValue::myF64 |
Definition at line 487 of file UT_Format.h.
int16 UT::Format::ArgValue::myI16 |
Definition at line 479 of file UT_Format.h.
int32 UT::Format::ArgValue::myI32 |
Definition at line 481 of file UT_Format.h.
int64 UT::Format::ArgValue::myI64 |
Definition at line 483 of file UT_Format.h.
int8 UT::Format::ArgValue::myI8 |
Definition at line 477 of file UT_Format.h.
const void* UT::Format::ArgValue::myPtr |
Definition at line 491 of file UT_Format.h.
SizedString UT::Format::ArgValue::mySizedStr |
Definition at line 490 of file UT_Format.h.
const char* UT::Format::ArgValue::myStr |
Definition at line 489 of file UT_Format.h.
uint16 UT::Format::ArgValue::myU16 |
Definition at line 480 of file UT_Format.h.
uint32 UT::Format::ArgValue::myU32 |
Definition at line 482 of file UT_Format.h.
uint64 UT::Format::ArgValue::myU64 |
Definition at line 484 of file UT_Format.h.
uint8 UT::Format::ArgValue::myU8 |
Definition at line 478 of file UT_Format.h.