ENSDF++ 1.1
An easy, fast and simple way to run querys towards the ENSDF database, written in C++.
Functions
ENSDF.cpp File Reference

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.

Detailed Description

Source file for the ENSDF class.

Author:
Rikard Lundmark

Definition in file ENSDF.cpp.


Function Documentation

void* loadIsotope ( void *  ptr)

Function used to create isotopes asynchronously. Is used by pThread in thread maintaining.

Parameters:
ptrA 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
}
 All Classes Files Functions Variables Enumerations Enumerator Defines

Back to the main page of the Precalibrated Ion Beam Identification Detector project

Created by Rikard Lundmark