Disk ARchive 2.7.16
Full featured and portable backup and archiving tool
Public Member Functions | Private Attributes | List of all members
libdar::database_archives Class Reference

datastructure managing a member of the list of archives used by a database More...

#include <database_archives.hpp>

+ Collaboration diagram for libdar::database_archives:

Public Member Functions

 database_archives (const database_archives &ref)=default
 
 database_archives (database_archives &&ref) noexcept=default
 
database_archivesoperator= (const database_archives &ref)=default
 
database_archivesoperator= (database_archives &&ref) noexcept=default
 
void set_path (const std::string &val)
 
void set_basename (const std::string &val)
 
const std::string & get_path () const
 this provides the path where is located this archive More...
 
const std::string & get_basename () const
 this provides the basename of the archive More...
 

Private Attributes

std::string chemin
 
std::string base
 

Detailed Description

datastructure managing a member of the list of archives used by a database

only two methods are useful from API point of view

Definition at line 48 of file database_archives.hpp.

Constructor & Destructor Documentation

◆ database_archives()

libdar::database_archives::database_archives ( )
inline

Definition at line 51 of file database_archives.hpp.

Member Function Documentation

◆ get_basename()

const std::string & libdar::database_archives::get_basename ( ) const
inline

this provides the basename of the archive

Definition at line 65 of file database_archives.hpp.

◆ get_path()

const std::string & libdar::database_archives::get_path ( ) const
inline

this provides the path where is located this archive

Definition at line 62 of file database_archives.hpp.

◆ set_basename()

void libdar::database_archives::set_basename ( const std::string &  val)
inline

Definition at line 59 of file database_archives.hpp.

◆ set_path()

void libdar::database_archives::set_path ( const std::string &  val)
inline

Definition at line 58 of file database_archives.hpp.

Member Data Documentation

◆ base

std::string libdar::database_archives::base
private

Definition at line 69 of file database_archives.hpp.

◆ chemin

std::string libdar::database_archives::chemin
private

Definition at line 68 of file database_archives.hpp.


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