![]() |
Mixxx
|
#include <parser.h>
Public Member Functions | |
Parser () | |
~Parser () | |
virtual QList< QString > | parse (QString)=0 |
Protected Member Functions | |
long | countParsed () |
void | clearLocations () |
bool | isBinary (QString) |
bool | isFilepath (QString) |
Static Protected Member Functions | |
static bool | isUtf8 (const char *string) |
Protected Attributes | |
QList< QString > | m_sLocations |
Developer Information: This is the rootclass for all parser classes for the Importer class. It can be used to write a new type-specific parser by deriving a new class from it and overwrite the parse function and add class specific functions to it afterwards fro proper functioning
Parser::Parser | ( | ) |
Definition at line 23 of file parser.cpp.
Parser::~Parser | ( | ) |
Definition at line 27 of file parser.cpp.
void Parser::clearLocations | ( | ) | [protected] |
Clears m_psLocations
Definition at line 33 of file parser.cpp.
long Parser::countParsed | ( | ) | [protected] |
Returns the number of parsed locations
Definition at line 39 of file parser.cpp.
bool Parser::isBinary | ( | QString | filename | ) | [protected] |
Checks if the file does contain binary content
Definition at line 51 of file parser.cpp.
bool Parser::isFilepath | ( | QString | sFilepath | ) | [protected] |
Checks if the given string represents a local filepath
Definition at line 44 of file parser.cpp.
bool Parser::isUtf8 | ( | const char * | string | ) | [static, protected] |
virtual QList<QString> Parser::parse | ( | QString | ) | [pure virtual] |
QList<QString> Parser::m_sLocations [protected] |