Ignore:
Timestamp:
Oct 9, 2009, 10:54:52 AM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
3efb4a
Parents:
70b7aa
Message:

forward declarations used to untangle interdependet classes.

  • basically, everywhere in header files we removed '#include' lines were only pointer to the respective classes were used and the include line was moved to the implementation file.
  • as a sidenote, lots of funny errors happened because headers were included via a nesting over three other includes. Now, all should be declared directly as needed, as only very little include lines remain in header files.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/datacreator.hpp

    r70b7aa r17b3a5c  
    1010using namespace std;
    1111
    12 //============================ INCLUDES ===========================
     12#include <iostream>
    1313
    14 #include "helpers.hpp"
    15 #include "parser.hpp"
     14/****************************************** forward declarations *****************************/
    1615
    17 //=========================== FUNCTIONS============================
     16class EnergyMatrix;
     17class ForceMatrix;
     18class HessianMatrix;
     19class KeySetsContainer;
     20class MatrixContainer;
     21
     22/********************************************** declarations *******************************/
    1823
    1924bool OpenOutputFile(ofstream &output, const char *dir, const char *filename);
Note: See TracChangeset for help on using the changeset viewer.