Ignore:
Timestamp:
Apr 28, 2008, 11:36:11 AM (17 years ago)
Author:
Frederik Heber <heber@…>
Children:
8efbfc
Parents:
34d37c
Message:

All filenames (const char *) have been transferred to defs.hpp

Filenames have been transformed into #define's into order to centralise these values. Parser.hpp had these already and they were streamlined to match defs.hpp (which is now included in parser.hpp)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/molecules.cpp

    r34d37c rd982bb  
    18951895  cout << Verbose(1) << "Parsing the KeySet file ... ";
    18961896  // open file and read
    1897   sprintf(filename, "%s/%s%s", path, "BondFragment", "KeySets.dat");
     1897  sprintf(filename, "%s/%s%s", path, FRAGMENTPREFIX, KEYSETFILE);
    18981898  KeySetFile.open(filename);
    18991899  if (KeySetFile != NULL) {
     
    19441944  bool status = true;
    19451945
    1946   sprintf(filename, "%s/%s%s", path, "BondFragment", "Adjacency.dat");
     1946  sprintf(filename, "%s/%s%s", path, FRAGMENTPREFIX, ADJACENCYFILE);
    19471947  AdjacencyFile.open(filename);
    19481948  cout << Verbose(1) << "Saving adjacency list ... ";
     
    19791979  bool status = true;
    19801980 
    1981   sprintf(filename, "%s/%s%s", path, "BondFragment", "Adjacency.dat");
     1981  sprintf(filename, "%s/%s%s", path, FRAGMENTPREFIX, ADJACENCYFILE);
    19821982  File.open(filename);
    19831983  *out << Verbose(1) << "Looking at bond structure stored in adjacency file and comparing to present one ...";
Note: See TracChangeset for help on using the changeset viewer.