NDDEM
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
xpath_string Class Reference

Public Member Functions

 xpath_string ()
 
void append (const xpath_string &o, xpath_allocator *alloc)
 
const char_t * c_str () const
 
size_t length () const
 
char_t * data (xpath_allocator *alloc)
 
bool empty () const
 
bool operator== (const xpath_string &o) const
 
bool operator!= (const xpath_string &o) const
 
bool uses_heap () const
 

Static Public Member Functions

static xpath_string from_const (const char_t *str)
 
static xpath_string from_heap_preallocated (const char_t *begin, const char_t *end)
 
static xpath_string from_heap (const char_t *begin, const char_t *end, xpath_allocator *alloc)
 

Private Member Functions

 xpath_string (const char_t *buffer, bool uses_heap_, size_t length_heap)
 

Static Private Member Functions

static char_t * duplicate_string (const char_t *string, size_t length, xpath_allocator *alloc)
 

Private Attributes

const char_t * _buffer
 
bool _uses_heap
 
size_t _length_heap
 

Constructor & Destructor Documentation

◆ xpath_string() [1/2]

xpath_string::xpath_string ( const char_t *  buffer,
bool  uses_heap_,
size_t  length_heap 
)
inlineprivate

◆ xpath_string() [2/2]

xpath_string::xpath_string ( )
inline

Member Function Documentation

◆ append()

void xpath_string::append ( const xpath_string o,
xpath_allocator alloc 
)
inline

◆ c_str()

const char_t* xpath_string::c_str ( ) const
inline

◆ data()

char_t* xpath_string::data ( xpath_allocator alloc)
inline

◆ duplicate_string()

static char_t* xpath_string::duplicate_string ( const char_t *  string,
size_t  length,
xpath_allocator alloc 
)
inlinestaticprivate

◆ empty()

bool xpath_string::empty ( ) const
inline

◆ from_const()

static xpath_string xpath_string::from_const ( const char_t *  str)
inlinestatic

◆ from_heap()

static xpath_string xpath_string::from_heap ( const char_t *  begin,
const char_t *  end,
xpath_allocator alloc 
)
inlinestatic

◆ from_heap_preallocated()

static xpath_string xpath_string::from_heap_preallocated ( const char_t *  begin,
const char_t *  end 
)
inlinestatic

◆ length()

size_t xpath_string::length ( ) const
inline

◆ operator!=()

bool xpath_string::operator!= ( const xpath_string o) const
inline

◆ operator==()

bool xpath_string::operator== ( const xpath_string o) const
inline

◆ uses_heap()

bool xpath_string::uses_heap ( ) const
inline

Member Data Documentation

◆ _buffer

const char_t* xpath_string::_buffer
private

◆ _length_heap

size_t xpath_string::_length_heap
private

◆ _uses_heap

bool xpath_string::_uses_heap
private

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