FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::internal::StringSplitter Class Reference

#include <compat.h>

Public Types

using const_iterator = std::vector< std::string_view >::const_iterator
 
using value_type = std::string_view
 

Public Member Functions

 StringSplitter (std::string_view string, std::string delim, bool skip_empty=false)
 
 operator std::vector< std::string_view > ()&&
 
 operator std::vector< std::string > ()
 
const_iterator begin () const
 
const_iterator end () const
 

Detailed Description

Definition at line 218 of file compat.h.

Member Typedef Documentation

using fst::internal::StringSplitter::const_iterator = std::vector<std::string_view>::const_iterator

Definition at line 220 of file compat.h.

Definition at line 221 of file compat.h.

Constructor & Destructor Documentation

fst::internal::StringSplitter::StringSplitter ( std::string_view  string,
std::string  delim,
bool  skip_empty = false 
)
inline

Definition at line 223 of file compat.h.

Member Function Documentation

const_iterator fst::internal::StringSplitter::begin ( ) const
inline

Definition at line 241 of file compat.h.

const_iterator fst::internal::StringSplitter::end ( ) const
inline

Definition at line 242 of file compat.h.

fst::internal::StringSplitter::operator std::vector< std::string > ( )
inline

Definition at line 236 of file compat.h.

fst::internal::StringSplitter::operator std::vector< std::string_view > ( )
inline

Definition at line 231 of file compat.h.


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