common_library: gettid is multiple declaration in cl_error
[staging/basesystem.git] / video_in_hal / nsframework / framework_unified / client / NS_ConfigParser / include / ns_cfg_internal.h
1 /*
2  * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 ////////////////////////////////////////////////////////////////////////////////////////////////////
18 /// \ingroup  tag_NS_ConfigParser
19 /// \brief    This file contains the declaration of internal structure for parsing cfg configuration
20 ///       file.
21 ///
22 ////////////////////////////////////////////////////////////////////////////////////////////////////
23
24 #ifndef FRAMEWORK_UNIFIED_CLIENT_NS_CONFIGPARSER_INCLUDE_NS_CFG_INTERNAL_H_
25 #define FRAMEWORK_UNIFIED_CLIENT_NS_CONFIGPARSER_INCLUDE_NS_CFG_INTERNAL_H_
26
27 ////////////////////////////////////////////////////////////////////////////////////////////////////
28 // Include Files
29 ////////////////////////////////////////////////////////////////////////////////////////////////////
30 #include <string>
31 #include <vector>
32
33 class CNode {
34  public:
35   CNode(): m_cComment(""), m_cTag(""), m_cValue("") {}  // LCOV_EXCL_BR_LINE 11:except branch
36
37   ~CNode() {}
38
39   std::string m_cComment;
40   std::string m_cTag;
41   std::string m_cValue;
42 };
43
44 class CBlock {
45  public:
46   CBlock(): m_cComment("") {}  // LCOV_EXCL_BR_LINE 11:except branch
47
48   ~CBlock() {}
49
50   std::string m_cComment;
51   std::vector<CNode> m_vElementPair;
52 };
53
54 #endif  // FRAMEWORK_UNIFIED_CLIENT_NS_CONFIGPARSER_INCLUDE_NS_CFG_INTERNAL_H_