00001 #pragma once
00002
00003 #ifndef MARK_H_62B23520_7C8E_11DE_8A39_0800200C9A66
00004 #define MARK_H_62B23520_7C8E_11DE_8A39_0800200C9A66
00005
00006
00007 namespace YAML
00008 {
00009 struct Mark {
00010 Mark(): pos(0), line(0), column(0) {}
00011
00012 static const Mark null() { return Mark(-1, -1, -1); }
00013
00014 int pos;
00015 int line, column;
00016
00017 private:
00018 Mark(int pos_, int line_, int column_): pos(pos_), line(line_), column(column_) {}
00019 };
00020 }
00021
00022 #endif // MARK_H_62B23520_7C8E_11DE_8A39_0800200C9A66