HDK
|
#include <UT_Variadic.h>
Public Types | |
typedef UT_VariadicT < UT_VariadicPODType > | Base |
Additional Inherited Members | |
Protected Attributes inherited from UT_VariadicT< UT_VariadicPODType > | |
UT_Array< const UT_VariadicPODType * > | myItems |
Specialization of UT_VariadicT for simple int/float/string types. This class supports implicit casting from integer to float types.
UT_VariadicPOD allows you to easily create a type-safe variadic argument list. For example, a function that takes variadic args might be something like:
To call a function with variadic arguments is fairly straightforward
Of course, in the above example, it might be better to use
Definition at line 121 of file UT_Variadic.h.
Definition at line 124 of file UT_Variadic.h.
|
inline |
Definition at line 126 of file UT_Variadic.h.
void UT_VariadicPOD::dump | ( | ) | const |
Save argument list or dump to stdout
Import the value. This performs type safety checks. When importing real values, integer values will be implicitly cast unless the strict_value option is set.
Import the value. This performs type safety checks. When importing real values, integer values will be implicitly cast unless the strict_value option is set.
Import the value. This performs type safety checks. When importing real values, integer values will be implicitly cast unless the strict_value option is set.
Import the value. This performs type safety checks. When importing real values, integer values will be implicitly cast unless the strict_value option is set.
Import the value. This performs type safety checks. When importing real values, integer values will be implicitly cast unless the strict_value option is set.
Import the value. This performs type safety checks. When importing real values, integer values will be implicitly cast unless the strict_value option is set.
Import the value. This performs type safety checks. When importing real values, integer values will be implicitly cast unless the strict_value option is set.
Import the value. This performs type safety checks. When importing real values, integer values will be implicitly cast unless the strict_value option is set.
Import the value. This performs type safety checks. When importing real values, integer values will be implicitly cast unless the strict_value option is set.
Import the value. This performs type safety checks. When importing real values, integer values will be implicitly cast unless the strict_value option is set.
Import the value. This performs type safety checks. When importing real values, integer values will be implicitly cast unless the strict_value option is set.
Import the value. This performs type safety checks. When importing real values, integer values will be implicitly cast unless the strict_value option is set.
Import the value. This performs type safety checks. When importing real values, integer values will be implicitly cast unless the strict_value option is set.
Import the value. This performs type safety checks. When importing real values, integer values will be implicitly cast unless the strict_value option is set.
|
inline |
Definition at line 131 of file UT_Variadic.h.
bool UT_VariadicPOD::save | ( | UT_JSONWriter & | w | ) | const |
Save argument list or dump to stdout