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

    r70b7aa r17b3a5c  
    44using namespace std;
    55
    6 #include "helpers.hpp"
     6/*********************************************** includes ***********************************/
     7
     8// include config.h
     9#ifdef HAVE_CONFIG_H
     10#include <config.h>
     11#endif
    712
    813#include <gsl/gsl_vector.h>
    914#include <gsl/gsl_multimin.h>
    1015
    11 class Vector;
     16#include "defs.hpp"
     17
     18/********************************************** declarations *******************************/
    1219
    1320/** Single vector.
Note: See TracChangeset for help on using the changeset viewer.