Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Protected Member Functions | List of all members
eclipse::Directory Class Reference

#include <directory.hh>

Collaboration diagram for eclipse::Directory:
Collaboration graph

Public Member Functions

 Directory ()
 
void create_tables ()
 
void file_table_insert (FileInfo &)
 
void file_table_select (std::string, FileInfo *)
 
void file_table_select_all (std::vector< FileInfo > &)
 
void file_table_update (std::string, uint64_t, uint32_t)
 
void file_table_delete (std::string)
 
bool file_table_exists (std::string)
 
void file_table_confirm_upload (std::string, uint32_t)
 
void block_table_insert (BlockMetadata &)
 
void block_table_insert_all (std::vector< BlockMetadata > &)
 
void block_table_select (std::string, std::vector< BlockMetadata > &)
 
void block_table_select_by_index (std::string, uint32_t, BlockMetadata *)
 
void block_table_select_all (std::vector< BlockMetadata > &)
 
void block_table_update (std::string, uint32_t, uint32_t)
 
void block_table_delete (std::string, uint32_t)
 
void block_table_delete_all (std::string)
 
void select_last_block_metadata (std::string, BlockMetadata *)
 

Protected Member Functions

bool query_exec_simple (char *, int(*)(void *, int, char **, char **), void *)
 

Constructor & Destructor Documentation

Directory::Directory ( )

Member Function Documentation

void Directory::block_table_delete ( std::string  ,
uint32_t   
)
void Directory::block_table_delete_all ( std::string  )
void Directory::block_table_insert ( BlockMetadata metadata)
void Directory::block_table_insert_all ( std::vector< BlockMetadata > &  metadata)
void Directory::block_table_select ( std::string  ,
std::vector< BlockMetadata > &   
)
void Directory::block_table_select_all ( std::vector< BlockMetadata > &  )
void Directory::block_table_select_by_index ( std::string  ,
uint32_t  ,
BlockMetadata  
)
void Directory::block_table_update ( std::string  ,
uint32_t  ,
uint32_t   
)
void Directory::create_tables ( )
void Directory::file_table_confirm_upload ( std::string  file_name,
uint32_t  num_block 
)
void Directory::file_table_delete ( std::string  )
bool Directory::file_table_exists ( std::string  )
void Directory::file_table_insert ( FileInfo file_info)
void Directory::file_table_select ( std::string  ,
FileInfo  
)
void Directory::file_table_select_all ( std::vector< FileInfo > &  )
void Directory::file_table_update ( std::string  ,
uint64_t  ,
uint32_t   
)
bool Directory::query_exec_simple ( char *  query,
int(*)(void *, int, char **, char **)  fn = NULL,
void *  argv = NULL 
)
protected
void Directory::select_last_block_metadata ( std::string  ,
BlockMetadata  
)

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