class ignore list added for Java API generator

This commit is contained in:
Andrey Pavlenko 2011-07-14 08:15:35 +00:00
parent a99b80b1a9
commit ab1ff12a71

View File

@ -19,7 +19,9 @@ func_ignore_list = (
"waitKey",
)
class_ignore_list = (
"VideoWriter",
)
# c_type : { java/jni correspondence }
type_dict = {
@ -659,7 +661,7 @@ JNIEXPORT $rtype JNICALL Java_org_opencv_${module}_$fname
classlist = self.classes.items()
classlist.sort()
for name, ci in classlist:
if name == "Mat":
if name == "Mat" or name in class_ignore_list:
continue
self.java_code.write( "\n\n" + indent + "// C++: class %s" % (ci.cname) + "\n" )
self.java_code.write( indent + "//javadoc: " + name + "\n" ) #java doc comment