strusAnalyzer  0.17
Static Public Member Functions | Public Attributes | List of all members
strus::PatternResultFormatChunk Struct Reference

Single chunk of a result format for iterating ans build the pattern match result. More...

#include <pattern_resultformat.hpp>

Static Public Member Functions

static bool parseNext (PatternResultFormatChunk &result, char const *&src, ErrorBufferInterface *errorhnd)
 \ brief Parse the next chunk in a mapped pattern match result value More...
 

Public Attributes

const char * value
 pointer to value (not 0-terminated) assigned to the chunk in case of a constant chunk More...
 
std::size_t valuesize
 size of value in bytes More...
 
int start_seg
 start segment in case of a chunk referencing content More...
 
int start_pos
 start position in case of a chunk referencing content More...
 
int end_seg
 end segment in case of a chunk referencing content More...
 
int end_pos
 end position in case of a chunk referencing content More...
 

Detailed Description

Single chunk of a result format for iterating ans build the pattern match result.

Member Function Documentation

static bool strus::PatternResultFormatChunk::parseNext ( PatternResultFormatChunk result,
char const *&  src,
ErrorBufferInterface *  errorhnd 
)
static

\ brief Parse the next chunk in a mapped pattern match result value

Member Data Documentation

int strus::PatternResultFormatChunk::end_pos

end position in case of a chunk referencing content

int strus::PatternResultFormatChunk::end_seg

end segment in case of a chunk referencing content

int strus::PatternResultFormatChunk::start_pos

start position in case of a chunk referencing content

int strus::PatternResultFormatChunk::start_seg

start segment in case of a chunk referencing content

const char* strus::PatternResultFormatChunk::value

pointer to value (not 0-terminated) assigned to the chunk in case of a constant chunk

std::size_t strus::PatternResultFormatChunk::valuesize

size of value in bytes


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