NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <serial/objistr.hpp>
#include <serial/serial.hpp>
#include <connect/ncbi_conn_stream.hpp>
#include <gui/objutils/label.hpp>
#include <gui/objutils/registry.hpp>
#include <gui/utils/id_generator.hpp>
#include <corelib/rwstream.hpp>
#include <serial/pack_string.hpp>
#include <serial/objostr.hpp>
#include <serial/iterator.hpp>
#include <objects/general/Dbtag.hpp>
#include <objects/general/Object_id.hpp>
#include <objects/seqfeat/Imp_feat.hpp>
#include <objects/seqfeat/Gb_qual.hpp>
#include <util/format_guess.hpp>
#include <corelib/ncbifile.hpp>
#include <gui/objects/GBProjectHandle.hpp>
#include <gui/objects/PluginMessage.hpp>
#include <objects/gbproj/LoaderDescriptor.hpp>
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
class | CReadHook_SkipError |
This class is intended to skip over plugin messages in gbench projects that do not meet the current spec for a plugin message. More... | |
class | CGBDocumentLabelHandler |
Typedefs | |
typedef pair< CFormatGuess::EFormat, ESerialDataFormat > | TSerialTypePair |
Functions | |
template<class ProjectType > | |
CRef< ProjectType > | ReadProject (CNcbiIstream &istr, const char *typeName, ICanceled *canceledCallback) |
Variables | |
static const TSerialTypePair | sc_DataTypes [] |
typedef pair<CFormatGuess::EFormat, ESerialDataFormat> TSerialTypePair |
Definition at line 107 of file GBProjectHandle.cpp.
CRef<ProjectType> ReadProject | ( | CNcbiIstream & | istr, |
const char * | typeName, | ||
ICanceled * | canceledCallback | ||
) |
Definition at line 116 of file GBProjectHandle.cpp.
References first(), CGuiRegistry::GetBool(), CFormatGuess::GetFormatName(), CGuiRegistry::GetInstance(), i, info, NCBI_CATCH, CObjectIStream::Open(), sc_DataTypes, and CObjectTypeInfo::SetLocalReadHook().
|
static |
Definition at line 108 of file GBProjectHandle.cpp.
Referenced by ReadProject(), and CProjectService::x_LoadWorkspace().