MCPcopy Create free account
hub / github.com/KhronosGroup/OpenCOLLADA / isBoolType

Method isBoolType

xsd2cppsax/src/de/netallied/xsd2cppsax/Util.java:843–846  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.

Callers 9

presentMaskRequiredMethod · 0.95
findFormatSpecifierMethod · 0.95
handleUnionMethod · 0.95
printAttributeAtomicMethod · 0.95
printAttributeListMethod · 0.95
printDataAtomicMethod · 0.95
printDataListMethod · 0.95

Calls 2

equalsMethod · 0.45

Tested by

no test coverage detected