stdr_parser_specs.h
Go to the documentation of this file.
1 /******************************************************************************
2  STDR Simulator - Simple Two DImensional Robot Simulator
3  Copyright (C) 2013 STDR Simulator
4  This program is free software; you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation; either version 3 of the License, or
7  (at your option) any later version.
8  This program is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  GNU General Public License for more details.
12  You should have received a copy of the GNU General Public License
13  along with this program; if not, write to the Free Software Foundation,
14  Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
15 
16  Authors :
17  * Manos Tsardoulias, etsardou@gmail.com
18  * Aris Thallas, aris.thallas@gmail.com
19  * Chris Zalidis, zalidis@gmail.com
20 ******************************************************************************/
21 
22 #ifndef STDR_PARSER_SPECS
23 #define STDR_PARSER_SPECS
24 
26 
31 namespace stdr_parser
32 {
37  struct ElSpecs
38  {
43  ElSpecs(void);
44 
46  std::set<std::string> required;
48  std::set<std::string> allowed;
50  std::string default_value;
51  };
52 
57  struct Specs
58  {
63  Specs(void);
64 
66  static std::map<std::string,ElSpecs> specs;
67 
69  static std::set<std::string> non_mergable_tags;
70  };
71 }
72 #endif
The main namespace for STDR GUI XML parser.
static std::set< std::string > non_mergable_tags
An element of Specs - represents a valid tag.
The STDR parser specifications.
std::set< std::string > allowed
Default value for the node (if it is a value)
static std::map< std::string, ElSpecs > specs
List of non-mergable tags. Read from stdr_multiple_allowed.xml.
ElSpecs(void)
Default constructor.
std::set< std::string > required
The allowed tags for the tag.


stdr_parser
Author(s): Manos Tsardoulias, Chris Zalidis, Aris Thallas
autogenerated on Mon Jun 10 2019 15:14:54