Skip to content
Merged
4 changes: 3 additions & 1 deletion src/analyser_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

#include "libcellml/generatorprofile.h"
#include "libcellml/issue.h"

#include "analysermodel_p.h"
#include "internaltypes.h"
#include "issue_p.h"
#include "logger_p.h"
#include "utilities.h"

Expand Down
2 changes: 2 additions & 0 deletions src/analysermodel_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ limitations under the License.

#pragma once

#include <map>

#include "libcellml/analysermodel.h"

namespace libcellml {
Expand Down
2 changes: 2 additions & 0 deletions src/anycellmlelement_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ limitations under the License.

#include <any>

#include "libcellml/types.h"

namespace libcellml {

/**
Expand Down
3 changes: 3 additions & 0 deletions src/api/libcellml/analyserequation.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ limitations under the License.

#pragma once

#include <string>
#include <vector>

#include "libcellml/analyser.h"

namespace libcellml {
Expand Down
1 change: 0 additions & 1 deletion src/api/libcellml/analyserequationast.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ limitations under the License.
#pragma once

#include "libcellml/analyser.h"

#include "libcellml/undefines.h"

namespace libcellml {
Expand Down
6 changes: 3 additions & 3 deletions src/api/libcellml/analyserexternalvariable.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ limitations under the License.

#pragma once

#include "libcellml/exportdefinitions.h"
#include "libcellml/types.h"

#include <string>
#include <vector>

#include "libcellml/exportdefinitions.h"
#include "libcellml/types.h"

namespace libcellml {

/**
Expand Down
3 changes: 3 additions & 0 deletions src/api/libcellml/analysermodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ limitations under the License.

#pragma once

#include <string>
#include <vector>

#include "libcellml/analyser.h"

#ifndef SWIG
Expand Down
2 changes: 2 additions & 0 deletions src/api/libcellml/analyservariable.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ limitations under the License.

#pragma once

#include <vector>

#include "libcellml/analyser.h"

namespace libcellml {
Expand Down
1 change: 0 additions & 1 deletion src/api/libcellml/entity.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ limitations under the License.

#pragma once

#include <memory>
#include <string>

#include "libcellml/exportdefinitions.h"
Expand Down
3 changes: 0 additions & 3 deletions src/api/libcellml/logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ limitations under the License.

#pragma once

#include <string>
#include <vector>

#include "libcellml/exportdefinitions.h"
#include "libcellml/types.h"

Expand Down
2 changes: 0 additions & 2 deletions src/api/libcellml/parentedentity.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ limitations under the License.

#pragma once

#include <string>

#include "libcellml/entity.h"
#include "libcellml/exportdefinitions.h"
#include "libcellml/types.h"
Expand Down
2 changes: 0 additions & 2 deletions src/api/libcellml/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ limitations under the License.

#pragma once

#include <map>
#include <memory>
#include <utility>

#include "libcellml/enums.h"
#include "libcellml/exportdefinitions.h"
Expand Down
1 change: 0 additions & 1 deletion src/api/libcellml/units.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ limitations under the License.
#pragma once

#include <string>
#include <vector>

#include "libcellml/exportdefinitions.h"
#include "libcellml/importedentity.h"
Expand Down
1 change: 0 additions & 1 deletion src/component.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ limitations under the License.

#include <algorithm>
#include <iterator>
#include <numeric>
#include <string>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion src/component_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ limitations under the License.
#include "libcellml/component.h"

#include "componententity_p.h"
#include "utilities.h"
#include "internaltypes.h"

namespace libcellml {

Expand Down
3 changes: 0 additions & 3 deletions src/componententity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,8 @@ limitations under the License.
#include <vector>

#include "libcellml/component.h"
#include "libcellml/model.h"
#include "libcellml/units.h"

#include "component_p.h"
#include "utilities.h"

namespace libcellml {

Expand Down
2 changes: 0 additions & 2 deletions src/entity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ limitations under the License.

#include "libcellml/entity.h"

#include <utility>

#include "entity_p.h"

namespace libcellml {
Expand Down
5 changes: 1 addition & 4 deletions src/generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,20 @@ limitations under the License.
#include "libcellml/generator.h"

#include <regex>
#include <sstream>

#include "libcellml/analyserequation.h"
#include "libcellml/analyserequationast.h"
#include "libcellml/analysermodel.h"
#include "libcellml/analyservariable.h"
#include "libcellml/component.h"
#include "libcellml/generatorvariabletracker.h"
#include "libcellml/units.h"
#include "libcellml/version.h"

#include "analyserequation_p.h"
#include "analysermodel_p.h"
#include "commonutils.h"
#include "generator_p.h"
#include "generatorprofilesha1values.h"
#include "generatorprofiletools.h"
#include "generatorvariabletracker_p.h"
#include "utilities.h"

#include "libcellml/undefines.h"
Expand Down
4 changes: 2 additions & 2 deletions src/generatorprofiletools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

#include "generatorprofiletools.h"

#include <array>
#include <iomanip>
#include <sstream>

#include "libcellml/generatorprofile.h"

#include "generatorprofiletools.h"

namespace libcellml {

// The below code is used to compute the SHA-1 value of a string, based on the
Expand Down
3 changes: 0 additions & 3 deletions src/importer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,10 @@ limitations under the License.
#include "libcellml/importer.h"

#include <algorithm>
#include <cmath>
#include <fstream>
#include <libxml/uri.h>
#include <sstream>
#include <stdexcept>

#include "libcellml/component.h"
#include "libcellml/importsource.h"
#include "libcellml/model.h"
#include "libcellml/parser.h"
Expand Down
5 changes: 0 additions & 5 deletions src/importsource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,7 @@ limitations under the License.

#include "libcellml/importsource.h"

#include <algorithm>
#include <utility>
#include <vector>

#include "libcellml/importedentity.h"
#include "libcellml/model.h"
#include "libcellml/types.h"

#include "entity_p.h"
Expand Down
1 change: 0 additions & 1 deletion src/logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ limitations under the License.

#include "libcellml/logger.h"

#include <algorithm>
#include <vector>

#include "libcellml/issue.h"
Expand Down
8 changes: 1 addition & 7 deletions src/model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,7 @@ limitations under the License.
#include "libcellml/model.h"

#include <algorithm>
#include <fstream>
#include <map>
#include <numeric>
#include <sstream>
#include <stack>
#include <utility>
#include <iterator>
#include <vector>

#include "libcellml/component.h"
Expand All @@ -32,7 +27,6 @@ limitations under the License.

#include "commonutils.h"
#include "component_p.h"
#include "componententity_p.h"
#include "internaltypes.h"
#include "model_p.h"
#include "units_p.h"
Expand Down
7 changes: 0 additions & 7 deletions src/printer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,13 @@ limitations under the License.

#include "libcellml/printer.h"

#include <list>
#include <map>
#include <regex>
#include <sstream>
#include <stack>
#include <utility>
#include <vector>

#include "libcellml/component.h"
#include "libcellml/importsource.h"
#include "libcellml/issue.h"
#include "libcellml/model.h"
#include "libcellml/reset.h"
#include "libcellml/units.h"
#include "libcellml/variable.h"

#include "anycellmlelement_p.h"
Expand Down
5 changes: 0 additions & 5 deletions src/reset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ limitations under the License.

#include "libcellml/reset.h"

#include <algorithm>
#include <vector>

#include "libcellml/variable.h"

#include "reset_p.h"
#include "utilities.h"

Expand Down
5 changes: 0 additions & 5 deletions src/types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,9 @@ limitations under the License.

#include <limits>

#include "libcellml/units.h"
#include "libcellml/variable.h"

#include "anycellmlelement_p.h"
#include "internaltypes.h"

#include <limits>

namespace libcellml {

/**
Expand Down
1 change: 0 additions & 1 deletion src/units.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ limitations under the License.
#include <algorithm>
#include <cassert>
#include <cmath>
#include <cstdint>
#include <cstring>
#include <map>
#include <numeric>
Expand Down
1 change: 0 additions & 1 deletion src/utilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ limitations under the License.
#include "libcellml/component.h"
#include "libcellml/importsource.h"
#include "libcellml/model.h"
#include "libcellml/namedentity.h"
#include "libcellml/reset.h"
#include "libcellml/units.h"
#include "libcellml/variable.h"
Expand Down
2 changes: 0 additions & 2 deletions src/validator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ limitations under the License.
#include <sstream>
#include <stdexcept>

#include "libcellml/component.h"
#include "libcellml/importsource.h"
#include "libcellml/model.h"
#include "libcellml/reset.h"
#include "libcellml/units.h"
#include "libcellml/variable.h"
Expand Down
1 change: 0 additions & 1 deletion src/variable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ limitations under the License.
#include <algorithm>
#include <cassert>
#include <map>
#include <sstream>
#include <vector>

#include "libcellml/units.h"
Expand Down
Loading