SNAP Library, User Reference  2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
lx.h File Reference

Go to the source code of this file.

Classes

class  TLxSymStr
class  TILxSymSt
class  TILx
class  TOLx
class  TPreproc

Enumerations

enum  TLxChTy {
  lctUndef, lctSpace, lctNum, lctAlpha,
  lctSSym, lctTerm
}
enum  TLxChDefTy { lcdtUsAscii, lcdtYuAscii }
enum  TLxSym {
  syUndef, syLn, syTab, syBool,
  syInt, syFlt, syStr, syIdStr,
  syQStr, syPeriod, syDPeriod, syComma,
  syColon, syDColon, sySemicolon, syPlus,
  syMinus, syAsterisk, sySlash, syPercent,
  syExclamation, syVBar, syAmpersand, syQuestion,
  syHash, syEq, syNEq, syLss,
  syGtr, syLEq, syGEq, syLParen,
  syRParen, syLBracket, syRBracket, syLBrace,
  syRBrace, syEoln, syEof, syMnRw,
  syRw1, syRw2, syRw3, syRw4,
  syRw5, syRw6, syRw7, syRw8,
  syRw9, syRw10, syRw11, syRw12,
  syRw13, syRw14, syRw15, syRw16,
  syRw17, syMxRw
}
enum  TILxOpt {
  iloCmtAlw, iloRetEoln, iloSigNum, iloUniStr,
  iloCsSens, iloExcept, iloTabSep, iloList,
  iloMx
}
enum  TOLxOpt {
  oloCmtAlw, oloFrcEoln, oloSigNum, oloUniStr,
  oloCsSens, oloTabSep, oloVarIndent, oloMx
}

Functions

void SetUcCh (const TStr &Str)
void SetChTy (const TLxChTy &ChTy, const TStr &Str)
 TLxChDef (const TLxChDefTy &ChDefTy)
static PLxChDef New (const TLxChDefTy &ChDefTy=lcdtUsAscii)
 TLxChDef (TSIn &SIn)
static PLxChDef Load (TSIn &SIn)
void Save (TSOut &SOut)
TLxChDefoperator= (const TLxChDef &ChDef)
int GetChTy (const char &Ch) const
bool IsTerm (const char &Ch) const
bool IsSpace (const char &Ch) const
bool IsAlpha (const char &Ch) const
bool IsNum (const char &Ch) const
bool IsAlNum (const char &Ch) const
char GetUc (const char &Ch) const
bool IsNmStr (const TStr &Str) const
TStr GetUcStr (const TStr &Str) const
static PLxChDef GetChDef (const TLxChDefTy &ChDefTy=lcdtUsAscii)

Variables

ClassTP(TLxChDef, PLxChDef)
private TChV 
UcChV

Enumeration Type Documentation

enum TILxOpt
Enumerator:
iloCmtAlw 
iloRetEoln 
iloSigNum 
iloUniStr 
iloCsSens 
iloExcept 
iloTabSep 
iloList 
iloMx 
enum TLxChDefTy
Enumerator:
lcdtUsAscii 
lcdtYuAscii 
enum TLxChTy
Enumerator:
lctUndef 
lctSpace 
lctNum 
lctAlpha 
lctSSym 
lctTerm 
enum TLxSym
Enumerator:
syUndef 
syLn 
syTab 
syBool 
syInt 
syFlt 
syStr 
syIdStr 
syQStr 
syPeriod 
syDPeriod 
syComma 
syColon 
syDColon 
sySemicolon 
syPlus 
syMinus 
syAsterisk 
sySlash 
syPercent 
syExclamation 
syVBar 
syAmpersand 
syQuestion 
syHash 
syEq 
syNEq 
syLss 
syGtr 
syLEq 
syGEq 
syLParen 
syRParen 
syLBracket 
syRBracket 
syLBrace 
syRBrace 
syEoln 
syEof 
syMnRw 
syRw1 
syRw2 
syRw3 
syRw4 
syRw5 
syRw6 
syRw7 
syRw8 
syRw9 
syRw10 
syRw11 
syRw12 
syRw13 
syRw14 
syRw15 
syRw16 
syRw17 
syMxRw 
enum TOLxOpt
Enumerator:
oloCmtAlw 
oloFrcEoln 
oloSigNum 
oloUniStr 
oloCsSens 
oloTabSep 
oloVarIndent 
oloMx 

Function Documentation

static PLxChDef GetChDef ( const TLxChDefTy ChDefTy = lcdtUsAscii) [static]
int GetChTy ( const char &  Ch) const
char GetUc ( const char &  Ch) const
TStr GetUcStr ( const TStr Str) const
bool IsAlNum ( const char &  Ch) const
bool IsAlpha ( const char &  Ch) const
bool TLxChDef::IsNmStr ( const TStr Str) const
bool IsNum ( const char &  Ch) const
bool IsSpace ( const char &  Ch) const
bool IsTerm ( const char &  Ch) const
static PLxChDef Load ( TSIn SIn) [static]
static PLxChDef New ( const TLxChDefTy ChDefTy = lcdtUsAscii) [static]
TLxChDef& operator= ( const TLxChDef ChDef)
void Save ( TSOut SOut)
void SetChTy ( const TLxChTy ChTy,
const TStr Str 
)
void SetUcCh ( const TStr Str)
TLxChDef::TLxChDef ( const TLxChDefTy ChDefTy)
TLxChDef ( TSIn SIn)

Variable Documentation

ClassTP (TLxChDef, PLxChDef) private TChV UcChV