Changeset 2805 in Sophya for trunk/SophyaLib/BaseTools/ppfbinstream.cc
- Timestamp:
- Jun 9, 2005, 6:20:00 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BaseTools/ppfbinstream.cc
r2664 r2805 52 52 //------------------------------------------------------------------------- 53 53 54 /*! 55 \class SOPHYA::PPFBinaryIOStream 56 \ingroup BaseTools 57 Base class for SOPHYA PPF input / output stream 58 */ 59 54 60 55 61 PPFBinaryIOStream::PPFBinaryIOStream() … … 68 74 } 69 75 76 //! Return the creation date/time of the associated stream as a string 70 77 string 71 78 PPFBinaryIOStream::CreationDateStr() … … 76 83 } 77 84 85 //! Return a string with information about the stream (creation-date, version ...) 78 86 string 79 87 PPFBinaryIOStream::InfoString() … … 95 103 96 104 105 //! Return the name tag number \b itag 97 106 string 98 107 PPFBinaryIOStream::GetTagName(int itag) … … 105 114 106 115 116 //! Return a reference to a vector<string> containing all name-tags associated with the stream 107 117 static vector<string> * ret_tag_names = NULL; 108 118 vector<string> const & … … 120 130 //------------------------------------------------------------------------- 121 131 132 /*! 133 \class SOPHYA::PPFBinaryInputStream 134 \ingroup BaseTools 135 PPF Input stream implementing read operations 136 */ 137 138 /*! Constructor from a RawInOutStream pointer 139 \param is : pointer to RawInOutStream 140 \param ad : if true, the RawInOutStream \b is is deleted by the destructor 141 \param scan : if true, try to read the name-tags table from the end of the input stream 142 */ 122 143 PPFBinaryInputStream::PPFBinaryInputStream(RawInOutStream * is, bool ad, bool scan) 123 144 { … … 127 148 } 128 149 129 //++ 150 /*! Constructor 151 \param flnm : input file name 152 \param scan : if true, try to read the name-tags table from the end of the input stream 153 */ 130 154 PPFBinaryInputStream::PPFBinaryInputStream(string const& flnm, bool scan) 131 155 // … … 995 1019 } 996 1020 997 1021 /*! Scans the streams and prints in text format to standard output (cout) the PPF 1022 stream content. 1023 \param lev : print level (level of details) = 0,1,2,3 1024 */ 998 1025 void 999 1026 PPFBinaryInputStream::AnalyseTags(int lev) … … 1225 1252 //-- 1226 1253 1254 /*! 1255 \class SOPHYA::PPFBinaryInputStream 1256 \ingroup BaseTools 1257 PPF output stream implementing write operations. The byte-ordering (endianess) 1258 of the output stream can be selected at creation. By default, the native endianness 1259 of the machine is used. 1260 */ 1261 1262 /*! Constructor from a RawInOutStream pointer 1263 \param os : pointer to RawInOutStream 1264 \param ad : if true, the RawInOutStream \b os is deleted by the destructor 1265 \param endianness : Endianness selector PPS_NATIVE PPS_LITTLE_ENDIAN PPS_BIG_ENDIAN 1266 */ 1227 1267 PPFBinaryOutputStream::PPFBinaryOutputStream(RawInOutStream* os, bool ad, int endianness) 1228 1268 { … … 1232 1272 } 1233 1273 1274 /*! Constructor 1275 \param flnm : output file name 1276 \param endianness : Endianness selector PPS_NATIVE PPS_LITTLE_ENDIAN PPS_BIG_ENDIAN 1277 */ 1234 1278 PPFBinaryOutputStream::PPFBinaryOutputStream(string const& flnm, int endianness) 1235 1279 {
Note:
See TracChangeset
for help on using the changeset viewer.