Dynalib Utils
Public Member Functions | Public Attributes | List of all members
Token Class Reference

#include <Token.h>

Public Member Functions

 Token ()=default
 
 Token (const Token &token)
 
void copyValues (Token &token)
 
void reset ()
 
StringgetBuffer ()
 
void appendChar (char ch)
 
ulong length ()
 
bool isAnySpecial (long bits)
 
bool isAllSpecial (long bits)
 
long setSpecial (long bits)
 
long clearSpecial (long bits)
 

Public Attributes

int type = TYPE_INVALID
 
int code = INVALID_CODE
 
long specialBits = 0L
 
long double doubleValue = 0.0
 
bool boolValue = false
 
time_t timeValue = 0
 
int lineNumber = 0
 
int linePosition = 0
 
int tokenPosition = 0
 
int intRadix = 10
 
int fracDigits = 0
 
long long intPortion = 0
 
long fracPortion = 0
 
long expPortion = 0
 
bool negFound = false
 
bool intFound = false
 
bool fracFound = false
 
bool infNanFound = false
 
bool expFound = false
 
bool expSign = false
 

Constructor & Destructor Documentation

◆ Token() [1/2]

Token::Token ( )
default

◆ Token() [2/2]

Token::Token ( const Token token)

Member Function Documentation

◆ appendChar()

void Token::appendChar ( char  ch)

◆ clearSpecial()

long Token::clearSpecial ( long  bits)

◆ copyValues()

void Token::copyValues ( Token token)

◆ getBuffer()

String & Token::getBuffer ( )

◆ isAllSpecial()

bool Token::isAllSpecial ( long  bits)

◆ isAnySpecial()

bool Token::isAnySpecial ( long  bits)

◆ length()

ulong Token::length ( )

◆ reset()

void Token::reset ( )

◆ setSpecial()

long Token::setSpecial ( long  bits)

Member Data Documentation

◆ boolValue

bool Token::boolValue = false

◆ code

int Token::code = INVALID_CODE

◆ doubleValue

long double Token::doubleValue = 0.0

◆ expFound

bool Token::expFound = false

◆ expPortion

long Token::expPortion = 0

◆ expSign

bool Token::expSign = false

◆ fracDigits

int Token::fracDigits = 0

◆ fracFound

bool Token::fracFound = false

◆ fracPortion

long Token::fracPortion = 0

◆ infNanFound

bool Token::infNanFound = false

◆ intFound

bool Token::intFound = false

◆ intPortion

long long Token::intPortion = 0

◆ intRadix

int Token::intRadix = 10

◆ lineNumber

int Token::lineNumber = 0

◆ linePosition

int Token::linePosition = 0

◆ negFound

bool Token::negFound = false

◆ specialBits

long Token::specialBits = 0L

◆ timeValue

time_t Token::timeValue = 0

◆ tokenPosition

int Token::tokenPosition = 0

◆ type

int Token::type = TYPE_INVALID

The documentation for this class was generated from the following files: