ncbi源码

源代码在线查看: object.cpp

软件大小: 13605 K
上传用户: lovely19891019
关键词: ncbi 源码
下载地址: 免注册下载 普通下载 VIP

相关代码

				/*				 * ===========================================================================				 * PRODUCTION $Log: object.cpp,v $				 * PRODUCTION Revision 1000.1  2004/06/01 19:40:39  gouriano				 * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.16				 * PRODUCTION				 * ===========================================================================				 */								/*  $Id: object.cpp,v 1000.1 2004/06/01 19:40:39 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 !!!				*				* ---------------------------------------------------------------------------				* $Log: object.cpp,v $				* Revision 1000.1  2004/06/01 19:40:39  gouriano				* PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.16				*				* Revision 1.16  2004/05/17 21:03:02  gorelenk				* Added include of PCH ncbi_pch.hpp				*				* Revision 1.15  2001/05/17 15:07:07  lavr				* Typos corrected				*				* Revision 1.14  2000/10/20 15:51:39  vasilche				* Fixed data error processing.				* Added interface for constructing container objects directly into output stream.				* object.hpp, object.inl and object.cpp were split to				* objectinfo.*, objecttype.*, objectiter.* and objectio.*.				*				* Revision 1.13  2000/10/17 18:45:34  vasilche				* Added possibility to turn off object cross reference detection in				* CObjectIStream and CObjectOStream.				*				* Revision 1.12  2000/10/13 16:28:39  vasilche				* Reduced header dependency.				* Avoid use of templates with virtual methods.				* Reduced amount of different maps used.				* All this lead to smaller compiled code size (libraries and programs).				*				* Revision 1.11  2000/10/03 17:22:43  vasilche				* Reduced header dependency.				* Reduced size of debug libraries on WorkShop by 3 times.				* Fixed tag allocation for parent classes.				* Fixed CObject allocation/deallocation in streams.				* Moved instantiation of several templates in separate source file.				*				* Revision 1.10  2000/09/26 19:24:57  vasilche				* Added user interface for setting read/write/copy hooks.				*				* Revision 1.9  2000/09/26 17:38:21  vasilche				* Fixed incomplete choiceptr implementation.				* Removed temporary comments.				*				* Revision 1.8  2000/09/18 20:00:23  vasilche				* Separated CVariantInfo and CMemberInfo.				* Implemented copy hooks.				* All hooks now are stored in CTypeInfo/CMemberInfo/CVariantInfo.				* Most type specific functions now are implemented via function pointers instead of virtual functions.				*				* Revision 1.7  2000/09/01 13:16:17  vasilche				* Implemented class/container/choice iterators.				* Implemented CObjectStreamCopier for copying data without loading into memory.				*				* Revision 1.6  2000/08/15 19:44:47  vasilche				* Added Read/Write hooks:				* CReadObjectHook/CWriteObjectHook for objects of specified type.				* CReadClassMemberHook/CWriteClassMemberHook for specified members.				* CReadChoiceVariantHook/CWriteChoiceVariant for specified choice variants.				* CReadContainerElementHook/CWriteContainerElementsHook for containers.				*				* Revision 1.5  2000/07/27 14:59:29  thiessen				* minor fix to avoid Mac compiler error				*				* Revision 1.4  2000/07/06 16:21:19  vasilche				* Added interface to primitive types in CObjectInfo & CConstObjectInfo.				*				* Revision 1.3  2000/07/03 18:42:44  vasilche				* Added interface to typeinfo via CObjectInfo and CConstObjectInfo.				* Reduced header dependency.				*				* Revision 1.2  2000/06/16 16:31:19  vasilche				* Changed implementation of choices and classes info to allow use of the same classes in generated and user written classes.				*				* Revision 1.1  2000/03/29 15:55:27  vasilche				* Added two versions of object info - CObjectInfo and CConstObjectInfo.				* Added generic iterators by class -				* 	CTypeIterator, CTypeConstIterator,				* 	CStdTypeIterator, CStdTypeConstIterator,				* 	CObjectsIterator and CObjectsConstIterator.				*				* ===========================================================================				*/								#include 				#include 				#include 				#include 				#include 				#include 				#include 				#include 				#include 				#include 				#include 				#include 								BEGIN_NCBI_SCOPE								END_NCBI_SCOPE							

相关资源