ENH: adjust return type for token compound factory method
- return autoPtr<token::compound> instead of the derived type, otherwise cannot easily construct a token from it ENH: additional typed version of refCompoundToken() - symmetric with typed version of transferCompoundToken() and isCompound() - add ITstream::findCompound<Type>() method. Useful for searching within token streams
Showing
- applications/test/token/Test-token.cxx 121 additions, 73 deletionsapplications/test/token/Test-token.cxx
- src/OpenFOAM/db/IOstreams/Tstreams/ITstream.H 12 additions, 1 deletionsrc/OpenFOAM/db/IOstreams/Tstreams/ITstream.H
- src/OpenFOAM/db/IOstreams/Tstreams/ITstreamI.H 52 additions, 0 deletionssrc/OpenFOAM/db/IOstreams/Tstreams/ITstreamI.H
- src/OpenFOAM/db/IOstreams/token/token.H 18 additions, 8 deletionssrc/OpenFOAM/db/IOstreams/token/token.H
- src/OpenFOAM/db/IOstreams/token/tokenI.H 18 additions, 1 deletionsrc/OpenFOAM/db/IOstreams/token/tokenI.H
- src/meshTools/mappedPatches/mappedPolyPatch/mappedPatchBaseTemplates.C 1 addition, 3 deletions.../mappedPatches/mappedPolyPatch/mappedPatchBaseTemplates.C
Please register or sign in to comment