contrib
yaml-cpp-pm
include
yaml-cpp-pm
mark.h
Go to the documentation of this file.
1
#ifndef MARK_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
2
#define MARK_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
struct
YAML_CPP_API
Mark
{
14
Mark
(): pos(0), line(0), column(0) {}
15
16
static
const
Mark
null
() {
return
Mark
(-1, -1, -1); }
17
18
int
pos
;
19
int
line
, column;
20
21
private
:
22
Mark
(
int
pos_,
int
line_,
int
column_): pos(pos_), line(line_), column(column_) {}
23
};
24
}
25
26
#endif // MARK_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
YAML_PM::Mark::null
static const Mark null()
Definition:
mark.h:16
YAML_PM::Mark::line
int line
Definition:
mark.h:19
YAML_CPP_API
#define YAML_CPP_API
Definition:
dll.h:25
YAML_PM::Mark
Definition:
mark.h:13
YAML_PM::Mark::Mark
Mark()
Definition:
mark.h:14
YAML_PM
Definition:
aliasmanager.h:11
YAML_PM::Mark::pos
int pos
Definition:
mark.h:18
YAML_PM::Mark::Mark
Mark(int pos_, int line_, int column_)
Definition:
mark.h:22
dll.h
libpointmatcher
Author(s):
autogenerated on Sat May 27 2023 02:38:02