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/linkedcell.hpp

    r70b7aa r17b3a5c  
    1414using namespace std;
    1515
     16/*********************************************** includes ***********************************/
     17
    1618// include config.h
    1719#ifdef HAVE_CONFIG_H
     
    2224
    2325#include "defs.hpp"
    24 #include "helpers.hpp"
    2526#include "vector.hpp"
    2627
     28/****************************************** forward declarations *****************************/
     29
     30class PointCloud;
    2731class TesselPoint;
    28 class PointCloud;
     32
     33/********************************************** definitions *********************************/
    2934
    3035#define LinkedNodes list<TesselPoint *>
     36
     37/********************************************** declarations *******************************/
    3138
    3239/** Linked Cell class for containing Vectors in real space efficiently.
Note: See TracChangeset for help on using the changeset viewer.