LeechCraft
0.6.70-15082-g543737046d
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
struct
SimpleRecord
14
{
15
lco::PKey<int, lco::NoAutogen>
ID_
;
16
QString
Value_
;
17
18
static
QString
ClassName
()
19
{
20
return
"SimpleRecord"
;
21
}
22
23
auto
AsTuple
()
const
24
{
25
return
std::tie (
ID_
,
Value_
);
26
}
27
};
28
29
BOOST_FUSION_ADAPT_STRUCT
(
SimpleRecord
,
30
ID_,
31
Value_
)
32
33
TOSTRING
(
SimpleRecord
)
common.h
TOSTRING
#define TOSTRING(n)
Definition:
common.h:52
SimpleRecord::ClassName
static QString ClassName()
Definition:
simplerecord.h:24
SimpleRecord::AsTuple
auto AsTuple() const
Definition:
simplerecord.h:29
SimpleRecord
Definition:
simplerecord.h:13
Value_
const QVariant Value_
Definition:
plotitem.cpp:80
SimpleRecord::ID_
lco::PKey< int, lco::NoAutogen > ID_
Definition:
simplerecord.h:21
LC::Util::oral::PKey< int, lco::NoAutogen >
BOOST_FUSION_ADAPT_STRUCT
BOOST_FUSION_ADAPT_STRUCT(Student, ID_, Name_) struct StudentInfo
Definition:
oralfkeytest.cpp:30
SimpleRecord::Value_
QString Value_
Definition:
simplerecord.h:22
src
util
db
tests
simplerecord.h
Generated by
1.8.17