null.h
Go to the documentation of this file.
1 #ifndef NULL_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
2 #define NULL_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 
9 #include "yaml-cpp-pm/dll.h"
10 
11 namespace YAML_PM
12 {
13  class Node;
14 
15  struct YAML_CPP_API _Null {};
16  inline bool operator == (const _Null&, const _Null&) { return true; }
17  inline bool operator != (const _Null&, const _Null&) { return false; }
18 
19  YAML_CPP_API bool IsNull(const Node& node); // old API only
20 
21  extern YAML_CPP_API _Null Null;
22 }
23 
24 #endif // NULL_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
25 
YAML_PM::operator!=
bool operator!=(const _Null &, const _Null &)
Definition: null.h:17
YAML_PM
Definition: aliasmanager.h:11
YAML_PM::Null
YAML_CPP_API _Null Null
Definition: null.cpp:6
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::IsNull
YAML_CPP_API bool IsNull(const Node &node)
Definition: null.cpp:8
dll.h
YAML_PM::_Null
Definition: null.h:15


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