<commit_before>/***************************************************************************
*                                                                         *
* Copyright © 2003 <NAME> <<EMAIL>>                          *
* Copyright © 2003 <NAME> <<EMAIL>>                         *
* Copyright © 2003 Opie Project <<EMAIL>>                *
*                                                                         *
*                                                                         *
*    This code was originally developed by the opie project, on which     *
*                    Martin Imobersteg based his work.                    *
* This file is adds a small extension, necessary to perform some minimum  * 
* SQL actions                                                             *
*                                                                         *
*         (this project is different from that in qsqlite.sf.net)         *
*   This program is free software; you can redistribute it and/or modify  *
*   it under the terms of the GNU General Public License as published by  *
*   the Free Software Foundation; either version 2 of the License, or     *
*   (at your option) any later version.                                   *
***************************************************************************/

#ifndef QSQLITERESULT_H
#define QSQLITERESULT_H

#include <qmap.h>
#include <q3valuelist.h>

/**
 * ResultRow  represents one row of the resulting answer
 */
class QSQLiteResultRow
{
public:
	/**
	 * TableString is used to establish the relations
	 * between the column name and the real item
	 */
	typedef QMap<QString, QByteArray> TableString;

	/**
	 * TableInt is used to establish a relation between a
	 * position of a column and the row value
	 */
	typedef QMap<int, QByteArray> TableInt;

	/**
	 * Default c'tor. It has a TableString and a TableInt
	 */
	QSQLiteResultRow( const TableString& = TableString(),
	                  const TableInt& = TableInt() );
	QSQLiteResultRow( const QSQLiteResultRow& );
	~QSQLiteResultRow();
	QSQLiteResultRow &operator=( const QSQLiteResultRow& );

	/**
	 * returns the TableString
	 */
	TableString tableString() const;
<commit_msg>Fix Krazy warnings: explicit - QSQLiteResultRow<commit_after>/***************************************************************************
*                                                                         *
* Copyright © 2003 <NAME> <<EMAIL>>                          *
* Copyright © 2003 <NAME> <<EMAIL>>                         *
* Copyright © 2003 Opie Project <<EMAIL>>                *
*                                                                         *
*                                                                         *
*    This code was originally developed by the opie project, on which     *
*                    Martin Imobersteg based his work.                    *
* This file is adds a small extension, necessary to perform some minimum  * 
* SQL actions                                                             *
*                                                                         *
*         (this project is different from that in qsqlite.sf.net)         *
*   This program is free software; you can redistribute it and/or modify  *
*   it under the terms of the GNU General Public License as published by  *
*   the Free Software Foundation; either version 2 of the License, or     *
*   (at your option) any later version.                                   *
***************************************************************************/

#ifndef QSQLITERESULT_H
#define QSQLITERESULT_H

#include <qmap.h>
#include <q3valuelist.h>

/**
 * ResultRow  represents one row of the resulting answer
 */
class QSQLiteResultRow
{
public:
	/**
	 * TableString is used to establish the relations
	 * between the column name and the real item
	 */
	typedef QMap<QString, QByteArray> TableString;

	/**
	 * TableInt is used to establish a relation between a
	 * position of a column and the row value
	 */
	typedef QMap<int, QByteArray> TableInt;

	/**
	 * Default c'tor. It has a TableString and a TableInt
	 */
	explicit QSQLiteResultRow( const TableString& = TableString(),
	                  const TableInt& = TableInt() );
	QSQLiteResultRow( const QSQLiteResultRow& );
	~QSQLiteResultRow();
	QSQLiteResultRow &operator=( const QSQLiteResultRow& );

	/**
	 * returns the TableString
	 */
	TableString tableString() const;

{'fraction_non_alphanumeric': 0.1355629877369008, 'fraction_numerical': 0.006243032329988852, 'mean_word_length': 1.6481700118063753, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 30, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3220538', 'n_tokens_mistral': 1068, 'n_tokens_neox': 975, 'n_words': 375}