Eamon CS  3.1.0
Eamon.Framework.Portability.ITextReader Interface Reference

More...

Inheritance diagram for Eamon.Framework.Portability.ITextReader:
EamonPM.Game.Portability.TextReader

Public Member Functions

RetCode ReadField (StringBuilder buf, long bufSize, char[] boxChars, char fillChar, char maskChar, bool emptyAllowed, string emptyVal, Func< char, char > modifyCharFunc, Func< char, bool > validCharFunc, Func< char, bool > termCharFunc)
 
RetCode ReadField (StringBuilder buf, long bufSize, char[] boxChars, string emptyVal, Func< char, bool > validCharFunc)
 
RetCode ReadField (StringBuilder buf, long bufSize, char[] boxChars, string emptyVal)
 
string ReadLine ()
 
char ReadKey (bool intercept)
 
void KeyPress (StringBuilder buf, bool prependNewLine=true)
 

Properties

bool EnableInput [get, set]
 

Detailed Description

Member Function Documentation

◆ KeyPress()

void Eamon.Framework.Portability.ITextReader.KeyPress ( StringBuilder  buf,
bool  prependNewLine = true 
)

Parameters
buf
prependNewLine

Implemented in EamonPM.Game.Portability.TextReader.

◆ ReadField() [1/3]

RetCode Eamon.Framework.Portability.ITextReader.ReadField ( StringBuilder  buf,
long  bufSize,
char[]  boxChars,
char  fillChar,
char  maskChar,
bool  emptyAllowed,
string  emptyVal,
Func< char, char >  modifyCharFunc,
Func< char, bool >  validCharFunc,
Func< char, bool >  termCharFunc 
)

Parameters
buf
bufSize
boxChars
fillChar
maskChar
emptyAllowed
emptyVal
modifyCharFunc
validCharFunc
termCharFunc
Returns

Implemented in EamonPM.Game.Portability.TextReader.

◆ ReadField() [2/3]

RetCode Eamon.Framework.Portability.ITextReader.ReadField ( StringBuilder  buf,
long  bufSize,
char[]  boxChars,
string  emptyVal 
)

Parameters
buf
bufSize
boxChars
emptyVal
Returns

Implemented in EamonPM.Game.Portability.TextReader.

◆ ReadField() [3/3]

RetCode Eamon.Framework.Portability.ITextReader.ReadField ( StringBuilder  buf,
long  bufSize,
char[]  boxChars,
string  emptyVal,
Func< char, bool >  validCharFunc 
)

Parameters
buf
bufSize
boxChars
emptyVal
validCharFunc
Returns

Implemented in EamonPM.Game.Portability.TextReader.

◆ ReadKey()

char Eamon.Framework.Portability.ITextReader.ReadKey ( bool  intercept)

Parameters
intercept
Returns

Implemented in EamonPM.Game.Portability.TextReader.

◆ ReadLine()

string Eamon.Framework.Portability.ITextReader.ReadLine ( )

Returns

Implemented in EamonPM.Game.Portability.TextReader.

Property Documentation

◆ EnableInput

bool Eamon.Framework.Portability.ITextReader.EnableInput
getset


The documentation for this interface was generated from the following file: