ENH: make treatment of stream allocators more uniform (issue #532)
- use allocator class to wrap the stream pointers instead of passing them into ISstream, OSstream and using a dynamic cast to delete then. This is especially important if we will have a bidirectional stream (can't delete twice!). STYLE: - file stream constructors with std::string (C++11) - for rewind, explicit about in|out direction. This is not currently important, but avoids surprises with any future bidirectional access. - combined string streams in StringStream.H header. Similar to <sstream> include that has both input and output string streams.
Showing
- applications/test/CompactListList/Test-CompactListList.C 1 addition, 2 deletionsapplications/test/CompactListList/Test-CompactListList.C
- applications/test/HashTable/Test-hashTable.C 1 addition, 2 deletionsapplications/test/HashTable/Test-hashTable.C
- applications/test/IStringStream/Test-IStringStream.C 1 addition, 1 deletionapplications/test/IStringStream/Test-IStringStream.C
- applications/test/List/Test-List.C 1 addition, 1 deletionapplications/test/List/Test-List.C
- applications/test/OStringStream/Test-OStringStream.C 21 additions, 10 deletionsapplications/test/OStringStream/Test-OStringStream.C
- applications/test/PackedList4/Test-PackedList4.C 1 addition, 1 deletionapplications/test/PackedList4/Test-PackedList4.C
- applications/test/Polynomial/Test-Polynomial.C 1 addition, 1 deletionapplications/test/Polynomial/Test-Polynomial.C
- applications/test/StaticHashTable/Test-staticHashTable.C 1 addition, 2 deletionsapplications/test/StaticHashTable/Test-staticHashTable.C
- applications/test/findCell-octree/Test-findCell-octree.C 0 additions, 1 deletionapplications/test/findCell-octree/Test-findCell-octree.C
- applications/test/findSphereFeatureEdges-octree/Test-findSphereFeatureEdges-octree.C 0 additions, 1 deletion...eFeatureEdges-octree/Test-findSphereFeatureEdges-octree.C
- applications/test/globalIndex/Test-globalIndex.C 0 additions, 2 deletionsapplications/test/globalIndex/Test-globalIndex.C
- applications/test/prefixOSstream/Test-prefixOSstream.C 17 additions, 23 deletionsapplications/test/prefixOSstream/Test-prefixOSstream.C
- applications/test/router/Test-processorRouter.C 1 addition, 3 deletionsapplications/test/router/Test-processorRouter.C
- applications/test/sha1/Test-SHA1.C 1 addition, 1 deletionapplications/test/sha1/Test-SHA1.C
- applications/test/sizeof/Test-sizeof.C 0 additions, 1 deletionapplications/test/sizeof/Test-sizeof.C
- applications/test/stringList/Test-stringList.C 12 additions, 17 deletionsapplications/test/stringList/Test-stringList.C
- applications/test/tokenize/Test-tokenize.C 1 addition, 1 deletionapplications/test/tokenize/Test-tokenize.C
- applications/test/xfer/Test-xferList.C 0 additions, 1 deletionapplications/test/xfer/Test-xferList.C
- applications/utilities/mesh/conversion/ansysToFoam/ansysToFoam.L 3 additions, 4 deletions...tions/utilities/mesh/conversion/ansysToFoam/ansysToFoam.L
- applications/utilities/mesh/conversion/datToFoam/datToFoam.C 1 addition, 1 deletionapplications/utilities/mesh/conversion/datToFoam/datToFoam.C
Please register or sign in to comment