File indexing completed on 2025-05-12 09:08:09
0001 #ifndef NULL_H_62B23520_7C8E_11DE_8A39_0800200C9A66
0002 #define NULL_H_62B23520_7C8E_11DE_8A39_0800200C9A66
0003
0004 #if defined(_MSC_VER) || \
0005 (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || \
0006 (__GNUC__ >= 4))
0007 #pragma once
0008 #endif
0009
0010 #include "ATOOLS/YAML/yaml-cpp/dll.h"
0011 #include <string>
0012
0013 namespace SHERPA_YAML {
0014 class Node;
0015
0016 struct YAML_CPP_API _Null {};
0017 inline bool operator==(const _Null&, const _Null&) { return true; }
0018 inline bool operator!=(const _Null&, const _Null&) { return false; }
0019
0020 YAML_CPP_API bool IsNull(const Node& node);
0021 YAML_CPP_API bool IsNullString(const std::string& str);
0022
0023 extern YAML_CPP_API _Null Null;
0024 }
0025
0026 #endif