Debian Codegraph @

src/lib/BMITypes.cpp

raw symbols SCIP
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3 * This file is a part of the libzmf project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10 #include "BMITypes.h"
11
12 namespace libzmf
13 {
14
15 bool operator==(const BMIOffset &lhs, const BMIOffset &rhs)
16 {
17 return lhs.type == rhs.type && lhs.start == rhs.start;
18 }
19
20 bool operator!=(const BMIOffset &lhs, const BMIOffset &rhs)
21 {
22 return !(lhs == rhs);
23 }
24
25 }
26
27 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */