Apollo
10.0
自动驾驶开放平台
header_xml_parser.h
浏览该文件的文档.
1
/* Copyright 2017 The Apollo Authors. 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
#pragma once
16
17
#include <tinyxml2.h>
18
19
#include "
modules/map/hdmap/adapter/xml_parser/common_define.h
"
20
#include "
modules/map/hdmap/adapter/xml_parser/status.h
"
21
22
namespace
apollo
{
23
namespace
hdmap {
24
namespace
adapter {
25
26
class
HeaderXmlParser
{
27
public
:
28
static
Status
Parse
(
const
tinyxml2::XMLElement& xml_node,
PbHeader
* header);
29
};
30
31
}
// namespace adapter
32
}
// namespace hdmap
33
}
// namespace apollo
apollo::common::Status
A general class to denote the return status of an API call.
Definition
status.h:43
apollo::hdmap::adapter::HeaderXmlParser
Definition
header_xml_parser.h:26
apollo::hdmap::adapter::HeaderXmlParser::Parse
static Status Parse(const tinyxml2::XMLElement &xml_node, PbHeader *header)
Definition
header_xml_parser.cc:41
common_define.h
status.h
apollo
class register implement
Definition
arena_queue.h:37
apollo::hdmap::Header
Definition
map.proto:29
modules
map
hdmap
adapter
xml_parser
header_xml_parser.h