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
YAML_PM::Iterator::m_pData
std::auto_ptr< IterPriv > m_pData
Definition: iterator.h:36
YAML_PM::operator!=
bool operator!=(const _Null &, const _Null &)
Definition: null.h:17
YAML_PM
Definition: aliasmanager.h:11
YAML_PM::operator==
bool operator==(const _Null &, const _Null &)
Definition: null.h:16
YAML_CPP_API
#define YAML_CPP_API
Definition: dll.h:25
YAML_PM::Node
Definition: node.h:33
YAML_PM::Iterator
Definition: iterator.h:16
dll.h


mp2p_icp
Author(s):
autogenerated on Fri Dec 20 2024 03:45:59