A ParamDescrs describes a set of parameters.
Definition at line 25 of file ParamDescrs.java.
◆ getDocumentation()
String getDocumentation |
( |
Symbol |
name | ) |
|
|
inline |
Retrieve documentation of parameter.
Definition at line 50 of file ParamDescrs.java.
52 return Native.paramDescrsGetDocumentation(getContext().nCtx(), getNativeObject(), name.getNativeObject());
◆ getKind()
Retrieve kind of parameter.
Definition at line 39 of file ParamDescrs.java.
43 getContext().nCtx(), getNativeObject(), name.getNativeObject()));
◆ getNames()
Retrieve all names of parameters.
- Exceptions
-
Definition at line 60 of file ParamDescrs.java.
62 int sz = Native.paramDescrsSize(getContext().nCtx(), getNativeObject());
63 Symbol[] names =
new Symbol[sz];
64 for (
int i = 0; i < sz; ++i)
66 names[i] = Symbol.create(getContext(), Native.paramDescrsGetName(
67 getContext().nCtx(), getNativeObject(), i));
◆ size()
The size of the ParamDescrs.
Definition at line 75 of file ParamDescrs.java.
77 return Native.paramDescrsSize(getContext().nCtx(), getNativeObject());
◆ toString()
Retrieves a string representation of the ParamDescrs.
Definition at line 84 of file ParamDescrs.java.
85 return Native.paramDescrsToString(getContext().nCtx(), getNativeObject());
◆ validate()
validate a set of parameters.
Definition at line 29 of file ParamDescrs.java.
32 Native.paramsValidate(getContext().nCtx(), p.getNativeObject(),