![]() |
ENSDF++ 1.1
An easy, fast and simple way to run querys towards the ENSDF database, written in C++.
|
Source file for the ENSDF class. More...
#include "ENSDF.h"
Go to the source code of this file.
Functions | |
void * | loadIsotope (void *ptr) |
Function used to create isotopes asynchronously. Is used by pThread in thread maintaining. |
void* loadIsotope | ( | void * | ptr | ) |
Function used to create isotopes asynchronously. Is used by pThread in thread maintaining.
ptr | A pointer to an object of type list< pair<Isotop**, list<list<string> >* > > *, from which isotopes are created. |
Definition at line 115 of file ENSDF.cpp.
References NULL.
Referenced by ENSDF::threadFlush().
{ list< pair<Isotop**, list<list<string> >* > > * toCreateFrom = (list< pair<Isotop**, list<list<string> >* > > * ) ptr; for(list<pair<Isotop**, list< list< string> >* > >::iterator it = toCreateFrom->begin(); it!=toCreateFrom->end(); it++) *(it->first)= new Isotop(*(it->second)); delete toCreateFrom; ptr = NULL; toCreateFrom = NULL; return (void*)NULL; //quick and dirty }