MythTV  master
Classes | Macros | Functions | Variables
ParseText.cpp File Reference
#include "ParseText.h"
#include <cstdlib>
#include "ParseNode.h"
#include "BaseClasses.h"
#include "ASN1Codes.h"
#include "Root.h"
#include "Groups.h"
#include <cctype>
#include "Ingredients.h"
#include "Text.h"
#include "Engine.h"
#include "Logging.h"
Include dependency graph for ParseText.cpp:

Go to the source code of this file.

Classes

struct  colourTable
 

Macros

#define stricmp   strcasecmp
 

Functions

static int FindTag (const QString &str)
 

Variables

static constexpr size_t MAX_TAG_LENGTH { 30 }
 
const std::array< const QString, 253 > rchTagNames
 
static std::array< const struct colourTable, 13 > colourTable
 
static constexpr size_t MAX_ENUM { 30 }
 

Macro Definition Documentation

◆ stricmp

#define stricmp   strcasecmp

Definition at line 44 of file ParseText.cpp.

Function Documentation

◆ FindTag()

static int FindTag ( const QString &  str)
static

Definition at line 358 of file ParseText.cpp.

Referenced by MHParseText::NextSym().

Variable Documentation

◆ MAX_TAG_LENGTH

constexpr size_t MAX_TAG_LENGTH { 30 }
staticconstexpr

Definition at line 71 of file ParseText.cpp.

Referenced by MHParseText::NextSym().

◆ rchTagNames

const std::array<const QString,253> rchTagNames

Definition at line 75 of file ParseText.cpp.

Referenced by FindTag().

◆ colourTable

std::array<const struct colourTable,13> colourTable
static
Initial value:
{{
{ "black", 0, 0, 0, 0 },
{ "transparent", 0, 0, 0, 255 },
{ "gray", 128, 128, 128, 0 },
{ "darkgray", 192, 192, 192, 0 },
{ "red", 255, 0, 0, 0 },
{ "darkred", 128, 0, 0, 0 },
{ "blue", 0, 0, 255, 0 },
{ "darkblue", 0, 0, 128, 0 },
{ "green", 0, 255, 0, 0 },
{ "darkgreen", 0, 128, 0, 0 },
{ "yellow", 255, 255, 0, 0 },
{ "cyan", 0, 255, 255, 0 },
{ "magenta", 255, 0, 255, 0 }
}}

Definition at line 340 of file ParseText.cpp.

◆ MAX_ENUM

constexpr size_t MAX_ENUM { 30 }
staticconstexpr

Definition at line 376 of file ParseText.cpp.

Referenced by MHParseText::NextSym().