update parser (#5)

This commit is contained in:
tompzf
2026-01-16 11:40:02 +01:00
committed by GitHub
parent 5039a37131
commit 234be8917f
115 changed files with 14038 additions and 5380 deletions

View File

@@ -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) \
/** \

View File

@@ -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)
{

View File

@@ -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;