LibreOffice Module vcl (master) 1
Classes | Typedefs | Enumerations | Functions
validation Namespace Reference

Classes

class  NumberValidator
 

Typedefs

typedef ::std::map< sal_Unicode, StateStateTransitions
 
typedef StateTransitions::value_type Transition
 
typedef ::std::map< State, StateTransitionsTransitionTable
 

Enumerations

enum  State {
  START ,
  NUM_START ,
  DIGIT_PRE_COMMA ,
  DIGIT_POST_COMMA ,
  EXPONENT_START ,
  EXPONENT_DIGIT ,
  END
}
 

Functions

static void lcl_insertStopTransition (StateTransitions &_rRow)
 
static void lcl_insertStartExponentTransition (StateTransitions &_rRow)
 
static void lcl_insertSignTransitions (StateTransitions &_rRow, const State eNextState)
 
static void lcl_insertDigitTransitions (StateTransitions &_rRow, const State eNextState)
 
static void lcl_insertCommonPreCommaTransitions (StateTransitions &_rRow, const sal_Unicode _cThSep, const sal_Unicode _cDecSep)
 

Typedef Documentation

◆ StateTransitions

Definition at line 52 of file formatter.hxx.

◆ Transition

typedef StateTransitions::value_type validation::Transition

Definition at line 55 of file formatter.hxx.

◆ TransitionTable

Definition at line 58 of file formatter.hxx.

Enumeration Type Documentation

◆ State

Enumerator
START 
NUM_START 
DIGIT_PRE_COMMA 
DIGIT_POST_COMMA 
EXPONENT_START 
EXPONENT_DIGIT 
END 

Definition at line 36 of file formatter.hxx.

Function Documentation

◆ lcl_insertCommonPreCommaTransitions()

static void validation::lcl_insertCommonPreCommaTransitions ( StateTransitions _rRow,
const sal_Unicode  _cThSep,
const sal_Unicode  _cDecSep 
)
static

◆ lcl_insertDigitTransitions()

static void validation::lcl_insertDigitTransitions ( StateTransitions _rRow,
const State  eNextState 
)
static

◆ lcl_insertSignTransitions()

static void validation::lcl_insertSignTransitions ( StateTransitions _rRow,
const State  eNextState 
)
static

Definition at line 63 of file fmtfield.cxx.

Referenced by validation::NumberValidator::NumberValidator().

◆ lcl_insertStartExponentTransition()

static void validation::lcl_insertStartExponentTransition ( StateTransitions _rRow)
static

Definition at line 58 of file fmtfield.cxx.

References EXPONENT_START.

Referenced by validation::NumberValidator::NumberValidator().

◆ lcl_insertStopTransition()

static void validation::lcl_insertStopTransition ( StateTransitions _rRow)
static

Definition at line 53 of file fmtfield.cxx.

References END.

Referenced by validation::NumberValidator::NumberValidator().