Loading...
Searching...
No Matches
configuration_common.hpp
1/*---------------------------------------------------------------------------*\
2 *
3 * bitpit
4 *
5 * Copyright (C) 2015-2021 OPTIMAD engineering Srl
6 *
7 * -------------------------------------------------------------------------
8 * License
9 * This file is part of bitpit.
10 *
11 * bitpit is free software: you can redistribute it and/or modify it
12 * under the terms of the GNU Lesser General Public License v3 (LGPL)
13 * as published by the Free Software Foundation.
14 *
15 * bitpit is distributed in the hope that it will be useful, but WITHOUT
16 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
18 * License for more details.
19 *
20 * You should have received a copy of the GNU Lesser General Public License
21 * along with bitpit. If not, see <http://www.gnu.org/licenses/>.
22 *
23\*---------------------------------------------------------------------------*/
24#ifndef __BITPIT_CONFIGURATION_COMMON_HPP__
25#define __BITPIT_CONFIGURATION_COMMON_HPP__
26
27namespace bitpit {
28
29namespace config {
30
31enum SourceFormat {
32 SOURCE_FORMAT_JSON,
33 SOURCE_FORMAT_XML,
34};
35
36bool hasRootSection(SourceFormat format);
37bool hasArraySupport(SourceFormat format);
38
39}
40
41}
42
43#endif
bool hasArraySupport(SourceFormat format)
bool hasRootSection(SourceFormat format)
--- layout: doxygen_footer ---