msvc_dlls_info.hpp

来自「ncbi源码」· HPP 代码 · 共 137 行

HPP
137
字号
/* * =========================================================================== * PRODUCTION $Log: msvc_dlls_info.hpp,v $ * PRODUCTION Revision 1000.1  2004/06/16 17:04:48  gouriano * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.7 * PRODUCTION * =========================================================================== */#ifndef PROJECT_TREE_BULDER__MSVC_DLLS_INDO__HPP#define PROJECT_TREE_BULDER__MSVC_DLLS_INDO__HPP/* $Id: msvc_dlls_info.hpp,v 1000.1 2004/06/16 17:04:48 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:  Viatcheslav Gorelenkov * */#include <app/project_tree_builder/msvc_prj_utils.hpp>#include <corelib/ncbireg.hpp>#include <list>#include <set>#include <app/project_tree_builder/proj_tree.hpp>#include <corelib/ncbienv.hpp>BEGIN_NCBI_SCOPEclass CMsvcDllsInfo{public:    CMsvcDllsInfo(const string& file_path);    ~CMsvcDllsInfo(void);        void GetDllsList      (list<string>*      dlls_ids) const;    void GetBuildConfigs  (list<SConfigInfo>* config)   const;    string GetBuildDefine (void) const;    struct SDllInfo    {        list<string> m_Hosting;        list<string> m_Depends;        string       m_DllDefine;        bool IsEmpty(void) const;        void Clear  (void);    };    void GetDllInfo(const string& dll_id, SDllInfo* dll_info) const;    bool   IsDllHosted(const string& lib_id) const;    string GetDllHost (const string& lib_id) const; private:    CNcbiRegistry m_Registry;    //no value-type semantics    CMsvcDllsInfo(void);    CMsvcDllsInfo(const CMsvcDllsInfo&);    CMsvcDllsInfo& operator= (const CMsvcDllsInfo&);};void FilterOutDllHostedProjects(const CProjectItemsTree& tree_src,                                 CProjectItemsTree*       tree_dst);void CreateDllBuildTree(const CProjectItemsTree& tree_src,                         CProjectItemsTree*       tree_dst);void CreateDllsList(const CProjectItemsTree& tree_src,                    list<string>*            dll_ids);void CollectDllsDepends(const list<string>& dll_ids,                        list<string>*       dll_depends_ids);END_NCBI_SCOPE/* * =========================================================================== * $Log: msvc_dlls_info.hpp,v $ * Revision 1000.1  2004/06/16 17:04:48  gouriano * PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.7 * * Revision 1.7  2004/06/10 15:12:55  gorelenk * Added newline at the file end to avoid GCC warning. * * Revision 1.6  2004/06/07 13:45:39  gorelenk * Class CMsvcDllsInfo separated from application config. * * Revision 1.5  2004/03/15 21:22:44  gorelenk * Added declaration of function CollectDllsDepends. * * Revision 1.4  2004/03/10 16:36:03  gorelenk * Added definition of functions FilterOutDllHostedProjects, * CreateDllBuildTree and CreateDllsList. * * Revision 1.3  2004/03/08 23:27:40  gorelenk * Added declarations of member-functions  IsDllHosted, * GetDllHost, GetLibPrefixes to class CMsvcDllsInfo. * * Revision 1.2  2004/03/03 22:17:33  gorelenk * Added declaration of class CMsvcDllsInfo. * * Revision 1.1  2004/03/03 17:08:32  gorelenk * Initial revision. * * =========================================================================== */#endif //PROJECT_TREE_BULDER__MSVC_DLLS_INDO__HPP

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?