Commit 4fd00cf4 authored by Anton Gladky's avatar Anton Gladky
Browse files

Clean up in header inclusions.

parent 72320e09
#include<yade/core/Body.hpp>
#include<limits>
#include<yade/core/Scene.hpp>
#include<yade/core/Omega.hpp>
#include<yade/core/InteractionContainer.hpp>
......
......@@ -9,8 +9,6 @@
*************************************************************************/
#pragma once
#include<iostream>
#include<map>
#include"Shape.hpp"
#include"Bound.hpp"
#include"State.hpp"
......
......@@ -5,12 +5,6 @@
#pragma once
#include<yade/lib/serialization/Serializable.hpp>
#include<boost/foreach.hpp>
#ifndef FOREACH
# define FOREACH BOOST_FOREACH
#endif
#include<boost/tuple/tuple.hpp>
class Body;
......
// (c) 2007-2010 Vaclav Smilauer <eudoxos@arcig.cz>
#include"Clump.hpp"
#include<algorithm>
#include<yade/core/Scene.hpp>
#include<yade/core/BodyContainer.hpp>
#include<yade/core/State.hpp>
......
......@@ -2,9 +2,6 @@
#pragma once
#include<vector>
#include<map>
#include<stdexcept>
#include<yade/core/Body.hpp>
#include<yade/lib/base/Logging.hpp>
#include<yade/lib/base/Math.hpp>
......
......@@ -11,8 +11,5 @@
Functor::~Functor(){}; // vtable
#include "Dispatcher.hpp"
#include<algorithm>
#include<vector>
Dispatcher::~Dispatcher(){}
......@@ -8,7 +8,6 @@
#pragma once
#include<boost/lexical_cast.hpp>
#include<yade/core/Engine.hpp>
#include<yade/core/Functor.hpp>
......
#pragma once
#include<boost/python.hpp>
#include<boost/foreach.hpp>
#include<string>
#include<yade/lib/base/openmp-accu.hpp>
#include<yade/lib/serialization/Serializable.hpp>
#ifndef FOREACH
#define FOREACH BOOST_FOREACH
#endif
namespace py=boost::python;
class EnergyTracker: public Serializable{
......
......@@ -14,12 +14,6 @@
#include<yade/core/Omega.hpp>
#include<yade/core/Timing.hpp>
#include<yade/lib/base/Logging.hpp>
#include<stdexcept>
#include<boost/foreach.hpp>
#ifndef FOREACH
#define FOREACH BOOST_FOREACH
#endif
class Body;
class Scene;
......
......@@ -4,7 +4,6 @@
*************************************************************************/
#include<yade/core/Omega.hpp>
#include<cstdlib>
#include<boost/date_time/posix_time/posix_time.hpp>
#include<yade/lib/pyutil/gil.hpp>
#include<yade/lib/serialization/ObjectIO.hpp>
......
// 2009 © Václav Šmilauer <eudoxos@arcig.cz>
#pragma once
#include<string.h>
#include<vector>
#include<yade/lib/base/Math.hpp>
#include<yade/core/Body.hpp>
......
......@@ -14,11 +14,6 @@
#include<yade/core/Interaction.hpp>
#include<yade/core/BodyContainer.hpp>
#include<boost/foreach.hpp>
#ifndef FOREACH
# define FOREACH BOOST_FOREACH
#endif
/* This InteractionContainer implementation has reference to the body container and
stores interactions in 2 places:
......
#include<stdexcept>
#include<yade/core/Material.hpp>
#include<yade/core/Scene.hpp>
#include<boost/foreach.hpp>
#ifndef FOREACH
#define FOREACH BOOST_FOREACH
#endif
Material::~Material(){}
......
// 2009 © Václav Šmilauer <eudoxos@arcig.cz>
#pragma once
#include<string>
#include<yade/lib/serialization/Serializable.hpp>
#include<yade/lib/multimethods/Indexable.hpp>
#include<yade/core/State.hpp>
......
......@@ -15,14 +15,11 @@
#include<yade/lib/base/Math.hpp>
#include<yade/lib/multimethods/FunctorWrapper.hpp>
#include<yade/lib/multimethods/Indexable.hpp>
#include<cstdlib>
#include<boost/filesystem/operations.hpp>
#include<boost/filesystem/convenience.hpp>
#include<boost/filesystem/exception.hpp>
#include<boost/algorithm/string.hpp>
#include<boost/thread/mutex.hpp>
#include<boost/version.hpp>
#include<boost/python.hpp>
#include<yade/lib/serialization/ObjectIO.hpp>
......
......@@ -14,7 +14,6 @@
#include<yade/core/TimeStepper.hpp>
#include<yade/lib/base/Math.hpp>
#include<boost/foreach.hpp>
#include<boost/date_time/posix_time/posix_time.hpp>
#include<boost/algorithm/string.hpp>
......
// 2009 © Václav Šmilauer <eudoxos@arcig.cz>
#include<yade/core/State.hpp>
#include<boost/foreach.hpp>
#include<stdexcept>
#ifndef FOREACH
#define FOREACH BOOST_FOREACH
#endif
CREATE_LOGGER(State);
......
......@@ -14,8 +14,6 @@
#include <boost/function.hpp>
#include <boost/bind.hpp>
#include<iostream>
CREATE_LOGGER(ThreadRunner);
void ThreadRunner::run()
......
// 2009 © Václav Šmilauer <eudoxos@arcig.cz>
#pragma once
#include<time.h>
#include<boost/python.hpp>
struct TimingInfo{
typedef unsigned long long delta;
......
......@@ -20,7 +20,6 @@
#include<yade/core/State.hpp>
#include<yade/core/TimeStepper.hpp>
#include<boost/version.hpp>
// these two are not accessible from python directly (though they should be in the future, perhaps)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment