23 #ifndef __INTERFACES_GENERATOR_TYPE_CHECKER_H_ 24 #define __INTERFACES_GENERATOR_TYPE_CHECKER_H_ 26 #define __STDC_LIMIT_MACROS 31 #include <interfaces/generator/enum_constant.h> 36 static bool validType(
const std::string &type, std::vector<InterfaceEnumConstant> *enum_constants = 0);
37 static bool validValue(
const std::string &type,
const std::string &value);
Type checker for interface types.
static bool validValue(const std::string &type, const std::string &value)
Check value validity for given type.
static bool validType(const std::string &type, std::vector< InterfaceEnumConstant > *enum_constants=0)
Check type validity.