Go to the documentation of this file.00001 #ifndef NULL_H_62B23520_7C8E_11DE_8A39_0800200C9A66
00002 #define NULL_H_62B23520_7C8E_11DE_8A39_0800200C9A66
00003
00004 #if defined(_MSC_VER) || (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || (__GNUC__ >= 4)) // GCC supports "pragma once" correctly since 3.4
00005 #pragma once
00006 #endif
00007
00008
00009 #include "yaml-cpp-pm/dll.h"
00010
00011 namespace YAML_PM
00012 {
00013 class Node;
00014
00015 struct YAML_CPP_API _Null {};
00016 inline bool operator == (const _Null&, const _Null&) { return true; }
00017 inline bool operator != (const _Null&, const _Null&) { return false; }
00018
00019 YAML_CPP_API bool IsNull(const Node& node);
00020
00021 extern YAML_CPP_API _Null Null;
00022 }
00023
00024 #endif // NULL_H_62B23520_7C8E_11DE_8A39_0800200C9A66
00025