Groonga 3.0.9 Source Code Document
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Static Public Member Functions
Key Class Reference

#include <key.hpp>

Public Member Functions

const UInt8operator[] (UInt32 i) const
bool is_valid () const
String str () const
const void * ptr () const
UInt32 length () const
UInt32 id () const
bool equals_to (const void *ptr, UInt32 length, UInt32 offset=0) const

Static Public Member Functions

static const Keycreate (UInt32 *buf, UInt32 key_id, const void *key_ptr, UInt32 key_length)
static UInt32 estimate_size (UInt32 length)
static const Keyinvalid_key ()

Detailed Description

Definition at line 26 of file key.hpp.

Member Function Documentation

static const Key& create ( UInt32 buf,
UInt32  key_id,
const void *  key_ptr,
UInt32  key_length 
)
inlinestatic

Definition at line 65 of file key.hpp.

Here is the caller graph for this function:

bool equals_to ( const void *  ptr,
UInt32  length,
UInt32  offset = 0 
) const
inline

Definition at line 51 of file key.hpp.

static UInt32 estimate_size ( UInt32  length)
inlinestatic

Definition at line 83 of file key.hpp.

Here is the caller graph for this function:

UInt32 id ( ) const
inline

Definition at line 47 of file key.hpp.

Here is the caller graph for this function:

static const Key& invalid_key ( )
inlinestatic

Definition at line 88 of file key.hpp.

Here is the caller graph for this function:

bool is_valid ( ) const
inline

Definition at line 33 of file key.hpp.

UInt32 length ( ) const
inline

Definition at line 44 of file key.hpp.

Here is the caller graph for this function:

const UInt8& operator[] ( UInt32  i) const
inline

Definition at line 28 of file key.hpp.

const void* ptr ( ) const
inline

Definition at line 41 of file key.hpp.

Here is the caller graph for this function:

String str ( ) const
inline

Definition at line 37 of file key.hpp.

Here is the caller graph for this function:


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