mirror of
https://github.com/eclipse-openvehicle-api/openvehicle-api.git
synced 2026-02-05 15:18:45 +00:00
update parser (#5)
This commit is contained in:
@@ -308,7 +308,6 @@ namespace sdv
|
||||
protected:
|
||||
/**
|
||||
* @brief Build the module manifest.
|
||||
* @return Returns the pointer to a zero terminated string containing the module manifest or NULL when there is no string.
|
||||
*/
|
||||
void BuildManifest()
|
||||
{
|
||||
@@ -860,7 +859,7 @@ Version = )code" << SDVFrameworkInterfaceVersion
|
||||
|
||||
/**
|
||||
* @brief Declare the object class type. To be placed in the SDV object class derived from CSdvObject.
|
||||
* \param class_type The type of the object (EObjectType).
|
||||
* @param class_type The type of the object (EObjectType).
|
||||
*/
|
||||
#define DECLARE_OBJECT_CLASS_TYPE(class_type) \
|
||||
/** \
|
||||
|
||||
@@ -58,7 +58,8 @@ namespace sdv
|
||||
}
|
||||
|
||||
/**
|
||||
* Select the section that is supported now.
|
||||
* @brief Select the section that is supported now.
|
||||
* @param[in] uiSection The section number that should be considered.
|
||||
*/
|
||||
void Select(int uiSection)
|
||||
{
|
||||
|
||||
@@ -49,6 +49,14 @@ namespace sdv::toml
|
||||
*/
|
||||
sdv::u8string GetName();
|
||||
|
||||
/**
|
||||
* @brief Retrurn the node qualified path including the parent path.
|
||||
* @details The qualified path is a path composed through all parent nodes containing quoted names where needed. The path
|
||||
* to the node can be used to directly access the node.
|
||||
* @return String containing the qualified path to the node.
|
||||
*/
|
||||
sdv::u8string GetQualifiedPath();
|
||||
|
||||
/**
|
||||
* @brief Get the node type.
|
||||
* @return The node type.
|
||||
@@ -247,6 +255,11 @@ namespace sdv::toml
|
||||
return m_pNodeInfo ? m_pNodeInfo->GetName() : sdv::u8string();
|
||||
}
|
||||
|
||||
inline sdv::u8string CNode::GetQualifiedPath()
|
||||
{
|
||||
return m_pNodeInfo ? m_pNodeInfo->GetPath(true) : sdv::u8string();
|
||||
}
|
||||
|
||||
inline ENodeType CNode::GetType()
|
||||
{
|
||||
return m_pNodeInfo ? m_pNodeInfo->GetType() : ENodeType::node_invalid;
|
||||
|
||||
Reference in New Issue
Block a user