LeechCraft 0.6.70-14794-g33744ae6ce
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
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
14{
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
30 ID_,
31 Value_)
32
#define TOSTRING(n)
Definition: common.h:52
BOOST_FUSION_ADAPT_STRUCT(Student, ID_, Name_) struct StudentInfo
const QVariant Value_
Definition: plotitem.cpp:74
lco::PKey< int, lco::NoAutogen > ID_
Definition: simplerecord.h:15
static QString ClassName()
Definition: simplerecord.h:18
QString Value_
Definition: simplerecord.h:16
auto AsTuple() const
Definition: simplerecord.h:23