LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
deeplima::segmentation::impl::CharReader< M > Class Template Reference

#include <deeplima/segmentation/impl/segmentation_decoder.h>

Inheritance diagram for deeplima::segmentation::impl::CharReader< M >:
deeplima::segmentation::impl::SegmentationDecoder

Public Member Functions

 CharReader ()
 
bool read (const char **pch, const char *end, uint8_t len)
 
bool not_empty () const
 
bool start_reading (const char **pch, const char *end, uint8_t len, std::vector< uint8_t > &dst, token_pos &tmp, bool inside)
 

Protected Attributes

char m_buff [M]
 
uint8_t m_buff_len
 

Detailed Description

template<uint8_t M = 4>
class deeplima::segmentation::impl::CharReader< M >

Definition at line 98 of file segmentation_decoder.h.

Constructor & Destructor Documentation

◆ CharReader()

template<uint8_t M = 4>
deeplima::segmentation::impl::CharReader< M >::CharReader ( )
inline

Definition at line 102 of file segmentation_decoder.h.

Member Function Documentation

◆ not_empty()

template<uint8_t M = 4>
bool deeplima::segmentation::impl::CharReader< M >::not_empty ( ) const
inline

Definition at line 129 of file segmentation_decoder.h.

◆ read()

template<uint8_t M = 4>
bool deeplima::segmentation::impl::CharReader< M >::read ( const char **  pch,
const char *  end,
uint8_t  len 
)
inline

Definition at line 108 of file segmentation_decoder.h.

◆ start_reading()

template<uint8_t M = 4>
bool deeplima::segmentation::impl::CharReader< M >::start_reading ( const char **  pch,
const char *  end,
uint8_t  len,
std::vector< uint8_t > &  dst,
token_pos &  tmp,
bool  inside 
)
inline

Definition at line 134 of file segmentation_decoder.h.

Member Data Documentation

◆ m_buff

template<uint8_t M = 4>
char deeplima::segmentation::impl::CharReader< M >::m_buff[M]
protected

Definition at line 178 of file segmentation_decoder.h.

◆ m_buff_len

template<uint8_t M = 4>
uint8_t deeplima::segmentation::impl::CharReader< M >::m_buff_len
protected

Definition at line 179 of file segmentation_decoder.h.


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