File tree 2 files changed +31
-0
lines changed
2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -4821,6 +4821,25 @@ if (Driver* driver = GetDriver(_homeId))
4821
4821
return " " ;
4822
4822
}
4823
4823
4824
+ // -----------------------------------------------------------------------------
4825
+ // <Manager::GetMetaDataId>
4826
+ // Retrieve metadata from its name
4827
+ // -----------------------------------------------------------------------------
4828
+ Node::MetaDataFields Manager::GetMetaDataId (const string& metaDataFiledtoParse)
4829
+ {
4830
+ return Node::GetMetaDataId (metaDataFiledtoParse);
4831
+ }
4832
+
4833
+
4834
+ // -----------------------------------------------------------------------------
4835
+ // <Manager::GetMetaDataString>
4836
+ // Get the MetaData string representation
4837
+ // -----------------------------------------------------------------------------
4838
+ string const Manager::GetMetaDataString (Node::MetaDataFields metaData)
4839
+ {
4840
+ return Node::GetMetaDataString (metaData);
4841
+ }
4842
+
4824
4843
// -----------------------------------------------------------------------------
4825
4844
// <Manager::GetChangeLog>
4826
4845
// Retrieve ChangeLog of a Configuration File about a Node.
Original file line number Diff line number Diff line change @@ -2645,6 +2645,18 @@ namespace OpenZWave
2645
2645
* \return a string containing the requested metadata
2646
2646
*/
2647
2647
string const GetMetaData (uint32 const _homeId, uint8 const _nodeId, Node::MetaDataFields _metadata);
2648
+ /* *
2649
+ * \brief Retrieve metadata from its name
2650
+ * \param metaDataFiledtoParse the string to parse (careful, case sensitive)
2651
+ * \return the found metaDataField if parsing is successful, or MetaData_Invalid
2652
+ */
2653
+ Node::MetaDataFields GetMetaDataId (const string & metaDataFiledtoParse);
2654
+ /* *
2655
+ * \brief Get the MetaData string representation
2656
+ * \param metaData the metaData enum
2657
+ * \return the metaData name (or empty string if not found)
2658
+ */
2659
+ string const GetMetaDataString (Node::MetaDataFields metaData);
2648
2660
/* *
2649
2661
* \brief Retrieve ChangeLogs about a configuration revision
2650
2662
* \param _homeId The Home ID of the driver for the node
You can’t perform that action at this time.
0 commit comments