🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
ast::strings_internal::Splitter< Delimiter, Predicate, StringType > 模板类 参考

#include <StringSplitter.hpp>

class  Iterator
 

Public 成员函数

 Splitter (StringView text, Delimiter delimiter, Predicate predicate)
 
Iterator begin () const
 
Iterator end () const
 
template<typename Container >
 operator Container () const
 
 operator std::vector< std::string > () const
 
 operator std::vector< StringView > () const
 

详细描述

template<typename Delimiter, typename Predicate, typename StringType = StringView>
class ast::strings_internal::Splitter< Delimiter, Predicate, StringType >

字符串分隔器

该类用于将字符串 text 按照分隔符 delimiter 进行分割, 并根据分割条件 predicate 进行筛选。

模板参数
Delimiter- 分隔符类型
Predicate- 分割条件类型
StringType- 字符串类型

该类的文档由以下文件生成: