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 () | |
Construct null. More... | |
StringStreamAllocator (const std::string &buffer) | |
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 58 of file StringStream.H.
|
protected |
The stream type.
Definition at line 65 of file StringStream.H.
|
inlineprotected |
Construct null.
Definition at line 74 of file StringStream.H.
|
inlineprotected |
Copy construct from string.
Definition at line 81 of file StringStream.H.
|
inline |
Get the string - as Foam::string rather than std::string.
Definition at line 92 of file StringStream.H.
Referenced by Foam::addressToWord(), collatedFileOperation::appendObject(), commSchedule::commSchedule(), Foam::entryToString(), Foam::stringOps::evaluate(), GAMGSolver::GAMGSolver(), Foam::name(), entry::operator==(), blockMesh::patchDicts(), primitiveEntry::primitiveEntry(), decomposedBlockData::readBlocks(), Time::readDict(), masterUncollatedFileOperation::readStream(), codedFixedValueFvPatchField< Type >::redirectPatchField(), codedFixedValuePointPatchField< Type >::redirectPatchField(), codedMixedFvPatchField< Type >::redirectPatchField(), simpleObjectRegistry::setValues(), expressionEntry::toExprStr(), dictionary::tokens(), ITstream::toString(), and decomposedBlockData::writeData().
|
inline |
Set the string.
Definition at line 98 of file StringStream.H.
|
protected |
The input/output stream.
Definition at line 68 of file StringStream.H.
Referenced by StringStreamAllocator< std::istringstream >::str().