hpp-core  4.9.0
Implement basic classes for canonical path planning for kinematic chains.
validation-report.hh
Go to the documentation of this file.
1 //
2 // Copyright (c) 2014 CNRS
3 // Authors: Florent Lamiraux
4 //
5 // This file is part of hpp-core
6 // hpp-core is free software: you can redistribute it
7 // and/or modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation, either version
9 // 3 of the License, or (at your option) any later version.
10 //
11 // hpp-core is distributed in the hope that it will be
12 // useful, but WITHOUT ANY WARRANTY; without even the implied warranty
13 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // General Lesser Public License for more details. You should have
15 // received a copy of the GNU Lesser General Public License along with
16 // hpp-core If not, see
17 // <http://www.gnu.org/licenses/>.
18 
19 #ifndef HPP_CORE_VALIDATION_REPORT_HH
20 # define HPP_CORE_VALIDATION_REPORT_HH
21 
22 # include <hpp/core/config.hh>
23 # include <hpp/core/fwd.hh>
24 
25 namespace hpp {
26  namespace core {
29 
36  class HPP_CORE_DLLAPI ValidationReport
37  {
38  public:
39  virtual ~ValidationReport ()
40  {
41  }
43  virtual std::ostream& print (std::ostream& os) const = 0;
44  }; // class ValidationReport
45  inline std::ostream& operator<< (std::ostream& os,
46  const ValidationReport& report)
47  {
48  return report.print (os);
49  }
51  } // namespace core
52 } // namespace hpp
53 
54 #endif // HPP_CORE_VALIDATION_REPORT_HH
Definition: validation-report.hh:36
virtual std::ostream & print(std::ostream &os) const =0
Write report in a stream.
virtual ~ValidationReport()
Definition: validation-report.hh:39
std::ostream & operator<<(std::ostream &os, const Constraint &constraint)
Definition: constraint.hh:98