module documentation
Internal-use Python decorators for parameter validation
Exception |
|
Exception that is raised when a parameter fails validation checks |
Function | empty |
empty or valid graph resource name. Validator that resolves names unless they an empty string is supplied, in which case an empty string is returned. |
Function | global |
Validator that checks for valid, global graph resource name. @return: parameter value @rtype: str |
Function | is |
Validator that checks that parameter is a valid API handle (i.e. URI). Both http and rosrpc are allowed schemes. |
Function | is |
Validator that checks that parameter is a valid ROS service name |
Function | is |
Validator that checks that parameter is a valid ROS topic name |
Function | isstring |
Small helper version to check an object is a string in a way that works for both Python 2 and 3 |
Function | non |
Validator that checks that parameter is not empty |
Function | non |
Validator that checks that parameter is a string and non-empty |
Function | not |
Validator that checks that parameter is not None |
Function | valid |
Validator that resolves names and also ensures that they are not empty @param param_name: name @type param_name: str @param resolve: if True/omitted, the name will be resolved to |
Function | valid |
Undocumented |
Function | valid |
Undocumented |
Function | valid |
validator that checks the type name is specified correctly |
Constant | ROSRPC |
Undocumented |
Constant | TYPE |
Undocumented |
empty or valid graph resource name. Validator that resolves names unless they an empty string is supplied, in which case an empty string is returned.
Validator that checks that parameter is a valid API handle (i.e. URI). Both http and rosrpc are allowed schemes.