class WaypointValidationReport

June 4, 2021 ยท View on GitHub

Member values

Member nameData typeDescription
trajectory_error_reportTrajectoryErrorReportReport on the validation, the waypoint list is valid if empty
optimal_waypoint_listWaypointListValidated Waypoint List with optimal blending radius if the option was set

Member functions

Function nameReturn typeInput typeDescription
has_trajectory_error_report() constboolvoidReturns true if trajectory_error_report is set.
trajectory_error_report()const TrajectoryErrorReport&voidReturns the current value of trajectory_error_report. If trajectory_error_report is not set, returns a TrajectoryErrorReport with none of its fields set (possibly trajectory_error_report::default_instance()).
mutable_trajectory_error_report()TrajectoryErrorReport *voidReturns a pointer to the mutable TrajectoryErrorReport object that stores the field's value. If the field was not set prior to the call, then the returned TrajectoryErrorReport will have none of its fields set (i.e. it will be identical to a newly-allocated TrajectoryErrorReport). After calling this, has_trajectory_error_report() will return true and trajectory_error_report() will return a reference to the same instance of TrajectoryErrorReport.
clear_trajectory_error_report()voidvoidClears the value of the field. After calling this, has_trajectory_error_report() will return false and trajectory_error_report() will return the default value.
set_allocated_trajectory_error_report()voidTrajectoryErrorReport *Sets the TrajectoryErrorReport object to the field and frees the previous field value if it exists. If the TrajectoryErrorReport pointer is not NULL, the message takes ownership of the allocated TrajectoryErrorReport object and has_ TrajectoryErrorReport() will return true. Otherwise, if the trajectory_error_report is NULL, the behavior is the same as calling clear_trajectory_error_report().
release_trajectory_error_report()TrajectoryErrorReport *voidReleases the ownership of the field and returns the pointer of the TrajectoryErrorReport object. After calling this, caller takes the ownership of the allocated TrajectoryErrorReport object, has_trajectory_error_report() will return false, and trajectory_error_report() will return the default value.
has_optimal_waypoint_list() constboolvoidReturns true if optimal_waypoint_list is set.
optimal_waypoint_list()const WaypointList&voidReturns the current value of optimal_waypoint_list. If optimal_waypoint_list is not set, returns a WaypointList with none of its fields set (possibly optimal_waypoint_list::default_instance()).
mutable_optimal_waypoint_list()WaypointList *voidReturns a pointer to the mutable WaypointList object that stores the field's value. If the field was not set prior to the call, then the returned WaypointList will have none of its fields set (i.e. it will be identical to a newly-allocated WaypointList). After calling this, has_optimal_waypoint_list() will return true and optimal_waypoint_list() will return a reference to the same instance of WaypointList.
clear_optimal_waypoint_list()voidvoidClears the value of the field. After calling this, has_optimal_waypoint_list() will return false and optimal_waypoint_list() will return the default value.
set_allocated_optimal_waypoint_list()voidWaypointList *Sets the WaypointList object to the field and frees the previous field value if it exists. If the WaypointList pointer is not NULL, the message takes ownership of the allocated WaypointList object and has_ WaypointList() will return true. Otherwise, if the optimal_waypoint_list is NULL, the behavior is the same as calling clear_optimal_waypoint_list().
release_optimal_waypoint_list()WaypointList *voidReleases the ownership of the field and returns the pointer of the WaypointList object. After calling this, caller takes the ownership of the allocated WaypointList object, has_optimal_waypoint_list() will return false, and optimal_waypoint_list() will return the default value.

Parent topic: Base (C++)