Finds out if given type maps to C++ bool. @param type Type to check. @param config Configuration. @return True if type maps to C++ bool.
(XSSimpleTypeDefinition type, Config config)
| 841 | * @return True if type maps to C++ bool. |
| 842 | */ |
| 843 | public static boolean isBoolType(XSSimpleTypeDefinition type, Config config) { |
| 844 | String cppType = Util.findCorrectCppAtomicType(type, config); |
| 845 | return cppType.equals("bool"); |
| 846 | } |
| 847 | |
| 848 | /** |
| 849 | * Finds out if given XSD type maps to C++ double. |
no test coverage detected