Changeset 70672e3


Ignore:
Timestamp:
Dec 22, 2010, 5:20:21 PM (15 years ago)
Author:
Frederik Heber <heber@…>
Children:
cdf2e4
Parents:
9098f9
Message:

Added config.h to all header files.

Location:
src
Files:
29 edited

Legend:

Unmodified
Added
Removed
  • src/Helpers/Assert.hpp

    r9098f9 r70672e3  
    88#ifndef ASSERT_HPP_
    99#define ASSERT_HPP_
     10
     11// include config.h
     12#ifdef HAVE_CONFIG_H
     13#include <config.h>
     14#endif
    1015
    1116#include<sstream>
  • src/Helpers/Info.hpp

    r9098f9 r70672e3  
    99#define INFO_HPP_
    1010
    11 using namespace std;
     11// include config.h
     12#ifdef HAVE_CONFIG_H
     13#include <config.h>
     14#endif
    1215
    1316/*********************************************** includes ***********************************/
  • src/Helpers/Log.hpp

    r9098f9 r70672e3  
    88#ifndef LOG_HPP_
    99#define LOG_HPP_
     10
     11// include config.h
     12#ifdef HAVE_CONFIG_H
     13#include <config.h>
     14#endif
    1015
    1116#include "errorlogger.hpp"
  • src/Helpers/MemDebug.hpp

    r9098f9 r70672e3  
    88#ifndef MEMDEBUG_HPP_
    99#define MEMDEBUG_HPP_
     10
     11// include config.h
     12#ifdef HAVE_CONFIG_H
     13#include <config.h>
     14#endif
    1015
    1116/**
  • src/Helpers/Range.hpp

    r9098f9 r70672e3  
    88#ifndef RANGE_HPP_
    99#define RANGE_HPP_
     10
     11// include config.h
     12#ifdef HAVE_CONFIG_H
     13#include <config.h>
     14#endif
     15
    1016template <class T>
    1117struct range {
  • src/Helpers/Verbose.hpp

    r9098f9 r70672e3  
    99#define VERBOSE_HPP_
    1010
    11 using namespace std;
    12 
    1311/*********************************************** includes ***********************************/
    1412
     
    1917
    2018#include <iosfwd>
     19
     20using namespace std;
    2121
    2222/************************************* Class Verbose & Binary *******************************/
  • src/Helpers/enumeration.hpp

    r9098f9 r70672e3  
    88#ifndef ENUMERATOR_HPP_
    99#define ENUMERATOR_HPP_
     10
     11// include config.h
     12#ifdef HAVE_CONFIG_H
     13#include <config.h>
     14#endif
    1015
    1116/************ struct to contain simple enumerations ***************/
  • src/Helpers/errorlogger.hpp

    r9098f9 r70672e3  
    88#ifndef ERRORLOGGER_HPP_
    99#define ERRORLOGGER_HPP_
     10
     11// include config.h
     12#ifdef HAVE_CONFIG_H
     13#include <config.h>
     14#endif
    1015
    1116#include <iosfwd>
  • src/Helpers/logger.hpp

    r9098f9 r70672e3  
    88#ifndef LOGGER_HPP_
    99#define LOGGER_HPP_
     10
     11// include config.h
     12#ifdef HAVE_CONFIG_H
     13#include <config.h>
     14#endif
    1015
    1116#include <iosfwd>
  • src/Helpers/toString.hpp

    r9098f9 r70672e3  
    99#ifndef TOSTRING_HPP_
    1010#define TOSTRING_HPP_
     11
     12// include config.h
     13#ifdef HAVE_CONFIG_H
     14#include <config.h>
     15#endif
    1116
    1217#include <iostream>
  • src/Patterns/Cacheable.hpp

    r9098f9 r70672e3  
    88#ifndef CACHEABLE_HPP_
    99#define CACHEABLE_HPP_
     10
     11// include config.h
     12#ifdef HAVE_CONFIG_H
     13#include <config.h>
     14#endif
    1015
    1116#include "Observer.hpp"
  • src/Patterns/ObservedContainer.hpp

    r9098f9 r70672e3  
    88#ifndef OBSERVEDCONTAINER_HPP_
    99#define OBSERVEDCONTAINER_HPP_
     10
     11// include config.h
     12#ifdef HAVE_CONFIG_H
     13#include <config.h>
     14#endif
    1015
    1116#include "types.hpp"
  • src/Patterns/ObservedContainer_impl.hpp

    r9098f9 r70672e3  
    88#ifndef OBSERVEDCONTAINER_IMPL_HPP_
    99#define OBSERVEDCONTAINER_IMPL_HPP_
     10
     11// include config.h
     12#ifdef HAVE_CONFIG_H
     13#include <config.h>
     14#endif
    1015
    1116#include "ObservedContainer.hpp"
  • src/Patterns/ObservedIterator.hpp

    r9098f9 r70672e3  
    88#ifndef OBSERVEDITERATOR_HPP_
    99#define OBSERVEDITERATOR_HPP_
     10
     11// include config.h
     12#ifdef HAVE_CONFIG_H
     13#include <config.h>
     14#endif
    1015
    1116#include "Observer.hpp"
  • src/Patterns/Observer.cpp

    r9098f9 r70672e3  
    3434// this is more efficient if many objects can be observed (inherit from observable)
    3535// but only few are actually coupled with observers. E.g. TMV has over 500.000 Atoms,
    36 // which might become observable. Handling Observerable infrastructure in each of
     36// which might become observable. Handling Observable infrastructure in each of
    3737// these would use memory for each atom. By handling Observer-infrastructure
    3838// here we only need memory for objects that actually are observed.
  • src/Patterns/Observer.hpp

    r9098f9 r70672e3  
    88#ifndef OBSERVER_HPP_
    99#define OBSERVER_HPP_
     10
     11// include config.h
     12#ifdef HAVE_CONFIG_H
     13#include <config.h>
     14#endif
    1015
    1116#include <map>
  • src/Patterns/Registry.hpp

    r9098f9 r70672e3  
    1313#ifndef REGISTRY_HPP_
    1414#define REGISTRY_HPP_
     15
     16// include config.h
     17#ifdef HAVE_CONFIG_H
     18#include <config.h>
     19#endif
    1520
    1621#include <map>
  • src/Patterns/Registry_impl.hpp

    r9098f9 r70672e3  
    88#ifndef REGISTRY_IMPL_HPP_
    99#define REGISTRY_IMPL_HPP_
     10
     11// include config.h
     12#ifdef HAVE_CONFIG_H
     13#include <config.h>
     14#endif
    1015
    1116#include "MemDebug.hpp"
  • src/Patterns/Singleton.hpp

    r9098f9 r70672e3  
    88#ifndef SINGLETON_HPP_
    99#define SINGLETON_HPP_
     10
     11// include config.h
     12#ifdef HAVE_CONFIG_H
     13#include <config.h>
     14#endif
    1015
    1116#include <boost/thread.hpp>
  • src/Patterns/Singleton_impl.hpp

    r9098f9 r70672e3  
    88#ifndef SINGLETON_IMPL_HPP_
    99#define SINGLETON_IMPL_HPP_
     10
     11// include config.h
     12#ifdef HAVE_CONFIG_H
     13#include <config.h>
     14#endif
    1015
    1116#include "Assert.hpp"
  • src/Patterns/unittests/CacheableUnitTest.hpp

    r9098f9 r70672e3  
    88#ifndef CACHEABLEUNITTEST_HPP_
    99#define CACHEABLEUNITTEST_HPP_
     10
     11// include config.h
     12#ifdef HAVE_CONFIG_H
     13#include <config.h>
     14#endif
    1015
    1116#include <cppunit/extensions/HelperMacros.h>
  • src/Patterns/unittests/ObserverUnitTest.hpp

    r9098f9 r70672e3  
    88#ifndef OBSERVERTEST_HPP_
    99#define OBSERVERTEST_HPP_
     10
     11// include config.h
     12#ifdef HAVE_CONFIG_H
     13#include <config.h>
     14#endif
    1015
    1116#include <cppunit/extensions/HelperMacros.h>
  • src/Patterns/unittests/RegistryUnitTest.hpp

    r9098f9 r70672e3  
    88#ifndef REGISTRYUNITTEST_HPP_
    99#define REGISTRYUNITTEST_HPP_
     10
     11// include config.h
     12#ifdef HAVE_CONFIG_H
     13#include <config.h>
     14#endif
    1015
    1116#include <cppunit/extensions/HelperMacros.h>
  • src/Patterns/unittests/SingletonUnitTest.hpp

    r9098f9 r70672e3  
    88#ifndef SINGLETONUNITTEST_HPP_
    99#define SINGLETONUNITTEST_HPP_
     10
     11// include config.h
     12#ifdef HAVE_CONFIG_H
     13#include <config.h>
     14#endif
    1015
    1116#include <cppunit/extensions/HelperMacros.h>
  • src/codepatterns-config-main.cpp

    r9098f9 r70672e3  
     1// include config.h
     2#ifdef HAVE_CONFIG_H
     3#include <config.h>
     4#endif
     5
    16#include <iostream>
    27#include <boost/program_options.hpp>
  • src/codepatterns-config.hpp

    r9098f9 r70672e3  
    11#ifndef CODEPATTERNS_CONFIG_HPP_
    22#define CODEPATTERNS_CONFIG_HPP_
     3
     4// include config.h
     5#ifdef HAVE_CONFIG_H
     6#include <config.h>
     7#endif
    38
    49extern const char *CODEPATTERNSCFLAGS;
  • src/unittests/InfoUnitTest.hpp

    r9098f9 r70672e3  
    88#ifndef INFOUNITTEST_HPP_
    99#define INFOUNITTEST_HPP_
     10
     11// include config.h
     12#ifdef HAVE_CONFIG_H
     13#include <config.h>
     14#endif
    1015
    1116#include <cppunit/extensions/HelperMacros.h>
  • src/unittests/LogUnitTest.hpp

    r9098f9 r70672e3  
    55#ifndef LOGTEST_HPP_
    66#define LOGTEST_HPP_
     7
     8// include config.h
     9#ifdef HAVE_CONFIG_H
     10#include <config.h>
     11#endif
    712
    813#include <cppunit/extensions/HelperMacros.h>
  • src/version.hpp

    r9098f9 r70672e3  
    11#ifndef VERSION_HPP_
    22#define VERSION_HPP_
     3
     4// include config.h
     5#ifdef HAVE_CONFIG_H
     6#include <config.h>
     7#endif
    38
    49extern const char *CODEPATTERNSVERSION;
Note: See TracChangeset for help on using the changeset viewer.