Add define guards

pull/21/head
Vlad Shakhuro 11 years ago
parent 4a3ab904ab
commit c8938d8d6e
  1. 7
      modules/adas/include/acffeature.hpp
  2. 7
      modules/adas/include/icfdetector.hpp
  3. 7
      modules/adas/include/waldboost.hpp

@ -39,6 +39,9 @@ the use of this software, even if advised of the possibility of such damage.
*/
#ifndef __OPENCV_ADAS_ACFFEATURE_HPP__
#define __OPENCV_ADAS_ACFFEATURE_HPP__
class ACFFeature
{
public:
@ -116,4 +119,6 @@ private:
Returns vector of distinct acf features
*/
std::vector<ACFFeature>
generateFeatures(Size window_size, size_t count = UINT_MAX, int seed = 0);
generateFeatures(Size window_size, size_t count = UINT_MAX, int seed = 0);
#endif /* __OPENCV_ADAS_ACFFEATURE_HPP__ */

@ -39,6 +39,9 @@ the use of this software, even if advised of the possibility of such damage.
*/
#ifndef __OPENCV_ADAS_ICFDETECTOR_HPP__
#define __OPENCV_ADAS_ICFDETECTOR_HPP__
class ICFDetector
{
public:
@ -89,4 +92,6 @@ public:
/* Save detector in file, return true on success, false otherwise */
bool save(const std::string& filename);
};
};
#endif /* __OPENCV_ADAS_ICFDETECTOR_HPP__ */

@ -39,6 +39,9 @@ the use of this software, even if advised of the possibility of such damage.
*/
#ifndef __OPENCV_ADAS_WALDBOOST_HPP__
#define __OPENCV_ADAS_WALDBOOST_HPP__
class Stump
{
public:
@ -119,4 +122,6 @@ private:
/* Save WaldBoost to FileStorage */
cv::FileStorage& operator<< (cv::FileStorage& out, const WaldBoost& classifier);
/* Load WaldBoost from FileStorage */
cv::FileStorage& operator>> (cv::FileStorage& in, WaldBoost& classifier);
cv::FileStorage& operator>> (cv::FileStorage& in, WaldBoost& classifier);
#endif /* __OPENCV_ADAS_WALDBOOST_HPP__ */

Loading…
Cancel
Save