CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
compat::inode_tracker_v3::StringHeap Class Reference

#include <compat.h>

Inheritance diagram for compat::inode_tracker_v3::StringHeap:
Collaboration diagram for compat::inode_tracker_v3::StringHeap:

Public Member Functions

 StringHeap ()
 
 StringHeap (const uint32_t minimum_size)
 
void Init (const uint32_t minimum_size)
 
 ~StringHeap ()
 
StringRef AddString (const uint16_t length, const char *str)
 
void RemoveString (const StringRef str_ref)
 
double GetUsage () const
 
uint64_t used () const
 

Private Member Functions

void AddBin (const uint64_t size)
 

Private Attributes

uint64_t size_
 
uint64_t used_
 
uint64_t bin_size_
 
uint64_t bin_used_
 
BigVector< void * > bins_
 

Additional Inherited Members

- Protected Member Functions inherited from SingleCopy
 SingleCopy ()
 

Detailed Description

Definition at line 628 of file compat.h.

Constructor & Destructor Documentation

compat::inode_tracker_v3::StringHeap::StringHeap ( )
inline

Definition at line 630 of file compat.h.

Here is the call graph for this function:

compat::inode_tracker_v3::StringHeap::StringHeap ( const uint32_t  minimum_size)
inlineexplicit

Definition at line 631 of file compat.h.

Here is the call graph for this function:

compat::inode_tracker_v3::StringHeap::~StringHeap ( )
inline

Definition at line 634 of file compat.h.

Here is the call graph for this function:

Member Function Documentation

void compat::inode_tracker_v3::StringHeap::AddBin ( const uint64_t  size)
inlineprivate

Definition at line 648 of file compat.h.

Here is the call graph for this function:

StringRef compat::inode_tracker_v3::StringHeap::AddString ( const uint16_t  length,
const char *  str 
)
inline

Definition at line 640 of file compat.h.

Here is the call graph for this function:

double compat::inode_tracker_v3::StringHeap::GetUsage ( ) const
inline

Definition at line 644 of file compat.h.

Here is the call graph for this function:

void compat::inode_tracker_v3::StringHeap::Init ( const uint32_t  minimum_size)
inline

Definition at line 632 of file compat.h.

Here is the call graph for this function:

void compat::inode_tracker_v3::StringHeap::RemoveString ( const StringRef  str_ref)
inline

Definition at line 643 of file compat.h.

Here is the call graph for this function:

uint64_t compat::inode_tracker_v3::StringHeap::used ( ) const
inline

Definition at line 645 of file compat.h.

Here is the call graph for this function:

Member Data Documentation

uint64_t compat::inode_tracker_v3::StringHeap::bin_size_
private

Definition at line 652 of file compat.h.

uint64_t compat::inode_tracker_v3::StringHeap::bin_used_
private

Definition at line 653 of file compat.h.

BigVector<void *> compat::inode_tracker_v3::StringHeap::bins_
private

Definition at line 654 of file compat.h.

Referenced by ~StringHeap().

uint64_t compat::inode_tracker_v3::StringHeap::size_
private

Definition at line 650 of file compat.h.

uint64_t compat::inode_tracker_v3::StringHeap::used_
private

Definition at line 651 of file compat.h.


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