A filter that selects a range of function parameters that are considered optional.
More...
|
|
| VarargsFilter (int4 first, int4 last) |
| |
| virtual QualifierFilter * | clone (void) const |
| | Make a copy of this qualifier. More...
|
| |
| virtual bool | filter (const PrototypePieces &proto, int4 pos) const |
| | Test whether the given function prototype meets this filter's criteria. More...
|
| |
| virtual void | decode (Decoder &decoder) |
| | Configure details of the criteria being filtered from the given stream. More...
|
| |
|
virtual | ~QualifierFilter (void) |
| | Destructor.
|
| |
| virtual QualifierFilter * | clone (void) const =0 |
| | Make a copy of this qualifier. More...
|
| |
| virtual bool | filter (const PrototypePieces &proto, int4 pos) const =0 |
| | Test whether the given function prototype meets this filter's criteria. More...
|
| |
| virtual void | decode (Decoder &decoder) |
| | Configure details of the criteria being filtered from the given stream. More...
|
| |
A filter that selects a range of function parameters that are considered optional.
If the underlying function prototype is considered to take variable arguments, the first n parameters (as determined by PrototypePieces.firstVarArgSlot) are considered non-optional. If additional data-types are provided beyond the initial n, these are considered optional. By default this filter matches on any parameter in a prototype with variable arguments. Optionally, it can filter on a range of parameters that are specified relative to the first variable argument.
- <varargs first="0"/> - matches optional arguments but not non-optional ones.
- <varargs first="0" last="0"/> - matches the first optional argument.
- <varargs first="-1"/> - matches the last non-optional argument and all optional ones.