A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/cn3d__tools_8hpp_source.html below:

NCBI C++ ToolKit: src/app/cn3d/cn3d_tools.hpp Source File

34 #ifndef CN3D_TOOLS__HPP 35 #define CN3D_TOOLS__HPP 53 #include <wx/platform.h> 54 #include <wx/version.h> 56 #if !wxCHECK_VERSION(2,8,0) 57 #error Cn3D requires wxWindows version 2.8.0 or higher! 60 #if !defined(__WXMSW__) && !defined(__WXGTK__) && !defined(__WXMAC__) 61 #error Cn3D will only work with wxMSW, wxGTK, or wxMac! 64 #if defined(__WXMAC__) && !defined(__DARWIN__) 65 #error Cn3D compilation is no longer supported for Mac OS 8/9 (classic or Carbon) 69 #error Please set wxUSE_GLCANVAS to 1 in <wx/setup.h> 72 #if !wxUSE_STREAMS || !wxUSE_ZIPSTREAM || !wxUSE_ZLIB 73 #error Must turn on wxUSE_STREAMS && wxUSE_ZIPSTREAM && wxUSE_ZLIB for the Cn3D help system! 80 #define CN3D_VERSION_STRING "4.5.8" 83 #define TRACEMSG(stream) ERR_POST(ncbi::Trace << stream) 84 #define INFOMSG(stream) ERR_POST(ncbi::Info << stream) 85 #define WARNINGMSG(stream) ERR_POST(ncbi::Warning << stream) 86 #define ERRORMSG(stream) ERR_POST(ncbi::Error << stream) 87 #define FATALMSG(stream) ERR_FATAL(stream) 151  bool

useYesOrNo =

false

);

194

REG_BROWSER_LAUNCH =

"BrowserLaunchCommand"

,

206  if

(v.size() !=

remove

.size()) {

214

std::vector < T >

copy

(v.size() - nToRemove);

215  unsigned int i

, nRemoved = 0;

216  for

(

i

=0;

i

<v.size(); ++

i

) {

220  copy

[

i

- nRemoved] = v[

i

];

222  if

(nRemoved != nToRemove) {

233 #define DELETE_ALL_AND_CLEAR(container, ContainerType) \ 235  ContainerType::iterator i, ie = (container).end(); \ 236  for (i=(container).begin(); i!=ie; ++i) \ 238  (container).clear(); \ 245  typedef typename

std::map < T , std::string >

T2String

;

247  typedef typename

std::map < std::string , T >

String2T

;

258  typename

TypeStringAssociator::String2T::const_iterator

i

=

string2type

.find(name);

263  const T

*found =

Find

(name);

264  if

(found) *

type

= *found;

265  return

(found !=

NULL

);

269  typename

TypeStringAssociator::T2String::const_iterator

i

=

type2string

.find(

type

);

275  if

(found) *name = *found;

276  return

(found !=

NULL

);

282 #if wxCHECK_VERSION(2,9,0) 283 #define WX_TO_STD(wxstring) ((wxstring).ToStdString()) 285 #define WX_TO_STD(wxstring) (std::string((wxstring).c_str()))

User-defined methods of the data storage class.

std::map< std::string, T > String2T

const std::string * Find(const T &type) const

const T * Find(const std::string &name) const

bool Get(const std::string &name, T *type) const

bool Get(const T &type, std::string *name) const

std::map< T, std::string > T2String

void Associate(const T &type, const std::string &name)

static void DLIST_NAME() remove(DLIST_LIST_TYPE *list, DLIST_TYPE *item)

#define ERR_POST(message)

Error posting with file, line number information but without error codes.

void Error(CExceptionArgs_Base &args)

#define END_SCOPE(ns)

End the previously defined scope.

#define BEGIN_SCOPE(ns)

Define a new scope.

const GenericPointer< typename T::ValueType > T2 value

Defines NCBI C++ diagnostic APIs, classes, and macros.

The NCBI C++/STL use hints.

double r(size_t dimension_, const Int4 *score_, const double *prob_, double theta_)

void copy(Njn::Matrix< S > *matrix_, const Njn::Matrix< T > &matrix0_)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4