CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
publish::CheckoutMarker Class Reference

#include <repository_util.h>

Collaboration diagram for publish::CheckoutMarker:

Public Member Functions

 CheckoutMarker (const std::string &t, const std::string &b, const shash::Any &h, const std::string &p)
 
void SaveAs (const std::string &path) const
 
std::string tag () const
 
std::string branch () const
 
shash::Any hash () const
 
std::string previous_branch () const
 

Static Public Member Functions

static CheckoutMarkerCreateFrom (const std::string &path)
 

Private Attributes

std::string tag_
 
std::string branch_
 
shash::Any hash_
 
std::string previous_branch_
 

Detailed Description

Definition at line 17 of file repository_util.h.

Constructor & Destructor Documentation

publish::CheckoutMarker::CheckoutMarker ( const std::string &  t,
const std::string &  b,
const shash::Any h,
const std::string &  p 
)
inline

Definition at line 19 of file repository_util.h.

Referenced by CreateFrom().

Here is the caller graph for this function:

Member Function Documentation

std::string publish::CheckoutMarker::branch ( ) const
inline

Definition at line 31 of file repository_util.h.

CheckoutMarker * publish::CheckoutMarker::CreateFrom ( const std::string &  path)
static

Definition at line 25 of file repository_util.cc.

Referenced by publish::TransactionImpl().

Here is the call graph for this function:

Here is the caller graph for this function:

shash::Any publish::CheckoutMarker::hash ( ) const
inline

Definition at line 32 of file repository_util.h.

Referenced by publish::TransactionImpl().

Here is the caller graph for this function:

std::string publish::CheckoutMarker::previous_branch ( ) const
inline

Definition at line 33 of file repository_util.h.

Referenced by CreateFrom().

Here is the caller graph for this function:

void publish::CheckoutMarker::SaveAs ( const std::string &  path) const

Definition at line 51 of file repository_util.cc.

Here is the call graph for this function:

std::string publish::CheckoutMarker::tag ( ) const
inline

Definition at line 30 of file repository_util.h.

Member Data Documentation

std::string publish::CheckoutMarker::branch_
private

Definition at line 37 of file repository_util.h.

Referenced by branch(), and SaveAs().

shash::Any publish::CheckoutMarker::hash_
private

Definition at line 38 of file repository_util.h.

Referenced by hash(), and SaveAs().

std::string publish::CheckoutMarker::previous_branch_
private

Definition at line 39 of file repository_util.h.

Referenced by previous_branch(), and SaveAs().

std::string publish::CheckoutMarker::tag_
private

Definition at line 36 of file repository_util.h.

Referenced by SaveAs(), and tag().


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