Package org.bytedeco.javacpp.annotation
Annotation Type Namespace
-
@Documented @Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface Namespace
Encloses the scope of a Java class inside the scope of the given C++ namespace. The namespace also gets nested when applied to nested Java classes, but the annotation accepts as well a string of nested namespaces with the help of the usual "::" separator, while one that starts with "::" resets the namespace to the global scope.This annotation can also be applied in a more Java-like fashion on each method. Further, a namespace annotation with an empty value can be used to indicate that the identifier does not support namespaces (such as macros).
- See Also:
Generator
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
value
-