add replacement value ff to date/time types having no replacement yet, made ident fields static

This commit is contained in:
john30
2015-10-25 19:45:42 +01:00
parent 6814cdf3a1
commit fe6c79296d
2 changed files with 57 additions and 43 deletions
+12 -3
View File
@@ -671,10 +671,16 @@ class DataFieldSet : public DataField
public:
/**
* Create the @a DataFieldSet for parsing the identification message (service 0x07 0x04).
* @return the @a DataFieldSet for parsing the identification message.
* Get the @a DataFieldSet for parsing the identification message (service 0x07 0x04).
* @return the @a DataFieldSet for parsing the identification message. This is:<ul>
* <li>manufacturer name (list of known values)</li>
* <li>identification string (5 characters)</li>
* <li>software version number (0000-9999)</li>
* <li>hardware version number (0000-9999)</li>
* </ul>
* Note: the returned value may only be deleted once.
*/
static DataFieldSet* createIdentFields();
static DataFieldSet* getIdentFields();
/**
* Constructs a new instance.
@@ -745,6 +751,9 @@ public:
private:
/** the @a DataFieldSet containing the ident message @a SingleDataField instances, or NULL. */
static DataFieldSet* s_identFields;
/** the @a vector of @a SingleDataField instances part of this set. */
vector<SingleDataField*> m_fields;