Sub-ranges of a string with a structure similar to std::match_results, but without the underlying regular expression matching. More...
Public Types | |
using | value_type = typename std::sub_match< typename StringType::const_iterator > |
using | string_iterator = typename StringType::const_iterator |
Public Member Functions | |
SubStrings ()=default | |
std::string::size_type | length () const |
void | append (const typename StringType::const_iterator &b, const typename StringType::const_iterator &e) |
auto | first () const -> decltype(this->front()) |
auto | last () const -> decltype(this->back()) |
StringType | str (size_t pos) const |
Sub-ranges of a string with a structure similar to std::match_results, but without the underlying regular expression matching.
Definition at line 57 of file CStringList.H.
using value_type = typename std::sub_match<typename StringType::const_iterator> |
Definition at line 55 of file SubStrings.H.
using string_iterator = typename StringType::const_iterator |
Definition at line 59 of file SubStrings.H.
|
default |
|
inline |
Definition at line 72 of file SubStrings.H.
|
inline |
Definition at line 86 of file SubStrings.H.
References Foam::constant::physicoChemical::b, Foam::constant::electromagnetic::e, and range.
Referenced by Foam::stringOps::split(), Foam::stringOps::splitAny(), and Foam::stringOps::splitFixed().
|
inline |
Definition at line 101 of file SubStrings.H.
|
inline |
Definition at line 108 of file SubStrings.H.
|
inline |
Definition at line 114 of file SubStrings.H.
References Foam::pos().
Referenced by STARCDsurfaceFormatCore::readInpCellTable().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.