MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
载入中...
搜索中...
未找到
| Public 成员函数 | Public 属性 | 静态 Public 属性 | 所有成员列表
string_t结构体 参考

struct  Inlined
 

Public 成员函数

 string_t (uint32_t len)
 
 string_t (const char *data, uint32_t len)
 
void init (const char *data, uint32_t len)
 
void reset ()
 
 string_t (const char *data)
 
 string_t (const string &value)
 
bool is_inlined () const
 
const char * data () const
 
char * get_data_writeable () const
 
int size () const
 
bool empty () const
 
string get_string () const
 
bool operator== (const string_t &r) const
 
bool operator!= (const string_t &r) const
 
bool operator> (const string_t &r) const
 
bool operator< (const string_t &r) const
 

Public 属性

union {
   struct {
      uint32_t   length
 
      char *   ptr
 
   }   pointer
 
   Inlined   inlined
 
value
 

静态 Public 属性

static constexpr int INLINE_LENGTH = 12
 

该结构体的文档由以下文件生成: