OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
StringView Struct Reference

#include <Datum.h>

Public Member Functions

std::string_view stringView () const
 

Public Attributes

char const * ptr_
 
uint64_t len_
 

Detailed Description

Definition at line 41 of file Datum.h.

Member Function Documentation

std::string_view StringView::stringView ( ) const
inline

Definition at line 46 of file Datum.h.

References len_, and ptr_.

Referenced by string_compress().

46  {
47  return {ptr_, len_};
48  }
uint64_t len_
Definition: Datum.h:43
char const * ptr_
Definition: Datum.h:42

+ Here is the caller graph for this function:

Member Data Documentation

uint64_t StringView::len_

Definition at line 43 of file Datum.h.

Referenced by stringView().

char const* StringView::ptr_

Definition at line 42 of file Datum.h.

Referenced by stringView().


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