TGHtmlParse.cxx File Reference

#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include "TGHtml.h"
#include "TGHtmlTokens.h"

Go to the source code of this file.

Classes

struct  SgEsc_t

Defines

#define ESC_HASH_SIZE   (sizeof(gEscSequences)/sizeof(gEscSequences[0])+7)
#define mxARG   200

Functions

static int EscHash (const char *zName)
static void EscInit ()
void HtmlTranslateEscapes (char *z)
static int HtmlHash (const char *zName)
static void HtmlHashInit (void)
static int NextColumn (int iCol, char c)
void ToLower (char *z)

Variables

SHtmlTokenMap_t HtmlMarkupMap []
static struct SgEsc_t gEscSequences []
static struct SgEsc_tgApEscHash [ESC_HASH_SIZE]
static char gAcMsChar []
static int gIsInit = 0
static SHtmlTokenMap_tgApMap [HTML_MARKUP_HASH_SIZE]


Define Documentation

#define ESC_HASH_SIZE   (sizeof(gEscSequences)/sizeof(gEscSequences[0])+7)

Definition at line 182 of file TGHtmlParse.cxx.

Referenced by EscHash().

#define mxARG   200

Referenced by TGHtml::Tokenize().


Function Documentation

static int EscHash ( const char *  zName  )  [static]

Definition at line 197 of file TGHtmlParse.cxx.

References c, ESC_HASH_SIZE, and h.

Referenced by EscInit(), and HtmlTranslateEscapes().

static void EscInit (  )  [static]

Definition at line 242 of file TGHtmlParse.cxx.

References c, EscHash(), SgEsc_t::fZName, gApEscHash, h, int, and value.

Referenced by HtmlTranslateEscapes().

static int HtmlHash ( const char *  zName  )  [static]

Definition at line 410 of file TGHtmlParse.cxx.

References c, h, and HTML_MARKUP_HASH_SIZE.

Referenced by HtmlHashInit(), TGHtml::InsertToken(), TGHtml::NameToPmap(), and TGHtml::Tokenize().

static void HtmlHashInit ( void   )  [static]

Definition at line 462 of file TGHtmlParse.cxx.

References SHtmlTokenMap_t::fPCollide, gApMap, h, HtmlHash(), and HtmlMarkupMap.

Referenced by TGHtml::InsertToken(), TGHtml::NameToPmap(), and TGHtml::Tokenize().

void HtmlTranslateEscapes ( char *  z  ) 

Definition at line 305 of file TGHtmlParse.cxx.

References c, EscHash(), EscInit(), gApEscHash, h, if(), j, p, and x80.

Referenced by TGHtml::TextInsertCmd(), TGHtmlMarkupElement::TGHtmlMarkupElement(), and TGHtml::Tokenize().

static int NextColumn ( int  iCol,
char  c 
) [static]

Definition at line 525 of file TGHtmlParse.cxx.

Referenced by TGHtml::Tokenize().

void ToLower ( char *  z  ) 

Definition at line 538 of file TGHtmlParse.cxx.


Variable Documentation

char gAcMsChar[] [static]

Definition at line 268 of file TGHtmlParse.cxx.

struct SgEsc_t* gApEscHash[ESC_HASH_SIZE] [static]

Definition at line 191 of file TGHtmlParse.cxx.

Referenced by EscInit(), and HtmlTranslateEscapes().

SHtmlTokenMap_t* gApMap[HTML_MARKUP_HASH_SIZE] [static]

Definition at line 400 of file TGHtmlParse.cxx.

Referenced by HtmlHashInit(), TGHtml::InsertToken(), TGHtml::NameToPmap(), TGHtml::Tokenize(), and TGHtml::TypeToName().

struct SgEsc_t gEscSequences[] [static]

Definition at line 74 of file TGHtmlParse.cxx.

int gIsInit = 0 [static]

Definition at line 392 of file TGHtmlParse.cxx.

SHtmlTokenMap_t HtmlMarkupMap[]

Definition at line 33 of file TGHtmlTokenMap.cxx.

Referenced by TGHtml::DumpToken(), TGHtml::GetMarkupMap(), TGHtml::GetTokenName(), HtmlHashInit(), and TGHtml::ListTokens().


Generated on Tue Jul 5 16:00:59 2011 for ROOT_528-00b_version by  doxygen 1.5.1