CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
anonymous_namespace{cmd_diff.cc}::DiffReporter Class Reference
Inheritance diagram for anonymous_namespace{cmd_diff.cc}::DiffReporter:
Collaboration diagram for anonymous_namespace{cmd_diff.cc}::DiffReporter:

Public Member Functions

 DiffReporter (bool show_header, bool machine_readable, bool ignore_timediff)
 
virtual ~DiffReporter ()
 
virtual void OnInit (const history::History::Tag &from_tag, const history::History::Tag &to_tag)
 
virtual void OnStats (const catalog::DeltaCounters &delta)
 
virtual void OnAdd (const std::string &path, const catalog::DirectoryEntry &entry)
 
virtual void OnRemove (const std::string &path, const catalog::DirectoryEntry &entry)
 
virtual void OnModify (const std::string &path, const catalog::DirectoryEntry &entry_from, const catalog::DirectoryEntry &entry_to)
 

Private Member Functions

std::string PrintDifferences (catalog::DirectoryEntryBase::Differences diff)
 
std::string PrintEntryType (const catalog::DirectoryEntry &entry)
 

Private Attributes

bool show_header_
 
bool machine_readable_
 
bool ignore_timediff_
 

Detailed Description

Definition at line 31 of file cmd_diff.cc.

Constructor & Destructor Documentation

anonymous_namespace{cmd_diff.cc}::DiffReporter::DiffReporter ( bool  show_header,
bool  machine_readable,
bool  ignore_timediff 
)
inline

Definition at line 33 of file cmd_diff.cc.

virtual anonymous_namespace{cmd_diff.cc}::DiffReporter::~DiffReporter ( )
inlinevirtual

Definition at line 38 of file cmd_diff.cc.

Member Function Documentation

virtual void anonymous_namespace{cmd_diff.cc}::DiffReporter::OnAdd ( const std::string &  path,
const catalog::DirectoryEntry entry 
)
inlinevirtual

Definition at line 88 of file cmd_diff.cc.

Here is the call graph for this function:

virtual void anonymous_namespace{cmd_diff.cc}::DiffReporter::OnInit ( const history::History::Tag from_tag,
const history::History::Tag to_tag 
)
inlinevirtual

Definition at line 41 of file cmd_diff.cc.

Here is the call graph for this function:

virtual void anonymous_namespace{cmd_diff.cc}::DiffReporter::OnModify ( const std::string &  path,
const catalog::DirectoryEntry entry_from,
const catalog::DirectoryEntry entry_to 
)
inlinevirtual

Definition at line 128 of file cmd_diff.cc.

Here is the call graph for this function:

virtual void anonymous_namespace{cmd_diff.cc}::DiffReporter::OnRemove ( const std::string &  path,
const catalog::DirectoryEntry entry 
)
inlinevirtual

Definition at line 108 of file cmd_diff.cc.

Here is the call graph for this function:

virtual void anonymous_namespace{cmd_diff.cc}::DiffReporter::OnStats ( const catalog::DeltaCounters delta)
inlinevirtual

Definition at line 64 of file cmd_diff.cc.

Here is the call graph for this function:

std::string anonymous_namespace{cmd_diff.cc}::DiffReporter::PrintDifferences ( catalog::DirectoryEntryBase::Differences  diff)
inlineprivate

Definition at line 163 of file cmd_diff.cc.

Here is the call graph for this function:

std::string anonymous_namespace{cmd_diff.cc}::DiffReporter::PrintEntryType ( const catalog::DirectoryEntry entry)
inlineprivate

Definition at line 207 of file cmd_diff.cc.

Here is the call graph for this function:

Member Data Documentation

bool anonymous_namespace{cmd_diff.cc}::DiffReporter::ignore_timediff_
private

Definition at line 217 of file cmd_diff.cc.

bool anonymous_namespace{cmd_diff.cc}::DiffReporter::machine_readable_
private

Definition at line 216 of file cmd_diff.cc.

bool anonymous_namespace{cmd_diff.cc}::DiffReporter::show_header_
private

Definition at line 215 of file cmd_diff.cc.


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