mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
ifcparse: fix clang-tidy warnung unused-includes
This commit is contained in:
committed by
Thomas Krijnen
parent
fcfeac95bf
commit
b264408d85
@@ -23,12 +23,9 @@
|
||||
#include "ArgumentType.h"
|
||||
#include "ifc_parse_api.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <boost/dynamic_bitset.hpp>
|
||||
#include <boost/logic/tribool.hpp>
|
||||
#include <boost/shared_ptr.hpp>
|
||||
#include <set>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
|
||||
#include "IfcSpfStream.h"
|
||||
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
namespace IfcUtil {
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
|
||||
#include <boost/optional.hpp>
|
||||
#include <boost/shared_ptr.hpp>
|
||||
#include <vector>
|
||||
|
||||
class Argument;
|
||||
class aggregate_of_instance;
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include <boost/unordered_map.hpp>
|
||||
#include <iterator>
|
||||
#include <map>
|
||||
#include <set>
|
||||
|
||||
namespace IfcParse {
|
||||
|
||||
|
||||
@@ -19,9 +19,7 @@
|
||||
|
||||
#include "IfcGlobalId.h"
|
||||
|
||||
#include "IfcBaseClass.h"
|
||||
#include "IfcException.h"
|
||||
#include "IfcLogger.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <boost/lexical_cast.hpp>
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#define IFCHIERARCHYHELPER_H
|
||||
|
||||
#include "ifc_parse_api.h"
|
||||
#include "IfcLogger.h"
|
||||
|
||||
#include <map>
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
#include "IfcLogger.h"
|
||||
|
||||
#include "Argument.h"
|
||||
#include "IfcException.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <boost/algorithm/string/replace.hpp>
|
||||
|
||||
@@ -23,15 +23,12 @@
|
||||
#include "ifc_parse_api.h"
|
||||
#include "IfcBaseClass.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <boost/optional.hpp>
|
||||
#include <boost/scope_exit.hpp>
|
||||
#include <exception>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class IFC_PARSE_API Logger {
|
||||
public:
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "IfcCharacterDecoder.h"
|
||||
#include "IfcException.h"
|
||||
#include "IfcFile.h"
|
||||
#include "IfcLogger.h"
|
||||
#include "IfcSchema.h"
|
||||
#include "IfcSIPrefix.h"
|
||||
#include "IfcSpfStream.h"
|
||||
|
||||
@@ -38,17 +38,12 @@
|
||||
#include "ifc_parse_api.h"
|
||||
#include "IfcBaseClass.h"
|
||||
#include "IfcCharacterDecoder.h"
|
||||
#include "IfcLogger.h"
|
||||
#include "IfcSpfStream.h"
|
||||
#include "macros.h"
|
||||
|
||||
#include <boost/dynamic_bitset.hpp>
|
||||
#include <boost/shared_ptr.hpp>
|
||||
#include <cstring>
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
||||
@@ -21,7 +21,8 @@
|
||||
#define IFCSIPREFIX
|
||||
|
||||
#include "ifc_parse_api.h"
|
||||
#include "IfcParse.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace IfcParse {
|
||||
IFC_PARSE_API double IfcSIPrefixToValue(const std::string& prefix);
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
|
||||
#include "IfcBaseClass.h"
|
||||
|
||||
#include <map>
|
||||
|
||||
#ifdef HAS_SCHEMA_2x3
|
||||
#include "Ifc2x3.h"
|
||||
#endif
|
||||
@@ -58,8 +60,6 @@
|
||||
#include "Ifc4x3_add2.h"
|
||||
#endif
|
||||
|
||||
#include <map>
|
||||
|
||||
bool IfcParse::declaration::is(const std::string& name) const {
|
||||
const std::string* name_ptr = &name;
|
||||
if (std::any_of(name.begin(), name.end(), [](char c) { return std::islower(c); })) {
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include "IfcSpfHeader.h"
|
||||
|
||||
#include "IfcFile.h"
|
||||
#include "IfcLogger.h"
|
||||
|
||||
static const char* const ISO_10303_21 = "ISO-10303-21";
|
||||
static const char* const HEADER = "HEADER";
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#define IFCSPFHEADER_H
|
||||
|
||||
#include "ifc_parse_api.h"
|
||||
#include "IfcSpfStream.h"
|
||||
#include "IfcWrite.h"
|
||||
|
||||
namespace IfcParse {
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
|
||||
#include "ifc_parse_api.h"
|
||||
|
||||
#include <fstream>
|
||||
#include <string>
|
||||
|
||||
#ifdef USE_MMAP
|
||||
|
||||
@@ -60,7 +60,6 @@
|
||||
#include <algorithm>
|
||||
#include <boost/algorithm/string/replace.hpp>
|
||||
#include <boost/optional.hpp>
|
||||
#include <iostream>
|
||||
|
||||
void aggregate_of_instance::push(IfcUtil::IfcBaseClass* l) {
|
||||
if (l) {
|
||||
|
||||
@@ -20,8 +20,6 @@
|
||||
#include "IfcWrite.h"
|
||||
|
||||
#include "IfcCharacterDecoder.h"
|
||||
#include "IfcFile.h"
|
||||
#include "IfcParse.h"
|
||||
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include <iomanip>
|
||||
|
||||
@@ -28,9 +28,9 @@
|
||||
#ifndef IFCWRITE_H
|
||||
#define IFCWRITE_H
|
||||
|
||||
#include "aggregate_of_instance.h"
|
||||
#include "ifc_parse_api.h"
|
||||
#include "IfcBaseClass.h"
|
||||
#include "IfcParse.h"
|
||||
|
||||
#include <boost/dynamic_bitset.hpp>
|
||||
#include <boost/optional.hpp>
|
||||
@@ -38,7 +38,6 @@
|
||||
#include <boost/type_traits/remove_pointer.hpp>
|
||||
#include <boost/utility/enable_if.hpp>
|
||||
#include <boost/variant.hpp>
|
||||
// #include <boost/logic/tribool.hpp>
|
||||
|
||||
namespace IfcWrite {
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#ifdef WITH_IFCXML
|
||||
|
||||
#include "IfcFile.h"
|
||||
#include "IfcLogger.h"
|
||||
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include <boost/range/adaptor/transformed.hpp>
|
||||
|
||||
Reference in New Issue
Block a user