MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / ISstream

Class ISstream

src/OpenFOAM/db/IOstreams/Sstreams/ISstream.H:52–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50\*---------------------------------------------------------------------------*/
51
52class ISstream
53:
54 public Istream
55{
56 // Private data
57
58 fileName name_;
59 istream& is_;
60
61
62 // Private Member Functions
63
64 char nextValid();
65
66 void readWordToken(token&);
67
68 // Private Member Functions
69
70
71 //- Read a verbatim string (excluding block delimiters).
72 Istream& readVerbatim(string&);
73
74 //- Read a variable name (includes '{')
75 Istream& readVariable(string&);
76
77 //- Disallow default bitwise assignment
78 void operator=(const ISstream&);
79
80
81public:
82
83 // Constructors
84
85 //- Construct as wrapper around istream
86 inline ISstream
87 (
88 istream& is,
89 const string& name,
90 streamFormat format=ASCII,
91 versionNumber version=currentVersion,
92 compressionType compression=UNCOMPRESSED
93 );
94
95
96 //- Destructor
97 virtual ~ISstream()
98 {}
99
100
101 // Member functions
102
103 // Inquiry
104
105 //- Return the name of the stream
106 // Useful for Fstream to return the filename
107 virtual const fileName& name() const
108 {
109 return name_;

Callers 1

IFstream.CFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected