C# Class Ocronet.Dynamic.Utils.OldBookStore

Inheritance: Ocronet.Dynamic.Interfaces.IBookStore
ファイルを表示 Open project: nickun/OCRonet

Protected Properties

Property Type Description
lines Narray
prefix string

Public Methods

Method Description
AddLineId ( int ipage, int iline ) : int
GetCosts ( Floatarray costs, int page, int line, string variant = null ) : bool
GetLine ( Bitmap &bitmap, int page, int line, string variant = null ) : bool
GetLine ( Bytearray image, int page, int line, string variant = null ) : bool
GetLine ( Intarray image, int page, int line, string variant = null ) : bool
GetLine ( string &s, int page, int line, string variant = null ) : bool
GetLineId ( int ipage, int iline ) : int
GetMaxPage ( string fpattern ) : int
GetPage ( Bytearray image, int page, string variant = null ) : bool
GetPage ( Intarray image, int page, string variant = null ) : bool
HaveLine ( int page, int line, string variant = null, string extension = "png" ) : bool
LinesOnPage ( int ipage ) : int
NumberOfPages ( ) : int
OldBookStore ( ) : System
Open ( FileMode mode, int page, int line = -1, string variant = null, string extension = null ) : FileStream
PathFile ( int page, int line = -1, string variant = null, string extension = null ) : string
PutCosts ( Floatarray costs, int page, int line, string variant = null ) : void
PutLine ( Bitmap bitmap, int page, int line, string variant = null ) : void
PutLine ( Bytearray image, int page, int line, string variant = null ) : void
PutLine ( Intarray image, int page, int line, string variant = null ) : void
PutLine ( string s, int page, int line, string variant = null ) : void
PutPage ( Bytearray image, int page, string variant = null ) : void
PutPage ( Intarray image, int page, string variant = null ) : void
SetPrefix ( string s ) : void

Protected Methods

Method Description
GetLinesOfPage ( Intarray lines, int ipage ) : void
MaybeMakeDirectory ( int page ) : void

Method Details

AddLineId() public method

public AddLineId ( int ipage, int iline ) : int
ipage int
iline int
return int

GetCosts() public method

public GetCosts ( Floatarray costs, int page, int line, string variant = null ) : bool
costs Floatarray
page int
line int
variant string
return bool

GetLine() public method

public GetLine ( Bitmap &bitmap, int page, int line, string variant = null ) : bool
bitmap System.Drawing.Bitmap
page int
line int
variant string
return bool

GetLine() public method

public GetLine ( Bytearray image, int page, int line, string variant = null ) : bool
image Bytearray
page int
line int
variant string
return bool

GetLine() public method

public GetLine ( Intarray image, int page, int line, string variant = null ) : bool
image Intarray
page int
line int
variant string
return bool

GetLine() public method

public GetLine ( string &s, int page, int line, string variant = null ) : bool
s string
page int
line int
variant string
return bool

GetLineId() public method

public GetLineId ( int ipage, int iline ) : int
ipage int
iline int
return int

GetLinesOfPage() protected method

protected GetLinesOfPage ( Intarray lines, int ipage ) : void
lines Intarray
ipage int
return void

GetMaxPage() public method

public GetMaxPage ( string fpattern ) : int
fpattern string
return int

GetPage() public method

public GetPage ( Bytearray image, int page, string variant = null ) : bool
image Bytearray
page int
variant string
return bool

GetPage() public method

public GetPage ( Intarray image, int page, string variant = null ) : bool
image Intarray
page int
variant string
return bool

HaveLine() public method

public HaveLine ( int page, int line, string variant = null, string extension = "png" ) : bool
page int
line int
variant string
extension string
return bool

LinesOnPage() public method

public LinesOnPage ( int ipage ) : int
ipage int
return int

MaybeMakeDirectory() protected method

protected MaybeMakeDirectory ( int page ) : void
page int
return void

NumberOfPages() public method

public NumberOfPages ( ) : int
return int

OldBookStore() public method

public OldBookStore ( ) : System
return System

Open() public method

public Open ( FileMode mode, int page, int line = -1, string variant = null, string extension = null ) : FileStream
mode FileMode
page int
line int
variant string
extension string
return System.IO.FileStream

PathFile() public method

public PathFile ( int page, int line = -1, string variant = null, string extension = null ) : string
page int
line int
variant string
extension string
return string

PutCosts() public method

public PutCosts ( Floatarray costs, int page, int line, string variant = null ) : void
costs Floatarray
page int
line int
variant string
return void

PutLine() public method

public PutLine ( Bitmap bitmap, int page, int line, string variant = null ) : void
bitmap System.Drawing.Bitmap
page int
line int
variant string
return void

PutLine() public method

public PutLine ( Bytearray image, int page, int line, string variant = null ) : void
image Bytearray
page int
line int
variant string
return void

PutLine() public method

public PutLine ( Intarray image, int page, int line, string variant = null ) : void
image Intarray
page int
line int
variant string
return void

PutLine() public method

public PutLine ( string s, int page, int line, string variant = null ) : void
s string
page int
line int
variant string
return void

PutPage() public method

public PutPage ( Bytearray image, int page, string variant = null ) : void
image Bytearray
page int
variant string
return void

PutPage() public method

public PutPage ( Intarray image, int page, string variant = null ) : void
image Intarray
page int
variant string
return void

SetPrefix() public method

public SetPrefix ( string s ) : void
s string
return void

Property Details

lines protected_oe property

protected Narray lines
return Narray

prefix protected_oe property

protected string prefix
return string