NCBI C++ ToolKit
Classes | Typedefs | Functions | Variables
gbproject_tool.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbifile.hpp>
#include <corelib/ncbiapp.hpp>
#include <corelib/ncbienv.hpp>
#include <corelib/ncbiargs.hpp>
#include <serial/objistr.hpp>
#include <serial/objostr.hpp>
#include <serial/serial.hpp>
#include <objtools/readers/gff3_reader.hpp>
#include <objects/seq/Annotdesc.hpp>
#include <objects/seq/Annot_descr.hpp>
#include <objects/seq/NCBI_Sequence_module.hpp>
#include <objects/seqtable/NCBI_SeqTable_module.hpp>
#include <gui/objects/GBProjectHandle.hpp>
#include <objects/gbproj/GBProject_ver2.hpp>
#include <objects/gbproj/ProjectDescr.hpp>
#include <objects/gbproj/ProjectFolder.hpp>
#include <objects/gbproj/FolderInfo.hpp>
#include <objects/gbproj/ProjectItem.hpp>
#include <gui/objutils/label.hpp>
#include <objects/general/Date.hpp>
#include <objmgr/scope.hpp>
#include <objtools/simple/simple_om.hpp>
#include <objtools/data_loaders/genbank/gbloader.hpp>
#include "fileloader.hpp"
#include "projectfilewriter.hpp"
+ Include dependency graph for gbproject_tool.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.


class  CGBProjectTool


typedef CFormatGuess::EFormat EFormat


 USING_SCOPE (objects)
static void s_ScopeProjectFolder (const CProjectFolder &folder)
static void s_ExpandProjectFolder (const CProjectFolder &folder, CDir &parentDir, EFormat format, int level=0)
bool s_Compare_DirEntry_ModDate (CDirEntry *A, CDirEntry *B)
static string s_GetAlignTitle (const CSeq_align &align, CScope &scope)
static void s_CollapseProjectFolder (CScope &scope, CGBProjectHandle &project, CProjectFolder &folder, CDir &dir)
CRef< CProjectFolders_GetOrCreateFolder (CGBProjectHandle &project, CProjectFolder &parent_folder, const string &folder_name, bool top=true)
static void s_ListProjectFolder (const CProjectFolder &folder, CNcbiOstream &ostr, int level=0)
static void s_RemoveItem (CGBProjectHandle &project, CProjectFolder &folder, const string &label)
static void s_RemoveFolder (CGBProjectHandle &project, CProjectFolder &folder, const string &label)
int NcbiSys_main (int argc, ncbi::TXChar *argv[])


unique_ptr< CProjectFileWriterWriter

Typedef Documentation

◆ EFormat

Definition at line 63 of file gbproject_tool.cpp.

Function Documentation

◆ NcbiSys_main()

int NcbiSys_main ( int  argc,
ncbi::TXChar argv[] 

Definition at line 869 of file gbproject_tool.cpp.

References CNcbiApplicationAPI::AppMain().

◆ s_CollapseProjectFolder()

static void s_CollapseProjectFolder ( CScope scope,
CGBProjectHandle project,
CProjectFolder folder,
CDir dir 

◆ s_Compare_DirEntry_ModDate()

bool s_Compare_DirEntry_ModDate ( CDirEntry A,
CDirEntry B 

Definition at line 247 of file gbproject_tool.cpp.

References CDirEntry::GetTimeT().

Referenced by s_CollapseProjectFolder().

◆ s_ExpandProjectFolder()

static void s_ExpandProjectFolder ( const CProjectFolder folder,
CDir parentDir,
EFormat  format,
int  level = 0 

◆ s_GetAlignTitle()

static string s_GetAlignTitle ( const CSeq_align align,
CScope scope 

◆ s_GetOrCreateFolder()

CRef<CProjectFolder> s_GetOrCreateFolder ( CGBProjectHandle project,
CProjectFolder parent_folder,
const string folder_name,
bool  top = true 

◆ s_ListProjectFolder()

static void s_ListProjectFolder ( const CProjectFolder folder,
CNcbiOstream ostr,
int  level = 0 

◆ s_RemoveFolder()

static void s_RemoveFolder ( CGBProjectHandle project,
CProjectFolder folder,
const string label 

◆ s_RemoveItem()

static void s_RemoveItem ( CGBProjectHandle project,
CProjectFolder folder,
const string label 

◆ s_ScopeProjectFolder()

static void s_ScopeProjectFolder ( const CProjectFolder folder)

◆ USING_SCOPE() [1/2]

USING_SCOPE ( ncbi  )

◆ USING_SCOPE() [2/2]

USING_SCOPE ( objects  )

Variable Documentation

◆ Writer

unique_ptr<CProjectFileWriter> Writer
Modified on Sun Jun 16 04:31:43 2024 by rev. 669887