#include <ncbi_pch.hpp>
#include <corelib/ncbistd.hpp>
#include <corelib/ncbireg.hpp>
#include <objects/seq/Bioseq.hpp>
#include <objects/seqset/Seq_entry.hpp>
#include <objects/seqset/Bioseq_set.hpp>
#include "remove_header_conflicts.hpp"
#include <wx/wx.h>
#include <wx/file.h>
#include <wx/fileconf.h>
#include "cn3d_tools.hpp"
#include "asn_reader.hpp"
#include <memory>
Include dependency graph for cn3d_tools.cpp:

Go to the source code of this file.
Functions | |
| USING_SCOPE (objects) | |
| static void | SetRegistryDefaults (void) |
| void | LoadRegistry (void) |
| void | SaveRegistry (void) |
| bool | RegistryIsValidInteger (const string §ion, const string &name) |
| bool | RegistryIsValidDouble (const string §ion, const string &name) |
| bool | RegistryIsValidBoolean (const string §ion, const string &name) |
| bool | RegistryIsValidString (const string §ion, const string &name) |
| bool | RegistryGetInteger (const string §ion, const string &name, int *value) |
| bool | RegistryGetDouble (const string §ion, const string &name, double *value) |
| bool | RegistryGetBoolean (const string §ion, const string &name, bool *value) |
| bool | RegistryGetString (const string §ion, const string &name, string *value) |
| bool | RegistrySetInteger (const string §ion, const string &name, int value) |
| bool | RegistrySetDouble (const string §ion, const string &name, double value) |
| bool | RegistrySetBoolean (const string §ion, const string &name, bool value, bool useYesOrNo) |
| bool | RegistrySetString (const string §ion, const string &name, const string &value) |
| const string & | GetWorkingDir (void) |
| const string & | GetProgramDir (void) |
| const string & | GetDataDir (void) |
| const string & | GetPrefsDir (void) |
| void | SetUpWorkingDirectories (const char *argv0) |
| void | LaunchWebPage (const char *url) |
| CRef< CBioseq > | FetchSequenceViaHTTP (const string &id) |
| static const string | NCBIStdaaResidues ("-ABCDEFGHIKLMNPQRSTVWXYZU*OJ") |
| unsigned char | LookupNCBIStdaaNumberFromCharacter (char r) |
| char | LookupCharacterFromNCBIStdaaNumber (unsigned char n) |
Variables | |
| USING_NCBI_SCOPE | |
| static CMemoryRegistry | registry |
| static string | registryFile |
| static bool | registryChanged = false |
| static string | workingDir |
| static string | programDir |
| static string | dataDir |
| static string | prefsDir |
|
|
Definition at line 467 of file cn3d_tools.cpp. References CRef< C, Locker >::Empty(), ERRORMSG, GetAsnDataViaHTTP(), CSeq_entry_Base::GetSet(), INFOMSG, CSeq_entry_Base::IsSeq(), CSeq_entry_Base::IsSet(), CRef< C, Locker >::Reset(), CSeq_entry_Base::SetSeq(), and CSeq_entry_Base::SetSet(). Referenced by UpdateViewer::FetchSequencesViaHTTP(). |
|
|
Definition at line 334 of file cn3d_tools.cpp. References dataDir. Referenced by Threader::CreateRcxPtl(), and Cn3DNoWin::Run(). |
|
|
Definition at line 335 of file cn3d_tools.cpp. References prefsDir. Referenced by GetFavoritesFile(), LoadRegistry(), StructureWindow::OnHelp(), and SetRegistryDefaults(). |
|
|
Definition at line 333 of file cn3d_tools.cpp. References programDir. Referenced by LoadRegistry(), StructureWindow::OnHelp(), and SetRegistryDefaults(). |
|
|
Definition at line 332 of file cn3d_tools.cpp. References workingDir. Referenced by LoadDataOnly(). |
|
|
Definition at line 436 of file cn3d_tools.cpp. References ERRORMSG, INFOMSG, pos, REG_ADVANCED_SECTION, RegistryGetString(), and TRACEMSG. Referenced by CDDAnnotateDialog::ShowEvidence(). |
|
|
Definition at line 171 of file cn3d_tools.cpp. References CNcbiRegistry::eOverride, CNcbiRegistry::ePersistent, GetPrefsDir(), GetProgramDir(), IRWRegistry::Read(), registry, registryChanged, registryFile, SetRegistryDefaults(), size, and TRACEMSG. Referenced by Cn3DNoWin::Run(). |
|
|
Definition at line 510 of file cn3d_tools.cpp. References ERROR_MESSAGE, ERRORMSG, and NCBIStdaaResidues(). |
|
|
Definition at line 493 of file cn3d_tools.cpp. References NCBIStdaaResidues(). |
|
|
|
|
||||||||||||||||
|
Definition at line 250 of file cn3d_tools.cpp. References IRegistry::Get(), registry, and WARNINGMSG. Referenced by CDDRefDialog::CDDRefDialog(), OpenGLRenderer::Construct(), OpenGLRenderer::Display(), CDDAnnotateDialog::SetupGUIControls(), and StructureWindow::StructureWindow(). |
|
||||||||||||||||
|
Definition at line 240 of file cn3d_tools.cpp. References IRegistry::Get(), registry, and WARNINGMSG. Referenced by OpenGLRenderer::Display(). |
|
||||||||||||||||
|
Definition at line 228 of file cn3d_tools.cpp. References IRegistry::Get(), registry, and WARNINGMSG. Referenced by BLASTer::CalculateSelfHitScores(), OpenGLRenderer::Construct(), LoadDataOnly(), MultiTextDialog::MultiTextDialog(), and BlockMultipleAlignment::OptimizeBlock(). |
|
||||||||||||||||
|
Definition at line 263 of file cn3d_tools.cpp. References IRegistry::Get(), registry, and WARNINGMSG. Referenced by OpenGLRenderer::Construct(), CreateCacheFolder(), GetCacheFilePath(), GetFavoritesFile(), LaunchWebPage(), LoadFavorites(), StructureWindow::OnSetFont(), Cn3DGLCanvas::SetGLFontFromRegistry(), ViewerWindowBase::SetupFontFromRegistry(), and TruncateCache(). |
|
||||||||||||
|
Definition at line 214 of file cn3d_tools.cpp. References IRegistry::Get(), and registry. |
|
||||||||||||
|
Definition at line 207 of file cn3d_tools.cpp. References IRegistry::Get(), and registry. |
|
||||||||||||
|
Definition at line 200 of file cn3d_tools.cpp. References IRegistry::Get(), and registry. |
|
||||||||||||
|
Definition at line 222 of file cn3d_tools.cpp. References IRegistry::Get(), and registry. |
|
||||||||||||||||||||
|
Definition at line 298 of file cn3d_tools.cpp. References CNcbiRegistry::ePersistent, ERRORMSG, registry, registryChanged, and IRWRegistry::Set(). Referenced by StructureWindow::OnShowWindow(), and SetRegistryDefaults(). |
|
||||||||||||||||
|
Definition at line 286 of file cn3d_tools.cpp. References CNcbiRegistry::ePersistent, ERRORMSG, registry, registryChanged, and IRWRegistry::Set(). Referenced by SetRegistryDefaults(). |
|
||||||||||||||||
|
Definition at line 274 of file cn3d_tools.cpp. References CNcbiRegistry::ePersistent, ERRORMSG, registry, registryChanged, and IRWRegistry::Set(). Referenced by SetRegistryDefaults(), and MultiTextDialog::~MultiTextDialog(). |
|
||||||||||||||||
|
Definition at line 313 of file cn3d_tools.cpp. References CNcbiRegistry::ePersistent, ERRORMSG, registry, registryChanged, and IRWRegistry::Set(). Referenced by GetFavoritesFile(), LoadFavorites(), and SetRegistryDefaults(). |
|
|
Definition at line 189 of file cn3d_tools.cpp. References out(), registry, registryChanged, registryFile, and IRegistry::Write(). Referenced by Cn3DApp::OnExit(). |
|
|
|
Definition at line 337 of file cn3d_tools.cpp. References dataDir, prefsDir, programDir, TRACEMSG, WARNINGMSG, and workingDir. Referenced by Cn3DNoWin::Run(). |
|
|
|
|
|
Definition at line 328 of file cn3d_tools.cpp. Referenced by GetDataDir(), and SetUpWorkingDirectories(). |
|
|
Definition at line 328 of file cn3d_tools.cpp. Referenced by GetPrefsDir(), and SetUpWorkingDirectories(). |
|
|
Definition at line 328 of file cn3d_tools.cpp. Referenced by GetProgramDir(), and SetUpWorkingDirectories(). |
|
|
|
Definition at line 81 of file cn3d_tools.cpp. Referenced by LoadRegistry(), RegistrySetBoolean(), RegistrySetDouble(), RegistrySetInteger(), RegistrySetString(), and SaveRegistry(). |
|
|
Definition at line 80 of file cn3d_tools.cpp. Referenced by LoadRegistry(), and SaveRegistry(). |
|
|
Definition at line 71 of file cn3d_tools.cpp. |
|
|
Definition at line 328 of file cn3d_tools.cpp. Referenced by GetWorkingDir(), and SetUpWorkingDirectories(). |
1.4.6
Modified on Wed Dec 09 08:18:32 2009 by modify_doxy.py rev. 173732