Include the version number in the uid of the HttpSynchronization (closes #2081)

This commit is contained in:
Alexander Bock
2022-05-06 00:53:56 -07:00
parent 2816ad4d8d
commit 9715d22af0
7 changed files with 18 additions and 21 deletions

View File

@@ -70,18 +70,9 @@ public:
const ghoul::Dictionary& dictionary);
/**
* Generates a unique identifying string for the dictionary that is based on the
* \c Type and the \c Identifier values of the passed \p dictionary. All other
* parameters are ignored, but as long as the \c Type and/or the \c Identifier values
* differ, the resulting string will be different.
*
* \param dictionary The dictionary containing the \c Type and the \c Identifier used
* to create a unique identifier
*
* \throw SpecificationError If the \p dictionary does not contain a \c Type, an
* \c Identifier, and a \c Name
* Generates a unique identifying string for ResourceSynchronizaiton.
*/
static std::string generateUid(const ghoul::Dictionary& dictionary);
virtual std::string generateUid() = 0;
/// Defaulted virtual constructor
virtual ~ResourceSynchronization() = default;