Package org.bytedeco.javacpp.annotation
Annotation Type Index
Allows using method arguments to call
operator[]
in some circumstances.
For example, a call like (*this)[i].foo(str)
could be accomplished with
@Index native void foo(int i, String str)
.- See Also:
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
int valueThe number of indices spread over the parameters, for multidimensional access.- Default:
1
-
function
String functionThe name of a function to call instead ofoperator[]
, for example, "at".- Default:
""
-