CernVM-FS  2.10.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RepositoryTag Class Reference

#include <repository_tag.h>

Public Member Functions

 RepositoryTag ()
 
 RepositoryTag (const std::string &name, const std::string &description)
 
void SetName (const std::string &name)
 
void SetDescription (const std::string &description)
 
bool HasGenericName ()
 
void SetGenericName ()
 
std::string name () const
 
std::string description () const
 

Private Attributes

std::string name_
 
std::string description_
 

Detailed Description

This file is part of the CernVM File System.

Definition at line 10 of file repository_tag.h.

Constructor & Destructor Documentation

RepositoryTag::RepositoryTag ( )
inline

Definition at line 12 of file repository_tag.h.

RepositoryTag::RepositoryTag ( const std::string &  name,
const std::string &  description 
)

This file is part of the CernVM File System.

Definition at line 10 of file repository_tag.cc.

Member Function Documentation

std::string RepositoryTag::description ( ) const
inline
bool RepositoryTag::HasGenericName ( )

Check if tag name is of the form "generic-*"

Definition at line 19 of file repository_tag.cc.

Referenced by receiver::CommitProcessor::Process().

Here is the call graph for this function:

Here is the caller graph for this function:

std::string RepositoryTag::name ( ) const
inline

Definition at line 26 of file repository_tag.h.

Referenced by upload::SessionContext::Commit(), anonymous_namespace{commit_processor.cc}::CreateNewTag(), receiver::CommitProcessor::Process(), and SetName().

Here is the caller graph for this function:

void RepositoryTag::SetDescription ( const std::string &  description)
inline

Definition at line 19 of file repository_tag.h.

Referenced by swissknife::CommandSync::Main().

Here is the call graph for this function:

Here is the caller graph for this function:

void RepositoryTag::SetGenericName ( )

Set a generic tag name of the form "generic-YYYY-MM-DDThh:mm:ss.sssZ"

Definition at line 26 of file repository_tag.cc.

Referenced by receiver::CommitProcessor::Process().

Here is the call graph for this function:

Here is the caller graph for this function:

void RepositoryTag::SetName ( const std::string &  name)
inline

Definition at line 16 of file repository_tag.h.

Referenced by swissknife::CommandSync::Main().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

std::string RepositoryTag::description_
private

Definition at line 31 of file repository_tag.h.

Referenced by description(), and SetDescription().

std::string RepositoryTag::name_
private

Definition at line 30 of file repository_tag.h.

Referenced by HasGenericName(), name(), SetGenericName(), and SetName().


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