MythTV master
Classes | 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
 

Functions

static int FindTag (const QString &str)
 

Variables

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

Function Documentation

◆ FindTag()

static int FindTag ( const QString &  str)
static

Definition at line 347 of file ParseText.cpp.

Referenced by MHParseText::NextSym().

Variable Documentation

◆ colourTable

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

Definition at line 328 of file ParseText.cpp.

◆ MAX_ENUM

constexpr ssize_t MAX_ENUM { 30 }
staticconstexpr

Definition at line 365 of file ParseText.cpp.

Referenced by MHParseText::NextSym().

◆ MAX_TAG_LENGTH

constexpr ssize_t MAX_TAG_LENGTH { 30 }
staticconstexpr

Definition at line 60 of file ParseText.cpp.

Referenced by MHParseText::NextSym().

◆ rchTagNames

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

Definition at line 63 of file ParseText.cpp.

Referenced by FindTag().