ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/openbabel/obutil.cpp
(Generate patch)

Comparing trunk/OOPSE-4/src/openbabel/obutil.cpp (file contents):
Revision 2450 by gezelter, Thu Nov 17 20:38:45 2005 UTC vs.
Revision 2518 by tim, Fri Dec 16 21:52:50 2005 UTC

# Line 288 | Line 288 | OBAPI bool SafeOpen(ifstream &fs,char *filename)
288          string error = "Unable to open file \'";
289          error += filename;
290          error += "\' in read mode";
291 <        obErrorLog.ThrowError(__FUNCTION__, error, obError);
291 >        obErrorLog.ThrowError(__func__, error, obError);
292          return(false);
293      }
294  
# Line 314 | Line 314 | OBAPI bool SafeOpen(ofstream &fs,char *filename)
314          string error = "Unable to open file \'";
315          error += filename;
316          error += "\' in write mode";
317 <        obErrorLog.ThrowError(__FUNCTION__, error, obError);
317 >        obErrorLog.ThrowError(__func__, error, obError);
318          return(false);
319      }
320  
# Line 404 | Line 404 | OBAPI void InternalToCartesian(std::vector<OBInternalC
404      if (vic.empty())
405          return;
406  
407 <    obErrorLog.ThrowError(__FUNCTION__,
407 >    obErrorLog.ThrowError(__func__,
408                            "Ran OpenBabel::InternalToCartesian", obAuditMsg);
409  
410      for (atom = mol.BeginAtom(i);atom;atom = mol.NextAtom(i))
# Line 485 | Line 485 | OBAPI void CartesianToInternal(std::vector<OBInternalC
485      OBAtom *atom,*nbr,*ref;
486      vector<OBNodeBase*>::iterator i,j,m;
487  
488 <    obErrorLog.ThrowError(__FUNCTION__,
488 >    obErrorLog.ThrowError(__func__,
489                            "Ran OpenBabel::CartesianToInternal", obAuditMsg);
490  
491      //set reference atoms

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines