CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
history::History::Tag Struct Reference

#include <history.h>

Collaboration diagram for history::History::Tag:

Public Member Functions

 Tag ()
 
 Tag (const std::string &n, const shash::Any &h, const uint64_t s, const uint64_t r, const time_t t, const std::string &d, const std::string &b)
 
bool operator== (const Tag &other) const
 
bool operator< (const Tag &other) const
 
bool operator> (const Tag &other) const
 

Public Attributes

std::string name
 
shash::Any root_hash
 
uint64_t size
 
uint64_t revision
 
time_t timestamp
 
std::string description
 
std::string branch
 

Detailed Description

The Tag structure contains information about one specific named snap- shot stored in the history database. Tags can be retrieved from this history class both by 'name' and by 'date'. By 'date' branches only look in the default branch. Naturally, tags can also be saved into the History using this struct as a container.

Definition at line 62 of file history.h.

Constructor & Destructor Documentation

history::History::Tag::Tag ( )
inline

Definition at line 63 of file history.h.

history::History::Tag::Tag ( const std::string &  n,
const shash::Any h,
const uint64_t  s,
const uint64_t  r,
const time_t  t,
const std::string &  d,
const std::string &  b 
)
inline

Definition at line 65 of file history.h.

Member Function Documentation

bool history::History::Tag::operator< ( const Tag other) const
inline

Definition at line 76 of file history.h.

bool history::History::Tag::operator== ( const Tag other) const
inline

Definition at line 71 of file history.h.

bool history::History::Tag::operator> ( const Tag other) const
inline

Definition at line 82 of file history.h.

Member Data Documentation


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