KVIrc 5.2.4
Developer APIs
KviKvsRWEvaluationResult.h
Go to the documentation of this file.
1#ifndef _KVI_KVS_RWEVALUATIONRESULT_H_
2#define _KVI_KVS_RWEVALUATIONRESULT_H_
3//=============================================================================
4//
5// File : KviKvsRWEvaluationResult.h
6// Creation date : Thu 11 Dec 2003 22:51:46 by Szymon Stefanek
7//
8// This file is part of the KVIrc IRC client distribution
9// Copyright (C) 2003-2010 Szymon Stefanek <pragma at kvirc dot net>
10//
11// This program is FREE software. You can redistribute it and/or
12// modify it under the terms of the GNU General Public License
13// as published by the Free Software Foundation; either version 2
14// of the License, or (at your option) any later version.
15//
16// This program is distributed in the HOPE that it will be USEFUL,
17// but WITHOUT ANY WARRANTY; without even the implied warranty of
18// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19// See the GNU General Public License for more details.
20//
21// You should have received a copy of the GNU General Public License
22// along with this program. If not, write to the Free Software Foundation,
23// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24//
25//=============================================================================
26
27#include "kvi_settings.h"
28#include "KviKvsVariant.h"
29
31{
32public:
33 // this result becomes the owner of the parent result!!!!
35 // the destructor must do (in order):
36 // check if variant is empty and if it is then remove it from the container (destroy it)
37 // delete the m_pParent result
39
40protected:
43
44public:
45 KviKvsVariant * result() { return m_pVariant; };
46};
47
48class KviKvsArray;
49
60
61class KviKvsHash;
62
64{
65public:
66 KviKvsHashElement(KviKvsRWEvaluationResult * pParent, KviKvsVariant * pVariant, KviKvsHash * pHash, const QString & szKey);
68
69protected:
71 QString m_szKey;
72};
73
74#endif
Handling of variant data type in KVS.
Definition KviKvsRWEvaluationResult.h:51
KviKvsArray * m_pArray
Definition KviKvsRWEvaluationResult.h:57
int m_iKey
Definition KviKvsRWEvaluationResult.h:58
This class defines a new data type which contains array data.
Definition KviKvsArray.h:44
Definition KviKvsRWEvaluationResult.h:64
QString m_szKey
Definition KviKvsRWEvaluationResult.h:71
KviKvsHash * m_pHash
Definition KviKvsRWEvaluationResult.h:70
This class defines a new data type which contains hash data.
Definition KviKvsHash.h:48
Definition KviKvsRWEvaluationResult.h:31
KviKvsRWEvaluationResult * m_pParent
Definition KviKvsRWEvaluationResult.h:41
KviKvsVariant * m_pVariant
Definition KviKvsRWEvaluationResult.h:42
virtual ~KviKvsRWEvaluationResult()
KviKvsVariant * result()
Definition KviKvsRWEvaluationResult.h:45
This class defines a new data type which contains variant data.
Definition KviKvsVariant.h:352
This file contains compile time settings.
#define KVIRC_API
Definition kvi_settings.h:127
KviKvsArray * pArray
Definition libkviserverdb.cpp:478