C# Class VAGSuite.TransactionLog

Mostra file Open project: Blackfrosch/VAGEDCSuite Class Usage Examples

Public Methods

Method Description
AddToTransactionLog ( TransactionEntry entry ) : void
CreateFile ( string projectFolder, string project ) : bool
CreateFileByFilename ( ) : bool
OpenTransActionLog ( string projectFolder, string project ) : bool
Purge ( ) : void
ReadTransactionFile ( ) : void
ReadTransactionFileVersion1 ( string filename ) : TransactionCollection
SetEntryNote ( TransactionEntry ChangedEntry ) : void
SetEntryRolledBack ( int transActionNumber ) : void
SetEntryRolledForward ( int transActionNumber ) : void
UpdateChecksum ( ) : void
UpdateNumberOfTransActions ( ) : void
VerifyChecksum ( ) : bool

Private Methods

Method Description
AddTransactionToFile ( TransactionEntry entry, bool updateChecksum ) : void
AppendByteToFile ( byte b ) : void
AppendDataToFile ( byte b ) : void
AppendInt16ToFile ( Int16 b ) : void
AppendInt32ToFile ( Int32 b ) : void
SaveTransactionLog ( ) : void
UpgradeTransActionLog ( string input, string output ) : void
readInt32FromFile ( string filename, int offset ) : Int32
readbyteFromFile ( string filename, int offset ) : byte
readbytesFromFile ( string filename, int offset, int length ) : byte[]
writeInt32ToFile ( string filename, int offset, Int32 value ) : void

Method Details

AddToTransactionLog() public method

public AddToTransactionLog ( TransactionEntry entry ) : void
entry TransactionEntry
return void

CreateFile() public method

public CreateFile ( string projectFolder, string project ) : bool
projectFolder string
project string
return bool

CreateFileByFilename() public method

public CreateFileByFilename ( ) : bool
return bool

OpenTransActionLog() public method

public OpenTransActionLog ( string projectFolder, string project ) : bool
projectFolder string
project string
return bool

Purge() public method

public Purge ( ) : void
return void

ReadTransactionFile() public method

public ReadTransactionFile ( ) : void
return void

ReadTransactionFileVersion1() public method

public ReadTransactionFileVersion1 ( string filename ) : TransactionCollection
filename string
return TransactionCollection

SetEntryNote() public method

public SetEntryNote ( TransactionEntry ChangedEntry ) : void
ChangedEntry TransactionEntry
return void

SetEntryRolledBack() public method

public SetEntryRolledBack ( int transActionNumber ) : void
transActionNumber int
return void

SetEntryRolledForward() public method

public SetEntryRolledForward ( int transActionNumber ) : void
transActionNumber int
return void

UpdateChecksum() public method

public UpdateChecksum ( ) : void
return void

UpdateNumberOfTransActions() public method

public UpdateNumberOfTransActions ( ) : void
return void

VerifyChecksum() public method

public VerifyChecksum ( ) : bool
return bool