MythTV  master
Classes | Macros | Functions | Variables
ParseText.cpp File Reference
#include "ParseText.h"
#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
 
#define MAX_TAG_LENGTH   30
 
#define MAX_ENUM   30
 

Functions

static int FindTag (const QString &str)
 

Variables

const std::array< const QString, 253 > rchTagNames
 
static std::array< const struct colourTable, 13 > colourTable
 

Macro Definition Documentation

◆ stricmp

#define stricmp   strcasecmp

Definition at line 41 of file ParseText.cpp.

◆ MAX_TAG_LENGTH

#define MAX_TAG_LENGTH   30

Definition at line 65 of file ParseText.cpp.

◆ MAX_ENUM

#define MAX_ENUM   30

Definition at line 366 of file ParseText.cpp.

Function Documentation

◆ FindTag()

static int FindTag ( const QString &  str)
static

Definition at line 351 of file ParseText.cpp.

Referenced by MHParseText::NextSym().

Variable Documentation

◆ rchTagNames

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

Definition at line 67 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 332 of file ParseText.cpp.