1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/One2INF-ProtocolParser

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
В этом репозитории не указан файл с открытой лицензией (LICENSE). При использовании обратитесь к конкретному описанию проекта и его зависимостям в коде.
Клонировать/Скачать
protocolpase.h 1.1 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
one2inf Отправлено 06.01.2021 10:51 8170ba0
#ifndef PROTOCOLPASE_H
#define PROTOCOLPASE_H
#include <QString>
#include <QDebug>
#include <QJsonValue>
class ProtocolParser
{
public:
explicit ProtocolParser();
virtual ~ProtocolParser();
virtual QList<QStringList> Parse2List(QString str, QJsonValue* jsonValue);
virtual QJsonValue Parse2Json(QString str, QJsonValue* jsonValue);
};
class ProtocolPaser_CunKou : public ProtocolParser
{
public:
explicit ProtocolPaser_CunKou(void);
~ProtocolPaser_CunKou() override;
QList<QStringList> Parse2List(QString str, QJsonValue* jsonValue) override;
QJsonValue Parse2Json(QString str, QJsonValue* jsonValue) override;
};
class ProtocolPaserDefault : public ProtocolParser
{
public:
QList<QStringList> Parse2List(QString str, QJsonValue* jsonValue) override;
QJsonValue Parse2Json(QString str, QJsonValue* jsonValue) override;
};
class ProtocolParseInterface
{
private:
QString str;
QJsonValue jsonValue;
public:
explicit ProtocolParseInterface(QString str, QJsonValue* jsonValue);
~ProtocolParseInterface();
ProtocolParser *parser;
QList<QStringList> Parse2List(void);
QJsonValue Parse2Json(void);
};
#endif // PROTOCOLPASE_H

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/One2INF-ProtocolParser.git
git@api.gitlife.ru:oschina-mirror/One2INF-ProtocolParser.git
oschina-mirror
One2INF-ProtocolParser
One2INF-ProtocolParser
master