NCBI C++ ToolKit
Classes | Macros | Functions | Variables
nowin_main.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbistd.hpp>
#include <corelib/ncbitime.hpp>
#include <corelib/ncbiapp.hpp>
#include <serial/objostr.hpp>
#include <objects/mmdb1/Biostruc.hpp>
#include <objects/ncbimime/Ncbi_mime_asn1.hpp>
#include <objects/ncbimime/Biostruc_seq.hpp>
#include <objects/seq/Bioseq.hpp>
#include <objects/seqset/Seq_entry.hpp>
#include <objects/seqset/Bioseq_set.hpp>
#include <objects/seqloc/Seq_id.hpp>
#include <algorithm>
#include <vector>
#include "remove_header_conflicts.hpp"
#include <wx/wx.h>
#include <wx/filesys.h>
#include <wx/fs_zip.h>
#include "asn_reader.hpp"
#include "cn3d_tools.hpp"
#include "structure_set.hpp"
#include "opengl_renderer.hpp"
#include "cn3d_cache.hpp"
#include "data_manager.hpp"
#include "structure_window.hpp"
#include "cn3d_png.hpp"
#include "chemical_graph.hpp"
+ Include dependency graph for nowin_main.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.


class  Cn3DNoWin


#define ERRORTHROW(stream)


 USING_SCOPE (objects)
void DisplayDiagnostic (const SDiagMessage &diagMsg)
bool IsWindowedMode (void)
wxFrame * GlobalTopWindow (void)
void SetDialogSevereErrors (bool)
void RaiseLogWindow (void)
int main (int argc, char *argv[])



Macro Definition Documentation


#define ERRORTHROW (   stream)
do { \
CNcbiOstrstream oss; \
oss << stream; \
NCBI_THROW(CException, eUnknown, ((string) CNcbiOstrstreamToString(oss))); \
} while (0)
CNcbiOstrstreamToString class helps convert CNcbiOstrstream to a string Sample usage:
Definition: ncbistre.hpp:802
@ eUnknown
Definition: app_popup.hpp:72

Definition at line 77 of file nowin_main.cpp.

Function Documentation

◆ DisplayDiagnostic()

void DisplayDiagnostic ( const SDiagMessage diagMsg)

Definition at line 83 of file nowin_main.cpp.

References eDiag_Error, eDiag_Trace, SDiagMessage::m_Severity, NcbiCout, and SDiagMessage::Write().

Referenced by Cn3DNoWin::Init().

◆ GlobalTopWindow()

wxFrame* GlobalTopWindow ( void  )

Definition at line 99 of file nowin_main.cpp.

References ERRORMSG, NULL, and topWindow.

◆ IsWindowedMode()

bool IsWindowedMode ( void  )

Definition at line 98 of file nowin_main.cpp.

◆ main()

int main ( int  argc,
char *  argv[] 

Definition at line 251 of file nowin_main.cpp.

References CNcbiApplicationAPI::AppMain(), eDS_Default, and NULL.

◆ RaiseLogWindow()

void RaiseLogWindow ( void  )

Definition at line 101 of file nowin_main.cpp.

References backLog, ERRORMSG, logFrame, MsgFrame::logText, and MsgFrame::totalChars.

◆ SetDialogSevereErrors()

void SetDialogSevereErrors ( bool  status)

Definition at line 100 of file nowin_main.cpp.

References dialogSevereErrors.

◆ USING_SCOPE() [1/2]


◆ USING_SCOPE() [2/2]

USING_SCOPE ( objects  )

Variable Documentation



Definition at line 71 of file nowin_main.cpp.

Modified on Wed Jun 19 17:05:24 2024 by rev. 669887