X-Git-Url: http://gitweb.hachti.de/?a=blobdiff_plain;f=pc-tools%2Fldc2%2Fsrc%2Ftape_block.cpp;h=9583465f638e63e5c1fed2f790575c27e4cd3a4e;hb=5e2538182c99ec053b457255722f704927a5f003;hp=f2e60d8b027f34053f5a86c3e3151d278fc2d2a2;hpb=4741aa72fcdfe52497013c7cbbeaa0bde9be3564;p=h316.git diff --git a/pc-tools/ldc2/src/tape_block.cpp b/pc-tools/ldc2/src/tape_block.cpp index f2e60d8..9583465 100644 --- a/pc-tools/ldc2/src/tape_block.cpp +++ b/pc-tools/ldc2/src/tape_block.cpp @@ -2,17 +2,21 @@ * * LDC2 source code * - * $Date: 2007/03/26 01:00:40 $ + * $Date: 2007/12/23 15:25:11 $ * $Author: hachti $ * * $Log: tape_block.cpp,v $ - * Revision 2.0 2007/03/26 01:00:40 hachti + * Revision 2.2 2007/12/23 15:25:11 hachti + * *** empty log message *** + * + * Revision 2.1 2007-03-26 03:20:31 hachti + * *** empty log message *** + * + * Revision 2.0 2007-03-26 01:00:40 hachti * *** empty log message *** * * ******************************************************************************/ - - #include #include @@ -158,8 +162,8 @@ int tape_block::get_discarded_bytes(){ /*! *\brief Access internal raw data buffer * - * The raw data buffer contains all block data except the \ \ - * block start delimiter and block end delimiter. + * The raw data buffer contains all block data except the + * block start and end delimiters. *\return Pointer to internal raw data buffer of the block */ unsigned char * tape_block::get_raw_data(){ @@ -226,6 +230,18 @@ vector tape_block::get_called_symbols(){ return result; } +/***************************************************************/ +/*! + *\brief Dump block contents + *\return A vector containing Information about the block's + * content. + */ +vector tape_block::dump_contents(){ + vector result; + result.insert(result.end(),"No known contents."); + return result; +} + /***************************************************************/ /*! *\brief Determine if the block has a known type. @@ -633,7 +649,7 @@ eof_legal_exception(int bytes_consumed){ /***************************************************************/ /*! *\brief Get amount of consumed data before EOF came along. - *\return Amound of bytes read from fd while looking for + *\return Amount of bytes read from fd while looking for * new block or EOF. */ int tape_block::eof_legal_exception::get_consumed(){