C# Class natix.SimilaritySearch.SpaceGenericIO

Works as cache for loaded spaces and a loader of spaces.
Afficher le fichier Open project: sadit/natix

Méthodes publiques

Свойство Type Description
DB_CACHE MetricDB>.Dictionary

Méthodes publiques

Méthode Description
Load ( BinaryReader Input, bool save_into_cache ) : MetricDB
Load ( string path, bool remember_in_cache = true, bool try_load_from_cache = true ) : MetricDB
LoadCache ( string path, MetricDB &db ) : bool
NormalizePath ( string path ) : string
Save ( BinaryWriter Output, MetricDB sp, bool save_into_cache ) : void
Save ( string path, MetricDB sp, bool save_into_cache = true ) : void
SaveCache ( string path, MetricDB db ) : void
SmartLoad ( BinaryReader Input, bool save_cache ) : MetricDB
SmartSave ( BinaryWriter Output, MetricDB db ) : void

Method Details

Load() public static méthode

public static Load ( BinaryReader Input, bool save_into_cache ) : MetricDB
Input System.IO.BinaryReader
save_into_cache bool
Résultat MetricDB

Load() public static méthode

public static Load ( string path, bool remember_in_cache = true, bool try_load_from_cache = true ) : MetricDB
path string
remember_in_cache bool
try_load_from_cache bool
Résultat MetricDB

LoadCache() public static méthode

public static LoadCache ( string path, MetricDB &db ) : bool
path string
db MetricDB
Résultat bool

NormalizePath() public static méthode

public static NormalizePath ( string path ) : string
path string
Résultat string

Save() public static méthode

public static Save ( BinaryWriter Output, MetricDB sp, bool save_into_cache ) : void
Output System.IO.BinaryWriter
sp MetricDB
save_into_cache bool
Résultat void

Save() public static méthode

public static Save ( string path, MetricDB sp, bool save_into_cache = true ) : void
path string
sp MetricDB
save_into_cache bool
Résultat void

SaveCache() public static méthode

public static SaveCache ( string path, MetricDB db ) : void
path string
db MetricDB
Résultat void

SmartLoad() public static méthode

public static SmartLoad ( BinaryReader Input, bool save_cache ) : MetricDB
Input System.IO.BinaryReader
save_cache bool
Résultat MetricDB

SmartSave() public static méthode

public static SmartSave ( BinaryWriter Output, MetricDB db ) : void
Output System.IO.BinaryWriter
db MetricDB
Résultat void

Property Details

DB_CACHE public_oe static_oe property

public static Dictionary DB_CACHE
Résultat MetricDB>.Dictionary