CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
glue::StringRef Class Reference

#include <glue_buffer.h>

Public Member Functions

 StringRef ()
 
uint16_t length () const
 
uint16_t size () const
 
char * data () const
 

Static Public Member Functions

static uint16_t size (const uint16_t length)
 
static StringRef Place (const uint16_t length, const char *str, void *addr)
 

Private Attributes

uint16_t * length_
 

Detailed Description

Pointer to a 2 byte length information followed by the characters

Definition at line 116 of file glue_buffer.h.

Constructor & Destructor Documentation

glue::StringRef::StringRef ( )
inline

Definition at line 118 of file glue_buffer.h.

Member Function Documentation

char* glue::StringRef::data ( ) const
inline

Definition at line 127 of file glue_buffer.h.

Referenced by glue::PathStore::Lookup(), and glue::InodeTracker::NextEntry().

Here is the caller graph for this function:

uint16_t glue::StringRef::length ( ) const
inline

Definition at line 122 of file glue_buffer.h.

Referenced by glue::PathStore::Lookup(), glue::InodeTracker::NextEntry(), and Place().

Here is the caller graph for this function:

static StringRef glue::StringRef::Place ( const uint16_t  length,
const char *  str,
void *  addr 
)
inlinestatic

Definition at line 128 of file glue_buffer.h.

Referenced by glue::StringHeap::AddString().

Here is the call graph for this function:

Here is the caller graph for this function:

uint16_t glue::StringRef::size ( ) const
inline

Definition at line 123 of file glue_buffer.h.

Referenced by glue::StringHeap::AddString(), and glue::StringHeap::RemoveString().

Here is the caller graph for this function:

static uint16_t glue::StringRef::size ( const uint16_t  length)
inlinestatic

Definition at line 124 of file glue_buffer.h.

Member Data Documentation

uint16_t* glue::StringRef::length_
private

Definition at line 139 of file glue_buffer.h.

Referenced by data(), length(), Place(), size(), and StringRef().


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