FileSystemIndexer v0.1.2-beta
File System Indexer - An API to index files from your system
Loading...
Searching...
No Matches
FSI_Indexer.hpp File Reference
#include <string>
#include <vector>
#include <thread>
#include "../core/FSI_timeUtils.hpp"
Include dependency graph for FSI_Indexer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fsi::Indexer
struct  fsi::IndexerError
struct  fsi::IndexerFoundInfo
struct  fsi::IndexerInfo

Namespaces

namespace  fsi
namespace  fsi::codes

Macros

#define __FSI_INDEXERERR_CHECK(e)
#define __FSI_SUCCESS   0

Typedefs

typedef struct fsi::IndexerError fsi::IndexerError
typedef struct fsi::IndexerFoundInfo fsi::IndexerFoundInfo
typedef struct fsi::IndexerInfo fsi::IndexerInfo

Enumerations

enum class  fsi::IndexerPathType { fsi::Directory , fsi::File , fsi::SymLink }

Variables

constexpr int fsi::codes::ERROR_ADDITION_FAIL = 1
constexpr int fsi::codes::ERROR_EMPTY_VALUE = 4
constexpr int fsi::codes::ERROR_ERASE_FAIL = 2
constexpr int fsi::codes::ERROR_INVALID_PATH = 3

Macro Definition Documentation

◆ __FSI_INDEXERERR_CHECK

#define __FSI_INDEXERERR_CHECK ( e)
Value:
(e.raise || e.fatal) && e.code != __FSI_SUCCESS
#define __FSI_SUCCESS

Definition at line 11 of file FSI_Indexer.hpp.

11#define __FSI_INDEXERERR_CHECK(e) \
12 (e.raise || e.fatal) && e.code != __FSI_SUCCESS

Referenced by fsi::Indexer::__addExtendedInfoStandard(), and fsi::Indexer::__addExtendedInfoThreaded().

◆ __FSI_SUCCESS

#define __FSI_SUCCESS   0

Definition at line 10 of file FSI_Indexer.hpp.