HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_StringRef::Holder Class Reference

#include <UT_StringHolder.h>

Public Member Functions

const char * c_str () const
 
exint length () const
 
void incref ()
 
void decref ()
 
int64 getMemoryUsage (bool inclusive) const
 
bool isUnique () const
 
char * inlineBufferNC ()
 
char * stealAsMalloc ()
 

Static Public Member Functions

static HolderbuildFromData (const char *str, exint len, StorageMode storage)
 
static HolderbuildInline (const char *str, exint length)
 
static HolderbuildInline (exint length)
 

Detailed Description

Definition at line 201 of file UT_StringHolder.h.

Member Function Documentation

static Holder* UT_StringRef::Holder::buildFromData ( const char *  str,
exint  len,
StorageMode  storage 
)
static
static Holder* UT_StringRef::Holder::buildInline ( const char *  str,
exint  length 
)
static
static Holder* UT_StringRef::Holder::buildInline ( exint  length)
static
const char* UT_StringRef::Holder::c_str ( void  ) const
inline

Definition at line 209 of file UT_StringHolder.h.

void UT_StringRef::Holder::decref ( )
inline

Definition at line 227 of file UT_StringHolder.h.

int64 UT_StringRef::Holder::getMemoryUsage ( bool  inclusive) const
void UT_StringRef::Holder::incref ( )
inline

Definition at line 222 of file UT_StringHolder.h.

char* UT_StringRef::Holder::inlineBufferNC ( )
inline

Definition at line 240 of file UT_StringHolder.h.

bool UT_StringRef::Holder::isUnique ( ) const
inline

Definition at line 235 of file UT_StringHolder.h.

exint UT_StringRef::Holder::length ( void  ) const
inline

Definition at line 217 of file UT_StringHolder.h.

char* UT_StringRef::Holder::stealAsMalloc ( )
inline

Definition at line 245 of file UT_StringHolder.h.

Member Data Documentation

const char* UT_StringRef::Holder::myData

Definition at line 264 of file UT_StringHolder.h.

char UT_StringRef::Holder::myDataIfInline[sizeof(const char *)]

Definition at line 265 of file UT_StringHolder.h.


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