Stardock 0.0.1
File System Points Synchronizer
Loading...
Searching...
No Matches
stardock::Index Struct Reference

#include <index.hh>

Classes

struct  Entry
 

Public Member Functions

void push_back (std::string path, uint64_t file_size, uint64_t modified)
 
const char * path (uint64_t entry_index) const
 
bool dump (std::string path) const
 
bool load (std::string path)
 
void clear ()
 
void sort ()
 

Public Attributes

char * paths = nullptr
 
Entryentries = nullptr
 
uint64_t n_of_entries = 0
 
uint64_t n_of_chars = 0
 
uint64_t entries_size = 0
 
uint64_t paths_size = 0
 

Member Function Documentation

◆ clear()

void stardock::Index::clear ( )

◆ dump()

bool stardock::Index::dump ( std::string path) const

◆ load()

bool stardock::Index::load ( std::string path)

◆ path()

const char * stardock::Index::path ( uint64_t entry_index) const
inline

◆ push_back()

void stardock::Index::push_back ( std::string path,
uint64_t file_size,
uint64_t modified )

◆ sort()

void stardock::Index::sort ( )

Member Data Documentation

◆ entries

Entry* stardock::Index::entries = nullptr

◆ entries_size

uint64_t stardock::Index::entries_size = 0

◆ n_of_chars

uint64_t stardock::Index::n_of_chars = 0

◆ n_of_entries

uint64_t stardock::Index::n_of_entries = 0

◆ paths

char* stardock::Index::paths = nullptr

◆ paths_size

uint64_t stardock::Index::paths_size = 0

The documentation for this struct was generated from the following files: