NCBI C++ ToolKit
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
CProjectFileWriter Class Reference

Search Toolkit Book for CProjectFileWriter

#include "projectfilewriter.hpp"
(Private to src/gui/app/project_tools.)

+ Collaboration diagram for CProjectFileWriter:

Public Types

typedef CFormatGuess::EFormat EFormat
 

Public Member Functions

 CProjectFileWriter (CRef< CScope > tScope)
 
void AddToScope (CConstRef< CSerialObject > Object)
 
bool WriteFile (const string &Filename, CConstRef< CSerialObject > Object, EFormat Format)
 

Private Member Functions

bool x_WriteFile (CNcbiOstream &Out, CConstRef< CSerialObject > Object, EFormat Format)
 
bool x_WriteObject (CNcbiOstream &Out, CConstRef< CSerialObject > Object, ESerialDataFormat Format)
 
bool x_WriteGtf (CNcbiOstream &Out, CConstRef< CSerialObject > Object)
 
TGi x_FindParent (TGi Gi)
 
TGi x_GetAnnotId (CConstRef< CSeq_annot > Annot)
 
TGi x_GetGi (CConstRef< CSeq_id > Id)
 

Private Attributes

CRef< CScopeScope
 

Detailed Description

Definition at line 51 of file projectfilewriter.hpp.

Member Typedef Documentation

◆ EFormat

Definition at line 54 of file projectfilewriter.hpp.

Constructor & Destructor Documentation

◆ CProjectFileWriter()

CProjectFileWriter::CProjectFileWriter ( CRef< CScope tScope)

Definition at line 91 of file projectfilewriter.cpp.

Member Function Documentation

◆ AddToScope()

void CProjectFileWriter::AddToScope ( CConstRef< CSerialObject Object)

◆ WriteFile()

bool CProjectFileWriter::WriteFile ( const string Filename,
CConstRef< CSerialObject Object,
EFormat  Format 
)

Definition at line 116 of file projectfilewriter.cpp.

References out(), Out(), and x_WriteFile().

◆ x_FindParent()

TGi CProjectFileWriter::x_FindParent ( TGi  Gi)
private

◆ x_GetAnnotId()

TGi CProjectFileWriter::x_GetAnnotId ( CConstRef< CSeq_annot Annot)
private

◆ x_GetGi()

TGi CProjectFileWriter::x_GetGi ( CConstRef< CSeq_id Id)
private

◆ x_WriteFile()

bool CProjectFileWriter::x_WriteFile ( CNcbiOstream Out,
CConstRef< CSerialObject Object,
EFormat  Format 
)
private

◆ x_WriteGtf()

bool CProjectFileWriter::x_WriteGtf ( CNcbiOstream Out,
CConstRef< CSerialObject Object 
)
private

◆ x_WriteObject()

bool CProjectFileWriter::x_WriteObject ( CNcbiOstream Out,
CConstRef< CSerialObject Object,
ESerialDataFormat  Format 
)
private

Definition at line 171 of file projectfilewriter.cpp.

References Error(), LOG_POST, CObjectOStream::Open(), and Out().

Referenced by x_WriteFile(), and x_WriteGtf().

Member Data Documentation

◆ Scope

CRef<CScope> CProjectFileWriter::Scope
private

Definition at line 65 of file projectfilewriter.hpp.

Referenced by AddToScope(), x_FindParent(), x_GetGi(), and x_WriteGtf().


The documentation for this class was generated from the following files:
Modified on Sun May 05 05:17:01 2024 by modify_doxy.py rev. 669887