19 #ifndef HPP_CORE_PATH_VALIDATION_REPORT_HH 20 # define HPP_CORE_PATH_VALIDATION_REPORT_HH 22 # include <hpp/util/indent.hh> 39 , configurationReport() {}
42 parameter (param), configurationReport (report)
47 virtual std::ostream&
print (std::ostream& os)
const 49 os <<
"Invalid configuration at parameter " << parameter <<
iendl 51 if (!configurationReport) os <<
"No ValidationReport";
52 else os << *configurationReport;
74 #endif // HPP_CORE_PATH_VALIDATION_REPORT_HH Definition: validation-report.hh:36
boost::shared_ptr< ValidationReport > ValidationReportPtr_t
Definition: fwd.hh:206
HPP_UTIL_DLLAPI std::ostream & incindent(std::ostream &o)
ValidationReportPtr_t configurationReport
Definition: path-validation-report.hh:68
HPP_UTIL_DLLAPI std::ostream & iendl(std::ostream &o)
value_type getParameter()
Definition: path-validation-report.hh:56
PathValidationReport()
Definition: path-validation-report.hh:37
pinocchio::value_type value_type
Definition: fwd.hh:157
HPP_UTIL_DLLAPI std::ostream & decindent(std::ostream &o)
Definition: path-validation-report.hh:34
virtual std::ostream & print(std::ostream &os) const
Write report in a stream.
Definition: path-validation-report.hh:47
PathValidationReport(const value_type ¶m, const ValidationReportPtr_t &report)
Definition: path-validation-report.hh:40
value_type parameter
Parameter of the path where a invalid configuration has been found.
Definition: path-validation-report.hh:67
virtual ~PathValidationReport()
Definition: path-validation-report.hh:45
void setParameter(value_type p)
Definition: path-validation-report.hh:61