CernVM-FS
2.12.0
|
#include <uuid.h>
Public Member Functions | |
std::string | uuid () const |
const unsigned char * | data () const |
unsigned | size () const |
Static Public Member Functions | |
static Uuid * | Create (const std::string &store_path) |
static std::string | CreateOneTime () |
Private Member Functions | |
void | MkUuid () |
Uuid () | |
Private Attributes | |
std::string | uuid_ |
union { | |
uuid_t uuid | |
split | |
} | uuid_presentation_ |
Holds a unique identifies which is either read from a file or, if the file does not yet exist, created and stored in a file. This is how it is used to identify a cvmfs cache directory.
In order to create many UUIDs for short-lived objects, use the CreateOneTime factory method.
|
static |
Definition at line 23 of file uuid.cc.
Referenced by cipher::CipherAes256Cbc::GenerateIv(), main(), and FileSystem::SetupUuid().
|
static |
|
inline |
Definition at line 30 of file uuid.h.
Referenced by cipher::CipherAes256Cbc::GenerateIv().
|
private |
Creates a new UUID in canonical string representation and overwrites uuid_ with the result.
Definition at line 82 of file uuid.cc.
Referenced by CreateOneTime().
|
inline |
Definition at line 33 of file uuid.h.
Referenced by cipher::CipherAes256Cbc::GenerateIv().
uuid_t cvmfs::Uuid::uuid |
Definition at line 41 of file uuid.h.
Referenced by MountPoint::CreateDownloadManagers().
|
private |
Definition at line 39 of file uuid.h.
Referenced by CreateOneTime().
union { ... } cvmfs::Uuid::uuid_presentation_ |