mark.h
Go to the documentation of this file.
00001 #ifndef MARK_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
00002 #define MARK_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
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         struct YAML_CPP_API Mark {
00014                 Mark(): pos(0), line(0), column(0) {}
00015                 
00016                 static const Mark null() { return Mark(-1, -1, -1); }
00017                 
00018                 int pos;
00019                 int line, column;
00020                 
00021         private:
00022                 Mark(int pos_, int line_, int column_): pos(pos_), line(line_), column(column_) {}
00023         };
00024 }
00025 
00026 #endif // MARK_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM


libpointmatcher
Author(s):
autogenerated on Mon Sep 14 2015 02:59:06