LeechCraft  0.6.70-16373-g319c272718
Modular cross-platform feature rich live environment.
simplerecord.h
Go to the documentation of this file.
1 /**********************************************************************
2  * LeechCraft - modular cross-platform feature rich internet client.
3  * Copyright (C) 2006-2014 Georg Rudoy
4  *
5  * Distributed under the Boost Software License, Version 1.0.
6  * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7  **********************************************************************/
8 
9 #pragma once
10 
11 #include "common.h"
12 
13 using LC::operator""_ct;
14 
16 {
18  QString Value_;
19 
20  constexpr static auto ClassName = "SimpleRecord"_ct;
21 
22  auto AsTuple () const
23  {
24  return std::tie (ID_, Value_);
25  }
26 };
27 
29  ID_,
30  Value_)
31 
lco::PKey< int, lco::NoAutogen > ID_
Definition: simplerecord.h:17
static constexpr auto ClassName
Definition: simplerecord.h:20
QString Value_
Definition: simplerecord.h:18
#define ORAL_ADAPT_STRUCT(sname,...)
Definition: oral.h:52
auto AsTuple() const
Definition: simplerecord.h:22
const QVariant Value_
Definition: plotitem.cpp:74
#define TOSTRING(n)
Definition: common.h:52