C# Class BTDB.KVDBLayer.FileCollectionWithFileInfos

Inheritance: IFileCollectionWithFileInfos
Show file Open project: Bobris/BTDB Class Usage Examples

Public Methods

Method Description
AddFile ( string humanHint ) : IFileCollectionFile
ConcurentTemporaryTruncate ( uint idx, uint offset ) : void
DeleteAllUnknownFiles ( ) : void
FileCollectionWithFileInfos ( IFileCollection fileCollection ) : System
FileInfoByIdx ( uint idx ) : IFileInfo
GetCount ( ) : uint
GetFile ( uint fileId ) : IFileCollectionFile
GetSize ( uint key ) : ulong
LoadInfoAboutFiles ( ) : void
MakeIdxUnknown ( uint key ) : void
NextGeneration ( ) : long
SetInfo ( uint idx, IFileInfo fileInfo ) : void

Private Methods

Method Description
SkipHeader ( AbstractBufferedReader reader ) : void
WriteHeader ( AbstractBufferedWriter writer, Guid guid ) : void

Method Details

AddFile() public method

public AddFile ( string humanHint ) : IFileCollectionFile
humanHint string
return IFileCollectionFile

ConcurentTemporaryTruncate() public method

public ConcurentTemporaryTruncate ( uint idx, uint offset ) : void
idx uint
offset uint
return void

DeleteAllUnknownFiles() public method

public DeleteAllUnknownFiles ( ) : void
return void

FileCollectionWithFileInfos() public method

public FileCollectionWithFileInfos ( IFileCollection fileCollection ) : System
fileCollection IFileCollection
return System

FileInfoByIdx() public method

public FileInfoByIdx ( uint idx ) : IFileInfo
idx uint
return IFileInfo

GetCount() public method

public GetCount ( ) : uint
return uint

GetFile() public method

public GetFile ( uint fileId ) : IFileCollectionFile
fileId uint
return IFileCollectionFile

GetSize() public method

public GetSize ( uint key ) : ulong
key uint
return ulong

LoadInfoAboutFiles() public method

public LoadInfoAboutFiles ( ) : void
return void

MakeIdxUnknown() public method

public MakeIdxUnknown ( uint key ) : void
key uint
return void

NextGeneration() public method

public NextGeneration ( ) : long
return long

SetInfo() public method

public SetInfo ( uint idx, IFileInfo fileInfo ) : void
idx uint
fileInfo IFileInfo
return void