mirror of
https://github.com/eclipse-openvehicle-api/openvehicle-api.git
synced 2026-04-18 18:48:16 +00:00
update parser (#5)
This commit is contained in:
@@ -957,7 +957,7 @@ namespace sdv
|
||||
static constexpr ::sdv::interface_id _id = 0xEE1AD4FC2B9217BB;
|
||||
|
||||
/**
|
||||
* \brief Comment mask
|
||||
* @brief Comment mask
|
||||
*/
|
||||
enum class ECommentMask : uint32_t
|
||||
{
|
||||
@@ -1024,7 +1024,7 @@ namespace sdv
|
||||
static constexpr ::sdv::interface_id _id = 0xC7BB02340D82D7AE;
|
||||
|
||||
/**
|
||||
* \brief Does the entity have an unnamed definition.
|
||||
* @brief Does the entity have an unnamed definition.
|
||||
* @return Returns 'true' when the entity has an unnamed definition; otherwise returns 'false'.
|
||||
*/
|
||||
virtual bool IsUnnamed() const = 0;
|
||||
|
||||
@@ -110,7 +110,7 @@ public:
|
||||
void CreateInheritanceValueChildNodes();
|
||||
|
||||
/**
|
||||
* \brief Does the entity have an Unnamed definition. Overload of IDefinitionEntity::Unnamed.
|
||||
* @brief Does the entity have an Unnamed definition. Overload of IDefinitionEntity::Unnamed.
|
||||
* @return Returns 'true' when the definition supports unnamed definition; 'false' otherwise.
|
||||
*/
|
||||
virtual bool IsUnnamed() const override { return m_bAnonymousDefinition; };
|
||||
|
||||
@@ -99,8 +99,10 @@ protected:
|
||||
std::string ssName; ///< Parameter name
|
||||
std::string ssDefaultValue; ///< Parameter default value (or empty for void return value)
|
||||
std::string ssSize; ///< Parameter size
|
||||
enum class EDirection { in, out, inout, ret, ignored } eDirection = EDirection::ignored; ///< Parameter direction or return value
|
||||
enum class EAllocType { direct, indirect, ifc} eAllocType = EAllocType::direct; ///< Parameter allocation type
|
||||
enum class EDirection ///< Parameter direction or return value
|
||||
{ in, out, inout, ret, ignored } eDirection = EDirection::ignored; ///< Parameter direction or return value
|
||||
enum class EAllocType ///< Parameter allocation type
|
||||
{ direct, indirect, ifc} eAllocType = EAllocType::direct; ///< Parameter allocation type
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -107,7 +107,7 @@ private:
|
||||
void PotentialSwapBuffer(TChar* szBuffer, size_t nSize, bool bIsSourceBigEndian);
|
||||
|
||||
/**
|
||||
* \brief Convert a UTF16 string to UTF-8.
|
||||
* @brief Convert a UTF16 string to UTF-8.
|
||||
* @param[in] szBuffer The source string.
|
||||
* @param[in] nSize The length of the string (or zero terminating string when supplied as 0).
|
||||
* @return Returns the string as UTF8 std::string object.
|
||||
@@ -115,7 +115,7 @@ private:
|
||||
static std::string ConvertToUTF8(const char16_t* szBuffer, size_t nSize);
|
||||
|
||||
/**
|
||||
* \brief Convert a UTF32 string to UTF-8.
|
||||
* @brief Convert a UTF32 string to UTF-8.
|
||||
* @param[in] szBuffer The source string.
|
||||
* @param[in] nSize The length of the string (or zero terminating string when supplied as 0).
|
||||
* @return Returns the string as UTF8 std::string object.
|
||||
|
||||
Reference in New Issue
Block a user