Public Member Functions | |
void | append (const xpath_string &o, xpath_allocator *alloc) |
const char_t * | c_str () const |
char_t * | data (xpath_allocator *alloc) |
bool | empty () const |
size_t | length () const |
bool | operator!= (const xpath_string &o) const |
bool | operator== (const xpath_string &o) const |
bool | uses_heap () const |
xpath_string () | |
Static Public Member Functions | |
static xpath_string | from_const (const char_t *str) |
static xpath_string | from_heap (const char_t *begin, const char_t *end, xpath_allocator *alloc) |
static xpath_string | from_heap_preallocated (const char_t *begin, const char_t *end) |
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 |
size_t | _length_heap |
bool | _uses_heap |
Definition at line 7676 of file pugixml.cpp.
|
inlineprivate |
Definition at line 7693 of file pugixml.cpp.
|
inline |
Definition at line 7723 of file pugixml.cpp.
|
inline |
Definition at line 7727 of file pugixml.cpp.
References _buffer, _uses_heap, length(), and xpath_allocator::reallocate().
Referenced by string_value().
|
inline |
Definition at line 7762 of file pugixml.cpp.
References pugi::xml_document::_buffer.
Referenced by xpath_ast_node::compare_eq(), xpath_ast_node::compare_rel(), xpath_ast_node::eval_boolean(), xpath_ast_node::eval_number(), and xpath_ast_node::eval_string().
|
inline |
Definition at line 7772 of file pugixml.cpp.
References pugi::xml_document::_buffer, and strlength().
Referenced by xpath_ast_node::eval_string().
|
inlinestaticprivate |
Definition at line 7682 of file pugixml.cpp.
References xpath_allocator::allocate().
|
inline |
Definition at line 7790 of file pugixml.cpp.
|
inlinestatic |
Definition at line 7698 of file pugixml.cpp.
Referenced by convert_number_to_string(), xpath_ast_node::eval_string(), and string_value().
|
inlinestatic |
Definition at line 7710 of file pugixml.cpp.
References pugi::xml_node::begin().
Referenced by xpath_ast_node::eval_string().
|
inlinestatic |
Definition at line 7703 of file pugixml.cpp.
Referenced by convert_number_to_string(), xpath_ast_node::eval_string(), and xpath_ast_node::eval_string_concat().
|
inline |
Definition at line 7767 of file pugixml.cpp.
References strlength().
Referenced by append(), xpath_ast_node::eval_number(), and xpath_ast_node::eval_string().
|
inline |
Definition at line 7800 of file pugixml.cpp.
References _buffer, and strequal().
|
inline |
Definition at line 7795 of file pugixml.cpp.
References _buffer, and strequal().
|
inline |
Definition at line 7805 of file pugixml.cpp.
References PUGI__NS_BEGIN, and PUGI__NS_END.
Referenced by xpath_ast_node::eval_string().
|
private |
Definition at line 7678 of file pugixml.cpp.
Referenced by append(), operator!=(), and operator==().
|
private |
Definition at line 7680 of file pugixml.cpp.
|
private |
Definition at line 7679 of file pugixml.cpp.
Referenced by append().