#include <MCFTPheader.h>
Collaboration diagram for MCFTPheader:

|
|
Definition at line 103 of file MCFTPheader.h.
|
|
|
Definition at line 110 of file MCFTPheader.h.
|
|
|
Definition at line 117 of file MCFTPheader.h.
|
|
|
Definition at line 224 of file MCFTPheader.h.
00224 { return _author; }
|
|
|
Definition at line 75 of file MCFTPheader.cpp. References MCFheader._author, MCFheader._descript, _id, MCFheader._mcfsizeb, _mcftpsizeb, MCFheader._release, MCFheader._revision, MCFheader._tag, and MCFheader._version.
|
|
|
Definition at line 60 of file MCFTPheader.cpp. References _author, _descript, _id, _mcftpsizeb, _release, _revision, _tag, and _version. Referenced by operator=().
00061 {
00062 if ( this != &rhs ) {
00063 _tag = rhs._tag;
00064 _id = rhs._id;
00065 _mcftpsizeb = rhs._mcftpsizeb;
00066 _version = rhs._version;
00067 _revision = rhs._revision;
00068 _release = rhs._release;
00069 _author = rhs._author;
00070 _descript = rhs._descript;
00071 }
00072 return *this;
00073 }
|
|
|
Definition at line 230 of file MCFTPheader.h.
00230 { return _descript; }
|
|
|
Definition at line 209 of file MCFTPheader.h. References _id.
00209 { return _id; }
|
|
|
Definition at line 88 of file MCFTPheader.cpp. References _author, _descript, _id, _mcftpsizeb, _release, _revision, _tag, and _version. Referenced by operator!=(), and operator==().
00089 {
00090 if ( this != &rhs ) {
00091 if ( _tag != rhs._tag ) return false;
00092 if ( _id != rhs._id ) return false;
00093 if ( _mcftpsizeb != rhs._mcftpsizeb ) return false;
00094 if ( _version != rhs._version ) return false;
00095 if ( _revision != rhs._revision ) return false;
00096 if ( _release != rhs._release ) return false;
00097 if ( _author != rhs._author ) return false;
00098 if ( _descript != rhs._descript ) return false;
00099 }
00100 return true;
00101 }
|
|
|
Definition at line 212 of file MCFTPheader.h. References _mcftpsizeb.
00212 { return _mcftpsizeb; }
|
|
|
Definition at line 142 of file MCFTPheader.h. References is_equal().
00143 {
00144 return !is_equal(rhs);
00145 }
|
|
|
Definition at line 47 of file MCFTPheader.cpp. References _author, _descript, _id, _mcftpsizeb, _release, _revision, _tag, and _version.
|
|
|
Definition at line 34 of file MCFTPheader.cpp. References MCFheader._author, MCFheader._descript, _id, _mcftpsizeb, MCFheader._release, MCFheader._revision, MCFheader._tag, and MCFheader._version.
|
|
|
Definition at line 21 of file MCFTPheader.cpp. References _id, and _mcftpsizeb.
|
|
|
Definition at line 162 of file MCFTPheader.h. References write().
00163 {
00164 write(is);
00165 return *this;
00166 }
|
|
|
Definition at line 148 of file MCFTPheader.h. References write().
00149 {
00150 write(buffer);
00151 return *this;
00152 }
|
|
|
Definition at line 130 of file MCFTPheader.h. References copy().
00131 {
00132 return copy(rhs);
00133 }
|
|
|
Definition at line 124 of file MCFTPheader.h. References copy().
00125 {
00126 return copy(rhs);
00127 }
|
|
|
Definition at line 136 of file MCFTPheader.h. References is_equal().
00137 {
00138 return is_equal(rhs);
00139 }
|
|
|
Definition at line 169 of file MCFTPheader.h. References read().
00170 {
00171 read(os);
00172 return *this;
00173 }
|
|
|
Definition at line 155 of file MCFTPheader.h. References read().
00156 {
00157 read(buffer);
00158 return *this;
00159 }
|
|
|
Definition at line 149 of file MCFTPheader.cpp. References _id, and _mcftpsizeb.
00150 {
00151 bytepack bp;
00152 for( int i = 0; i < 8; ++i ) os.put( _tag[i] );
00153 os << _id;
00154 os << bp( _mcftpsizeb, 4 );
00155 os << bp( _version, 1 );
00156 os << bp( _revision, 1 );
00157 os << bp( _release, 1 );
00158 os << bp( _author, 1 );
00159 os << bp( int(_descript.size()), 1 );
00160 for(unsigned int i = 0; i < _descript.size(); ++i) os.put(_descript[i]);
00161 }
|
|
|
Definition at line 119 of file MCFTPheader.cpp. References _id, _mcftpsizeb, and BufferBase.put(). Referenced by operator<<(), and operator>>().
00120 {
00121 bytepack bp;
00122 for( int i = 0; i < 8; ++i ) buffer.put( _tag[i] );
00123 buffer << _id;
00124 buffer << bp( _mcftpsizeb, 4 );
00125 buffer << bp( _version, 1 );
00126 buffer << bp( _revision, 1 );
00127 buffer << bp( _release, 1 );
00128 buffer << bp( _author, 1 );
00129 buffer << bp( int(_descript.size()), 1 );
00130 for(unsigned int i = 0; i < _descript.size(); ++i) buffer.put(_descript[i]);
00131 }
|
|
|
Definition at line 221 of file MCFTPheader.h.
00221 { return _release; }
|
|
|
Definition at line 163 of file MCFTPheader.cpp. References _id, _mcftpsizeb, and MCFTPid.report().
00164 {
00165 os << "MCFTPheader::report(){\n";
00166 os << "tag = |" << _tag << "|;\n";
00167 os << "id =\n";
00168 _id.report();
00169 os << "mcftpsizeb = " << _mcftpsizeb << '\n';
00170 os << "version = " << _version << '\n';
00171 os << "revision = " << _revision << '\n';
00172 os << "release = " << _release << '\n';
00173 os << "author = " << _author << '\n';
00174 os << "descript.size() = " << _descript.size() << '\n';
00175 os << "descript = |" << _descript << "|\n";
00176 os << "}\n";
00177 }
|
|
|
Definition at line 218 of file MCFTPheader.h.
00218 { return _revision; }
|
|
|
Definition at line 197 of file MCFTPheader.h.
00197 { _author = author; }
|
|
|
Definition at line 203 of file MCFTPheader.h.
00203 { _descript = descript; }
|
|
|
Definition at line 200 of file MCFTPheader.h.
00200 { _descript = descript; }
|
|
|
Definition at line 182 of file MCFTPheader.h. References _id.
00182 { _id = id; }
|
|
|
Definition at line 185 of file MCFTPheader.h. References _mcftpsizeb. Referenced by MCFTPmssg.MCFTPmssg(), MCFTPmssg.mcftpsizeb(), and MCFTPmssg.read().
00185 { _mcftpsizeb = mcftpsizeb; }
|
|
|
Definition at line 194 of file MCFTPheader.h.
00194 { _release = release; }
|
|
|
Definition at line 191 of file MCFTPheader.h.
00191 { _revision = revision; }
|
|
|
Definition at line 179 of file MCFTPheader.h.
00179 { _tag = tag; }
|
|
|
Definition at line 176 of file MCFTPheader.h.
00176 { _tag = tag; }
|
|
|
Definition at line 188 of file MCFTPheader.h.
00188 { _version = version; }
|
|
|
Definition at line 233 of file MCFTPheader.h. Referenced by MCFTPmssg.mcftpsizeb().
00233 { return 33 + _descript.size(); }
|
|
|
Definition at line 206 of file MCFTPheader.h.
00206 { return _tag; }
|
|
|
Definition at line 215 of file MCFTPheader.h.
00215 { return _version; }
|
|
|
Definition at line 133 of file MCFTPheader.cpp. References _id, and _mcftpsizeb.
00134 {
00135 bytepack bp;
00136 _tag = "";
00137 for( int i = 0; i < 8; ++i ) _tag += is.get();
00138 is >> _id;
00139 is >> bp( 0, 4 ); _mcftpsizeb = int(bp);
00140 is >> bp( 0, 1 ); _version = int(bp);
00141 is >> bp( 0, 1 ); _revision = int(bp);
00142 is >> bp( 0, 1 ); _release = int(bp);
00143 is >> bp( 0, 1 ); _author = int(bp);
00144 is >> bp( 0, 1 ); int descriptsize = int(bp);
00145 _descript = "";
00146 for( int i = 0; i < descriptsize; ++i ) _descript += is.get();
00147 }
|
|
|
Definition at line 103 of file MCFTPheader.cpp. References _id, _mcftpsizeb, and BufferBase.get(). Referenced by operator<<(), and operator>>().
00104 {
00105 bytepack bp;
00106 _tag = "";
00107 for( int i = 0; i < 8; ++i ) _tag += buffer.get();
00108 buffer >> _id;
00109 buffer >> bp( 0, 4 ); _mcftpsizeb = int(bp);
00110 buffer >> bp( 0, 1 ); _version = int(bp);
00111 buffer >> bp( 0, 1 ); _revision = int(bp);
00112 buffer >> bp( 0, 1 ); _release = int(bp);
00113 buffer >> bp( 0, 1 ); _author = int(bp);
00114 buffer >> bp( 0, 1 ); int descriptsize = int(bp);
00115 _descript = "";
00116 for( int i = 0; i < descriptsize; ++i ) _descript += buffer.get();
00117 }
|
|
|
Definition at line 90 of file MCFTPheader.h. |
|
||||||||||||
|
Definition at line 193 of file MCFTPheader.cpp.
00194 {
00195 header.read(os);
00196 return os;
00197 }
|
|
||||||||||||
|
Definition at line 181 of file MCFTPheader.cpp.
00182 {
00183 header.read(buffer);
00184 return buffer;
00185 }
|
|
||||||||||||
|
Definition at line 199 of file MCFTPheader.cpp.
00200 {
00201 header.write(is);
00202 return is;
00203 }
|
|
||||||||||||
|
Definition at line 187 of file MCFTPheader.cpp.
00188 {
00189 header.write(buffer);
00190 return buffer;
00191 }
|
|
|
Definition at line 87 of file MCFTPheader.h. Referenced by copy(), MCFheader.copy(), is_equal(), operator()(), and MCFheader.operator()(). |
|
|
Definition at line 88 of file MCFTPheader.h. Referenced by copy(), MCFheader.copy(), is_equal(), operator()(), and MCFheader.operator()(). |
|
|
Definition at line 82 of file MCFTPheader.h. Referenced by copy(), id(), is_equal(), operator()(), read(), report(), set_id(), and write(). |
|
|
Definition at line 83 of file MCFTPheader.h. Referenced by copy(), MCFheader.copy(), is_equal(), mcftpsizeb(), operator()(), MCFheader.operator()(), read(), report(), set_mcftpsizeb(), and write(). |
|
|
Definition at line 86 of file MCFTPheader.h. Referenced by copy(), MCFheader.copy(), is_equal(), operator()(), and MCFheader.operator()(). |
|
|
Definition at line 85 of file MCFTPheader.h. Referenced by copy(), MCFheader.copy(), is_equal(), operator()(), and MCFheader.operator()(). |
|
|
Definition at line 81 of file MCFTPheader.h. Referenced by copy(), MCFheader.copy(), is_equal(), and operator()(). |
|
|
Definition at line 84 of file MCFTPheader.h. Referenced by copy(), MCFheader.copy(), is_equal(), operator()(), and MCFheader.operator()(). |
1.3.6