enum rgt_attr_type
Overview
Each template before using is parsed onto blocks each block can be whether a constant sting or a variable value. More…
#include <rgt_tmpls_lib.h> enum rgt_attr_type { RGT_ATTR_TYPE_STR, RGT_ATTR_TYPE_UINT32, RGT_ATTR_TYPE_UNKNOWN, };
Detailed Documentation
Each template before using is parsed onto blocks each block can be whether a constant sting or a variable value. For example the following single line template: The value of A is @s:A@, the value of B is @s:B@. Will be split into five blocks:
const string: “The value of A is “
a value of variable: $A (output via s format string)
const string: “, the value of B is “
a value of variable: $B (output via s format string)
const string: “.” The list of possible attribyte types
Enum Values
RGT_ATTR_TYPE_STR
attribute of type string
RGT_ATTR_TYPE_UINT32
attribute of type uint32_t
RGT_ATTR_TYPE_UNKNOWN
Unknown attribute type