Safir SDK Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TypeParser.h
Go to the documentation of this file.
1 /******************************************************************************
2 *
3 * Copyright Saab AB, 2004-2013 (http://safir.sourceforge.net)
4 *
5 * Created by: Joel Ottosson / joot
6 *
7 *******************************************************************************
8 *
9 * This file is part of Safir SDK Core.
10 *
11 * Safir SDK Core is free software: you can redistribute it and/or modify
12 * it under the terms of version 3 of the GNU General Public License as
13 * published by the Free Software Foundation.
14 *
15 * Safir SDK Core is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more Internals.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with Safir SDK Core. If not, see <http://www.gnu.org/licenses/>.
22 *
23 ******************************************************************************/
24 #ifndef __DOTS_INTERNAL_TYPE_PARSER_H__
25 #define __DOTS_INTERNAL_TYPE_PARSER_H__
26 
27 #include <boost/filesystem.hpp>
28 #include <boost/shared_ptr.hpp>
29 #include <Safir/Dob/Typesystem/ToolSupport/Internal/InternalExportDefs.h>
32 
33 namespace Safir
34 {
35 namespace Dob
36 {
37 namespace Typesystem
38 {
39 namespace ToolSupport
40 {
41 
42 #ifdef _MSC_VER
43 #pragma warning (push)
44 #pragma warning (disable: 4275)
45 #pragma warning (disable: 4251)
46 #endif
47 
56  DOTS_INTERNAL_API boost::shared_ptr<const TypeRepository> ParseTypeDefinitions(const boost::filesystem::path& root);
57 
69  DOTS_INTERNAL_API boost::shared_ptr<const TypeRepository> ParseTypeDefinitions(const std::vector<boost::filesystem::path>& roots);
70 
71 
72 #ifdef _MSC_VER
73 #pragma warning (pop)
74 #endif
75 
76 }
77 }
78 }
79 } //end namespace Safir::Dob::Typesystem::Internal
80 
81 #endif
DOTS_INTERNAL_API boost::shared_ptr< const TypeRepository > ParseTypeDefinitions(const boost::filesystem::path &root)
Will validate and parse a complete set of dou- and dom-files from If no error occurs, the result is returned.