iterator.h
Go to the documentation of this file.
1 #ifndef ITERATOR_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
2 #define ITERATOR_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
3 
4 #if defined(_MSC_VER) || (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || (__GNUC__ >= 4)) // GCC supports "pragma once" correctly since 3.4
5 #pragma once
6 #endif
7 
8 #include "yaml-cpp-pm/dll.h"
9 #include <memory>
10 
11 namespace YAML_PM
12 {
13  class Node;
14  struct IterPriv;
15 
17  {
18  public:
19  Iterator();
20  Iterator(std::auto_ptr<IterPriv> pData);
21  Iterator(const Iterator& rhs);
22  ~Iterator();
23 
24  Iterator& operator = (const Iterator& rhs);
25  Iterator& operator ++ ();
26  Iterator operator ++ (int);
27  const Node& operator * () const;
28  const Node *operator -> () const;
29  const Node& first() const;
30  const Node& second() const;
31 
32  friend YAML_CPP_API bool operator == (const Iterator& it, const Iterator& jt);
33  friend YAML_CPP_API bool operator != (const Iterator& it, const Iterator& jt);
34 
35  private:
36  std::auto_ptr<IterPriv> m_pData;
37  };
38 }
39 
40 #endif // ITERATOR_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
bool operator!=(const _Null &, const _Null &)
Definition: null.h:17
bool operator==(const _Null &, const _Null &)
Definition: null.h:16
#define YAML_CPP_API
Definition: dll.h:25
std::auto_ptr< IterPriv > m_pData
Definition: iterator.h:36


libpointmatcher
Author(s):
autogenerated on Sat May 27 2023 02:38:02