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 
bool operator!=(const _Null &, const _Null &)
Definition: null.h:17
YAML_CPP_API bool IsNull(const Node &node)
Definition: null.cpp:8
bool operator==(const _Null &, const _Null &)
Definition: null.h:16
#define YAML_CPP_API
Definition: dll.h:25
YAML_CPP_API _Null Null
Definition: null.cpp:6


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