Functions | |
TY_PRIVATE ctmbstr | TY_❪getArgFormat❫ (TidyMessageImpl message, TidyMessageArgument *arg) |
Returns the format specifier of the given message argument. More... | |
TY_PRIVATE TidyFormatParameterType | TY_❪getArgType❫ (TidyMessageImpl message, TidyMessageArgument *arg) |
Returns the TidyFormatParameterType of the given message argument. More... | |
TY_PRIVATE double | TY_❪getArgValueDouble❫ (TidyMessageImpl message, TidyMessageArgument *arg) |
Returns the double value of the given message argument. More... | |
TY_PRIVATE int | TY_❪getArgValueInt❫ (TidyMessageImpl message, TidyMessageArgument *arg) |
Returns the integer value of the given message argument. More... | |
TY_PRIVATE ctmbstr | TY_❪getArgValueString❫ (TidyMessageImpl message, TidyMessageArgument *arg) |
Returns the string value of the given message argument. More... | |
TY_PRIVATE uint | TY_❪getArgValueUInt❫ (TidyMessageImpl message, TidyMessageArgument *arg) |
Returns the unsigned integer value of the given message argument. More... | |
TY_PRIVATE TidyIterator | TY_❪getMessageArguments❫ (TidyMessageImpl message) |
Initializes the TidyIterator to point to the first item in the message's argument. More... | |
TY_PRIVATE TidyMessageArgument | TY_❪getNextMessageArgument❫ (TidyMessageImpl message, TidyIterator *iter) |
Returns the next TidyMessageArgument , for the given message, which can then be interrogated with the API, and advances the iterator. More... | |
TY_PRIVATE ctmbstr TY_❪getArgFormat❫ | ( | TidyMessageImpl | message, |
TidyMessageArgument * | arg | ||
) |
Returns the format specifier of the given message argument.
The memory for this string is cleared upon termination of the callback, so do be sure to make your own copy.
TY_PRIVATE TidyFormatParameterType TY_❪getArgType❫ | ( | TidyMessageImpl | message, |
TidyMessageArgument * | arg | ||
) |
Returns the TidyFormatParameterType
of the given message argument.
TY_PRIVATE double TY_❪getArgValueDouble❫ | ( | TidyMessageImpl | message, |
TidyMessageArgument * | arg | ||
) |
Returns the double value of the given message argument.
An assertion will be generated if the argument type is not a double.
TY_PRIVATE int TY_❪getArgValueInt❫ | ( | TidyMessageImpl | message, |
TidyMessageArgument * | arg | ||
) |
Returns the integer value of the given message argument.
An assertion will be generated if the argument type is not an integer.
TY_PRIVATE ctmbstr TY_❪getArgValueString❫ | ( | TidyMessageImpl | message, |
TidyMessageArgument * | arg | ||
) |
Returns the string value of the given message argument.
An assertion will be generated if the argument type is not a string.
TY_PRIVATE uint TY_❪getArgValueUInt❫ | ( | TidyMessageImpl | message, |
TidyMessageArgument * | arg | ||
) |
Returns the unsigned integer value of the given message argument.
An assertion will be generated if the argument type is not an unsigned integer.
TY_PRIVATE TidyIterator TY_❪getMessageArguments❫ | ( | TidyMessageImpl | message | ) |
Initializes the TidyIterator to point to the first item in the message's argument.
Use TY_(getNextMEssageArgument)
to get an opaque instance of TidyMessageArgument
for which the subsequent interrogators will be of use.
TY_PRIVATE TidyMessageArgument TY_❪getNextMessageArgument❫ | ( | TidyMessageImpl | message, |
TidyIterator * | iter | ||
) |
Returns the next TidyMessageArgument
, for the given message, which can then be interrogated with the API, and advances the iterator.