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/builder.cpp

    r70b7aa r17b3a5c  
    5050using namespace std;
    5151
     52#include "atom.hpp"
     53#include "bond.hpp"
    5254#include "boundary.hpp"
     55#include "config.hpp"
     56#include "element.hpp"
    5357#include "ellipsoid.hpp"
    5458#include "helpers.hpp"
     59#include "leastsquaremin.hpp"
     60#include "linkedcell.hpp"
    5561#include "memoryusageobserverunittest.hpp"
    5662#include "molecule.hpp"
     63#include "periodentafel.hpp"
     64
    5765/********************************************* Subsubmenu routine ************************************/
    5866
Note: See TracChangeset for help on using the changeset viewer.