memgraph/storage/model/record.hpp

26 lines
418 B
C++
Raw Normal View History

2015-07-07 22:18:26 +08:00
#ifndef MEMGRAPH_STORAGE_RECORD_HPP
#define MEMGRAPH_STORAGE_RECORD_HPP
#include <mutex>
2015-07-31 18:31:08 +08:00
#include "utils/crtp.hpp"
2015-07-07 22:18:26 +08:00
#include "sync/spinlock.hpp"
2015-07-31 18:31:08 +08:00
#include "sync/lockable.hpp"
#include "storage/model/utils/mvcc.hpp"
2015-07-07 22:18:26 +08:00
#include "properties/properties.hpp"
2015-07-31 18:31:08 +08:00
template <class Derived>
2015-07-07 22:18:26 +08:00
class Record
2015-07-31 18:31:08 +08:00
: public Crtp<Derived>,
public Mvcc<Derived>,
Lockable<SpinLock>
2015-07-07 22:18:26 +08:00
{
public:
Properties props;
2015-07-07 22:18:26 +08:00
};
#endif