CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
shash::HexPtr Struct Reference

#include <hash.h>

Public Member Functions

 HexPtr (const std::string &s)
 
bool IsValid () const
 

Public Attributes

const std::string * str
 

Detailed Description

Distinguishes between interpreting a string as hex hash and hashing over the contents of a string.

Definition at line 103 of file hash.h.

Constructor & Destructor Documentation

shash::HexPtr::HexPtr ( const std::string &  s)
inlineexplicit

Definition at line 105 of file hash.h.

Member Function Documentation

bool shash::HexPtr::IsValid ( ) const

Definition at line 37 of file hash.cc.

Referenced by publish::SyncItem::CheckGraft(), and swissknife::CommandScrub::FileCallback().

Here is the caller graph for this function:

Member Data Documentation

const std::string* shash::HexPtr::str

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