LIBRCSC Docs
Documentation for HELIOS's BASE LIBRCSC library for RoboCup 2D Simulation League.
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
param_parser.h
Go to the documentation of this file.
1// -*-c++-*-
2
8/*
9 *Copyright:
10
11 Copyright (C) Hidehisa AKIYAMA
12
13 This code is free software; you can redistribute it and/or
14 modify it under the terms of the GNU Lesser General Public
15 License as published by the Free Software Foundation; either
16 version 3 of the License, or (at your option) any later version.
17
18 This library is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 Lesser General Public License for more details.
22
23 You should have received a copy of the GNU Lesser General Public
24 License along with this library; if not, write to the Free Software
25 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26
27 *EndCopyright:
28 */
29
31
32#ifndef RCSC_PARAM_PARAM_PARSER_H
33#define RCSC_PARAM_PARAM_PARSER_H
34
35namespace rcsc {
36
37class ParamMap;
38
44private:
45
46 // non copyable
47 ParamParser( const ParamParser & ) = delete;
48 ParamParser & operator=( const ParamParser & ) = delete;
49
50protected:
51
55 ParamParser() = default;
56
57public:
58
62 virtual
64 { }
65
71 virtual
72 bool parse( ParamMap & param_map ) = 0;
73
74};
75
76}
77
78#endif
parameter container
Definition: param_map.h:484
abstract parameter paraser class
Definition: param_parser.h:43
virtual ~ParamParser()
virtual destructor
Definition: param_parser.h:63
ParamParser()=default
protected access
virtual bool parse(ParamMap &param_map)=0
interface method