SCL  1.0
Standard Control Library : Control, dynamics, physics, and simulation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Groups Pages
CParserSclTiXml.hpp
1 /* This file is part of scl, a control and simulation library
2 for robots and biomechanical models.
3 
4 scl is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 3 of the License, or (at your option) any later version.
8 
9 Alternatively, you can redistribute it and/or
10 modify it under the terms of the GNU General Public License as
11 published by the Free Software Foundation; either version 2 of
12 the License, or (at your option) any later version.
13 
14 scl is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18 
19 You should have received a copy of the GNU Lesser General Public
20 License and a copy of the GNU General Public License along with
21 scl. If not, see <http://www.gnu.org/licenses/>.
22 */
23 /* \file CParserSclTiXml.hpp
24  *
25  * Created on: May, 2010
26  *
27  * Copyright (C) 2010
28  *
29  * Author: Samir Menon <smenon@stanford.edu>
30  */
31 
32 #ifndef CPARSERSCLTIXML_H_
33 #define CPARSERSCLTIXML_H_
34 
35 
36 #include <scl_tinyxml/scl_tinyxml.h>
37 
38 //Include the data structures
39 #include <scl/data_structs/SRobotParsed.hpp>
40 #include <scl/data_structs/SGraphicsParsed.hpp>
41 #include <scl/data_structs/SRigidBody.hpp>
42 
43 #include <scl/parser/CParserBase.hpp>
44 
45 #include <iostream>
46 #include <string>
47 
48 namespace scl {
49 
57 {
58 private:
59 
60 public:
61  CParserSclTiXml() {}
62  ~CParserSclTiXml() {}
63 
65  static bool readLink(const scl_tinyxml::TiXmlHandle& arg_link_txml,
66  scl::SRigidBody& arg_link_ds, bool arg_is_root);
67 
69  static bool readMuscle(const scl_tinyxml::TiXmlHandle& arg_musc_txml,
70  scl::SMuscleParsed& arg_muscle_ds, bool arg_is_root);
71 
73  static bool readGraphics(
74  const scl_tinyxml::TiXmlHandle &arg_graphics_data_txml,
75  scl::SGraphicsParsed& arg_graphics_ds);
76 };
77 
78 }
79 #endif /* CPARSERSCLTIXML_H_ */
Definition: SRigidBody.hpp:94
static bool readLink(const scl_tinyxml::TiXmlHandle &arg_link_txml, scl::SRigidBody &arg_link_ds, bool arg_is_root)
Definition: CParserSclTiXml.cpp:47
static bool readGraphics(const scl_tinyxml::TiXmlHandle &arg_graphics_data_txml, scl::SGraphicsParsed &arg_graphics_ds)
Definition: CParserSclTiXml.cpp:781
Definition: SActuatorSetMuscleParsed.hpp:76
static bool readMuscle(const scl_tinyxml::TiXmlHandle &arg_musc_txml, scl::SMuscleParsed &arg_muscle_ds, bool arg_is_root)
Definition: CParserSclTiXml.cpp:657
Definition: CParserSclTiXml.hpp:56
Definition: SGraphicsParsed.hpp:48