objstrb.hpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:4k
- /*
- * ===========================================================================
- * PRODUCTION $Log: objstrb.hpp,v $
- * PRODUCTION Revision 1000.0 2003/10/29 17:28:52 gouriano
- * PRODUCTION PRODUCTION: IMPORTED [ORIGINAL] Dev-tree R1.11
- * PRODUCTION
- * ===========================================================================
- */
- #ifndef OBJSTRB__HPP
- #define OBJSTRB__HPP
- /* $Id: objstrb.hpp,v 1000.0 2003/10/29 17:28:52 gouriano Exp $
- * ===========================================================================
- *
- * PUBLIC DOMAIN NOTICE
- * National Center for Biotechnology Information
- *
- * This software/database is a "United States Government Work" under the
- * terms of the United States Copyright Act. It was written as part of
- * the author's official duties as a United States Government employee and
- * thus cannot be copyrighted. This software/database is freely available
- * to the public for use. The National Library of Medicine and the U.S.
- * Government have not placed any restriction on its use or reproduction.
- *
- * Although all reasonable efforts have been taken to ensure the accuracy
- * and reliability of the software and data, the NLM and the U.S.
- * Government do not and cannot warrant the performance or results that
- * may be obtained by using this software or data. The NLM and the U.S.
- * Government disclaim all warranties, express or implied, including
- * warranties of performance, merchantability or fitness for any particular
- * purpose.
- *
- * Please cite the author in any work or product based on this material.
- *
- * ===========================================================================
- *
- * Author: Eugene Vasilchenko
- *
- * File Description:
- * !!! PUT YOUR DESCRIPTION HERE !!!
- */
- #include <corelib/ncbistd.hpp>
- /** @addtogroup ObjStreamSupport
- *
- * @{
- */
- BEGIN_NCBI_SCOPE
- namespace CObjectStreamBinaryDefs
- {
- enum {
- eNull = 0,
- eStd_char = 0xC0, // char
- eStd_ubyte, // unsigned char or any with sizeof() == 1
- eStd_sbyte, // signed char or any with sizeof() == 1
- eStd_uordinal, // any unsigned
- eStd_sordinal, // any signed
- eStd_string, // string
- eStd_float, // float, double, long double
- eStd_false,
- eStd_true,
- eBlock = 0xE0,
- eObjectReference,
- eMemberReference,
- eThisClass,
- eOtherClass,
- eElement,
- eEndOfElements,
- eBytes,
- eMember
- };
- }
- /* @} */
- //#include <objstrb.inl>
- END_NCBI_SCOPE
- #endif /* OBJSTRB__HPP */
- /* ---------------------------------------------------------------------------
- * $Log: objstrb.hpp,v $
- * Revision 1000.0 2003/10/29 17:28:52 gouriano
- * PRODUCTION: IMPORTED [ORIGINAL] Dev-tree R1.11
- *
- * Revision 1.11 2003/04/15 16:18:36 siyan
- * Added doxygen support
- *
- * Revision 1.10 2003/03/26 16:13:33 vasilche
- * Removed TAB symbols. Some formatting.
- *
- * Revision 1.9 2002/12/23 18:38:51 dicuccio
- * Added WIn32 export specifier: NCBI_XSERIAL_EXPORT.
- * Moved all CVS logs to the end.
- *
- * Revision 1.8 1999/07/26 18:31:31 vasilche
- * Implemented skipping of unused values.
- * Added more useful error report.
- *
- * Revision 1.7 1999/07/21 14:20:01 vasilche
- * Added serialization of bool.
- *
- * Revision 1.6 1999/07/09 20:27:02 vasilche
- * Fixed some bugs
- *
- * Revision 1.5 1999/07/09 16:32:54 vasilche
- * Added OCTET STRING write/read.
- *
- * Revision 1.4 1999/06/15 16:20:05 vasilche
- * Added ASN.1 object output stream.
- *
- * Revision 1.3 1999/06/10 21:06:41 vasilche
- * Working binary output and almost working binary input.
- *
- * Revision 1.2 1999/06/04 20:51:36 vasilche
- * First compilable version of serialization.
- *
- * Revision 1.1 1999/05/19 19:56:27 vasilche
- * Commit just in case.
- *
- * ===========================================================================
- */