5d235b51f3
tmp commit tmp commit v2 Finished reimplementation of propertys. They now can be placed in a holder with different source of type information. Tmp commit
25 lines
568 B
C++
25 lines
568 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
|
|
#include "storage/model/properties/property.hpp"
|
|
|
|
using code_args_t = std::vector<Property>;
|
|
|
|
struct QueryStripped
|
|
{
|
|
QueryStripped(const std::string &&query, uint64_t hash,
|
|
code_args_t &&arguments)
|
|
: query(std::forward<const std::string>(query)), hash(hash),
|
|
arguments(std::forward<code_args_t>(arguments))
|
|
{
|
|
}
|
|
|
|
QueryStripped(QueryStripped &other) = delete;
|
|
QueryStripped(QueryStripped &&other) = default;
|
|
|
|
std::string query;
|
|
uint64_t hash;
|
|
code_args_t arguments;
|
|
};
|