Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
deck_list_plain_text_parser.h
Go to the documentation of this file.
1#ifndef COCKATRICE_DECK_LIST_PLAIN_TEXT_PARSER_H
2#define COCKATRICE_DECK_LIST_PLAIN_TEXT_PARSER_H
3
4#include "deck_list.h"
5
6#include <functional>
7
8class QTextStream;
10class QString;
11
12namespace DeckListPlainText
13{
14
27bool parse(QTextStream &in,
28 const std::function<QString(const QString &)> &cardNameNormalizer,
29 DeckList::Metadata &metadata,
30 DecklistNodeTree &tree);
31
32} // namespace DeckListPlainText
33
34#endif // COCKATRICE_DECK_LIST_PLAIN_TEXT_PARSER_H
Definition deck_list_node_tree.h:17
Defines the DeckList class, which manages a full deck structure including cards, zones,...
Definition deck_list_plain_text_parser.cpp:17
bool parse(QTextStream &in, const std::function< QString(const QString &)> &cardNameNormalizer, DeckList::Metadata &metadata, DecklistNodeTree &tree)
Parses a plain-text deck list into a tree and its metadata.
Definition deck_list_plain_text_parser.cpp:19