MVault 0.0.1
Loading...
Searching...
No Matches
VaultRecord.hpp
1#include "VaultRecord.h"
2
3#include "Vault.h"
4#include "VaultRecordSet.h"
5
6namespace mvlt
7{
8 template<class T>
9 void VaultRecord::UpdateDependentSets(const std::string& key, const T& data) noexcept
10 {
11 VaultRecordMutex.lock();
12
13 for (VaultRecordSet* vaultRecordSet : dependentVaultRecordSets)
14 vaultRecordSet->SetDataToRecord(this, key, data);
15
16 VaultRecordMutex.unlock();
17 }
18}
Iterator class for all library maps.
Definition Map.h:18
void UpdateDependentSets(const std::string &key, const T &data) noexcept
A method for updating the position of a record within all dependencies.
Definition VaultRecord.hpp:9
A class for storing query results.
Definition VaultRecordSet.h:14