![]() |
My Project
|
#include <lintree.h>
Public Member Functions | |
| LinTree () | |
| LinTree (const LinTree &other) | |
| ~LinTree () | |
| LinTree (std::string &source) | |
| LinTree & | operator= (const LinTree &other) |
| void | rewind () |
| void | clear () |
| void | mark_error (const char *s) |
| int | has_error () |
| const char * | error_msg () |
| template<typename T > | |
| T | get () |
| template<typename T > | |
| T | get_prev () |
| template<typename T > | |
| void | put (T data) |
| template<typename T > | |
| void | skip () |
| int | get_int () |
| size_t | get_size () |
| void | put_int (int code) |
| void | skip_int () |
| const char * | get_bytes (size_t n) |
| const char * | get_addr () |
| void | put_bytes (char *p, size_t n) |
| char * | reserve_bytes (size_t n) |
| void | put_cstring (char *p) |
| const char * | get_cstring () |
| void | skip_cstring () |
| void | skip_bytes (size_t n) |
| std::string & | to_string () |
| void | set_last_ring (void *r) |
| int | has_last_ring () |
| void * | get_last_ring () |
Private Attributes | |
| std::string & | memory |
| size_t | cursor |
| const char * | error |
| void * | last_ring |
| LinTree::LinTree::LinTree | ( | ) |
Definition at line 882 of file lintree.cc.
| LinTree::LinTree::~LinTree | ( | ) |
Definition at line 907 of file lintree.cc.
| LinTree::LinTree::LinTree | ( | std::string & | source | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 900 of file lintree.cc.
|
inline |
|
inline |
|
inline |