CernVM-FS  2.10.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 unsigned 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
 
unsigned 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 unsigned  r,
const time_t  t,
const std::string &  d,
const std::string &  b 
)
inline

Definition at line 66 of file history.h.

Member Function Documentation

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

Definition at line 77 of file history.h.

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

Definition at line 72 of file history.h.

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

Definition at line 83 of file history.h.

Member Data Documentation


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