30#ifndef HPP_CORE_PATH_VALIDATION_REPORT_HH
31#define HPP_CORE_PATH_VALIDATION_REPORT_HH
34#include <hpp/util/indent.hh>
49 : parameter(param), configurationReport(report) {}
53 virtual std::ostream&
print(std::ostream& os)
const {
54 os <<
"Invalid configuration at parameter " << parameter << iendl
56 if (!configurationReport)
57 os <<
"No ValidationReport";
59 os << *configurationReport;
60 return os << decindent;
Definition validation-report.hh:47
#define HPP_CORE_DLLAPI
Definition config.hh:88
pinocchio::value_type value_type
Definition fwd.hh:174
shared_ptr< ValidationReport > ValidationReportPtr_t
Definition fwd.hh:225
Definition bi-rrt-planner.hh:35
Definition path-validation-report.hh:45
PathValidationReport(const value_type ¶m, const ValidationReportPtr_t &report)
Definition path-validation-report.hh:47
PathValidationReport()
Definition path-validation-report.hh:46
value_type getParameter()
Definition path-validation-report.hh:63
value_type parameter
Parameter of the path where a invalid configuration has been found.
Definition path-validation-report.hh:68
virtual std::ostream & print(std::ostream &os) const
Write report in a stream.
Definition path-validation-report.hh:53
void setParameter(value_type p)
Definition path-validation-report.hh:65
virtual ~PathValidationReport()
Definition path-validation-report.hh:51
ValidationReportPtr_t configurationReport
Definition path-validation-report.hh:69