scenario_simulator_v2 C++ API
catalog_reference.hpp
Go to the documentation of this file.
1 // Copyright 2015 TIER IV, Inc. All rights reserved.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
15 #ifndef OPENSCENARIO_INTERPRETER__SYNTAX__CATALOG_REFERENCE_HPP_
16 #define OPENSCENARIO_INTERPRETER__SYNTAX__CATALOG_REFERENCE_HPP_
17 
18 #include <boost/filesystem.hpp>
27 #include <optional>
28 
30 {
31 inline namespace syntax
32 {
33 /* ---- CatalogReference ------------------------------------------------------
34  *
35  * <xsd:complexType name="CatalogReference">
36  * <xsd:sequence>
37  * <xsd:element name="ParameterAssignments" type="ParameterAssignments" minOccurs="0"/>
38  * </xsd:sequence>
39  * <xsd:attribute name="catalogName" type="String" use="required"/>
40  * <xsd:attribute name="entryName" type="String" use="required"/>
41  * </xsd:complexType>
42  * -------------------------------------------------------------------------- */
43 
45 {
46  CatalogReference(const pugi::xml_node &, Scope &);
47 
48  auto make() -> const Object;
49 
51 
53 
55 
57 
58  pugi::xml_node catalog_node;
59 };
60 
61 } // namespace syntax
62 } // namespace openscenario_interpreter
63 
64 #endif // OPENSCENARIO_INTERPRETER__SYNTAX__CATALOG_REFERENCE_HPP_
Definition: scope.hpp:154
Definition: escape_sequence.hpp:22
Pointer< Expression > Object
Definition: object.hpp:26
std::string string
Definition: junit5.hpp:26
Definition: catalog_reference.hpp:45
const std::string entry_name
Definition: catalog_reference.hpp:54
Scope scope
Definition: catalog_reference.hpp:50
ParameterAssignments parameter_assignments
Definition: catalog_reference.hpp:56
CatalogReference(const pugi::xml_node &, Scope &)
Definition: catalog_reference.cpp:75
auto make() -> const Object
Definition: catalog_reference.cpp:104
const std::string catalog_name
Definition: catalog_reference.hpp:52
pugi::xml_node catalog_node
Definition: catalog_reference.hpp:58
Definition: parameter_assignments.hpp:36