useYesOrNo =
false);
194REG_BROWSER_LAUNCH =
"BrowserLaunchCommand",
206 if(v.size() !=
remove.size()) {
214std::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 typenamestd::map < T , std::string >
T2String;
247 typedef typenamestd::map < std::string , T >
String2T;
258 typenameTypeStringAssociator::String2T::const_iterator
i=
string2type.find(name);
263 const T*found =
Find(name);
264 if(found) *
type= *found;
265 return(found !=
NULL);
269 typenameTypeStringAssociator::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