Allocator for variants of a std stringstream. More...


Public Member Functions | |
| Foam::string | str () const |
| Get the string - as Foam::string rather than std::string. More... | |
| void | str (const std::string &s) |
| Set the string. More... | |
Protected Types | |
| typedef StreamType | stream_type |
| The stream type. More... | |
Protected Member Functions | |
| StringStreamAllocator ()=default | |
| Default construct. More... | |
| StringStreamAllocator (const std::string &s) | |
| Copy construct from string. More... | |
Protected Attributes | |
| stream_type | stream_ |
| The input/output stream. More... | |
Allocator for variants of a std stringstream.
Definition at line 56 of file StringStream.H.
|
protected |
The stream type.
Definition at line 65 of file StringStream.H.
|
protecteddefault |
Default construct.
|
inlineprotected |
Copy construct from string.
Definition at line 83 of file StringStream.H.
|
inline |
Get the string - as Foam::string rather than std::string.
Definition at line 96 of file StringStream.H.
Referenced by Foam::entryToString(), Foam::name(), entry::operator==(), expressionEntry::toExprStr(), accessor::toString(), ITstream::toString(), and decomposedBlockData::writeBlockEntry().

|
inline |
Set the string.
Definition at line 104 of file StringStream.H.
|
protected |
The input/output stream.
Definition at line 70 of file StringStream.H.
Referenced by StringStreamAllocator< std::istringstream >::str().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.