Enumerations

Dedupe::State Namespace Reference

Enumerations

enum  GeneralCodes { Ok, Error }
enum  InfoFileSearch { FileSearchNotSet, FileSearchOK, IgnoreFile }
enum  InfoHash { HashNotSet }
enum  InfoDatabase { DatabaseNotSet }
enum  InfoGui { GuiNotSet }

Detailed Description

Namespace State is used for returning codes and constants in FileSearcher and FileInfo


Enumeration Type Documentation

GeneralCodes is used to control if functions work well

Enumerator:
Ok 

function works well

Error 

function return an undefined error

Definition at line 23 of file state.h.

    {
      /***********GENERAL SECTION*********************************************/
      Ok,         
      Error,      
    };

InfoDatabase defines all constants that are setted by the Databasemodule in the FileInfo

Enumerator:
DatabaseNotSet 

state if no value is set by the Databasemodule

Definition at line 58 of file state.h.

InfoFileSearch defines all constants that are setted by SearchFiles and in FileInfo

Enumerator:
FileSearchNotSet 

state if no value is set by the FileSearcher

FileSearchOK 

state if everything is all right

IgnoreFile 

File is not usable. Errorcode will be stored.

Definition at line 35 of file state.h.

    {
      FileSearchNotSet,        
      FileSearchOK,            
      IgnoreFile               
    };

InfoGui defines all constants that are setted by the Guimodule in the FileInfo

Enumerator:
GuiNotSet 

state if no value is set by the Guimodule

Definition at line 68 of file state.h.

    {
      GuiNotSet         
    };

InfoHash defines all constants that are setted by the hashmodule in the FileInfo

Enumerator:
HashNotSet 

state if no value is set by the hashmodule

Definition at line 48 of file state.h.

    {
      HashNotSet         
    };