ahladik
a0dad0802e
Fix to IfcHierarchyHelper.cpp ( #1476 )
2021-05-21 13:26:40 +02:00
ahladik
6ec23faf26
A few fixes of types and a typo ( #1464 )
2021-05-13 21:11:19 +02:00
Thomas Krijnen
34386ea27c
Hacky solution to disable schemas to speedup compilation
2021-05-11 22:29:16 +02:00
Thomas Krijnen
a936a5317d
#1445 comment
2021-04-29 16:29:31 +02:00
Thomas Krijnen
f5e5ede0fa
Revert "Fixes IfcUtil::valid_binary_string so it returns false for an empty string"
...
This reverts commit 2514e93a8d .
2021-04-29 16:28:16 +02:00
Rick Brice
2d1ddea3d0
Fixes conditional logic
2021-04-29 16:27:57 +02:00
Rick Brice
df932b90d6
Adds parsing for Ifc4x3_rc2 schema
2021-04-29 16:27:57 +02:00
Rick Brice
2514e93a8d
Fixes IfcUtil::valid_binary_string so it returns false for an empty string
2021-04-29 16:27:57 +02:00
Rick Brice
64e6561828
Initalizes list_ with null points
2021-04-29 16:27:57 +02:00
Rick Brice
01cfcebb09
Fixes problem with dereferencing the end iterator for empty std::string objects
2021-04-18 12:00:48 +02:00
Rick Brice
75040b6ffb
Fixes initialization issues in IfcEntityInstanceData constructors
...
attributes_ was allocated as an array of Argument pointers but the pointers were uninitialized in the construction. Initialization was done in the HeaderEntity class constructor.
offset_in_file_ is uninitialized in one constructor
2021-04-18 12:00:48 +02:00
Thomas Krijnen
5961253c29
#1376 remove_deep_batched()
2021-03-13 12:16:40 +01:00
ahladik
f7175a67c8
Shorten Boost pathnames and fix IfcParse::IfcSIPrefixToValue() ( #1364 )
2021-03-09 09:11:06 +01:00
Thomas Krijnen
bfc695c756
#1311 better error handling during parse for schema and header
2021-02-15 11:11:14 +01:00
Thomas Krijnen
459faec01a
#1311 normalize schema name case
2021-02-14 17:39:15 +01:00
Thomas Krijnen
d2bf2cf46e
Pick RC2 definitions where required
2021-02-14 17:21:34 +01:00
Thomas Krijnen
e750a134d0
Add generated rc2 schemas
2021-02-14 17:20:34 +01:00
Thomas Krijnen
7f4a436708
regen schema
2021-02-14 12:43:09 +01:00
Thomas Krijnen
e6592ca706
conversion rules for first citizin enum types #1276
2021-02-14 12:19:06 +01:00
Bernd Hahnebach
02fa8c8413
[read carefully before decide merge] !!! normalize line endings of src files ( #1268 )
...
* all source: prepare to normalize line ending
* all src: normalize line endings
2021-01-22 08:22:34 +11:00
Thomas Krijnen
37fe54d247
erase enitty mapping upon deletion
2021-01-21 13:24:18 +01:00
Thomas Krijnen
ab8aa95479
#1224 update inverse cache upon deletion
2021-01-12 21:49:17 +01:00
Thomas Krijnen
3d0c9378c1
Quickfix #1246
2021-01-09 11:49:30 +01:00
Håkon Åmdal
a869e88de0
fix: use correct initializer function when compiling with USE_MMAP
2020-12-15 13:25:48 +01:00
Thomas Krijnen
b08346cc64
#1054 initialize memory in case of too few attribute values
2020-10-30 09:59:01 +01:00
Thomas Krijnen
373fd417eb
#1022
2020-09-30 10:24:50 +02:00
fluider
e3831be16e
Warning iterator invalidation in removeEntity
2020-09-30 10:22:12 +02:00
Thomas Krijnen
95a29dec7b
cpp changes for latebound schema manipulation from Python
2020-09-08 14:37:50 +02:00
Thomas Krijnen
45c16e5318
Option for realtime logging with -vv
2020-08-16 13:37:58 +02:00
Thomas Krijnen
2a7c406412
#916
2020-07-23 10:49:45 +02:00
Thomas Krijnen
f92d1708f2
#924
2020-07-21 11:35:56 +02:00
Thomas Krijnen
fdfe1097c4
Minor changes after #916
2020-07-18 09:59:07 +02:00
Stefan Fink
ea71a1f8a7
IfcSiPrefix.cpp changes for MSVC 2013
...
IfcHierarchyHelper.h:176,185 changes in addRelatedObject about throw exception
exception comes from
ifcparse/IfcHierarchyHelper.h line 176 get_parent_of_relation(rel)
if (get_parent_of_relation(rel) == relating_object) {
ifcparse/IfcHierarchyHelper.h line 47
IfcUtil::IfcBaseClass* get_parent_of_relation(IfcUtil::IfcBaseClass* t)
ifcparse/IfcSchema.h
ptrdiff_t attribute_index(const std::string& attr_name) const {
ptrdiff_t index = -1;
-1 return but getArgument(..) Parameter is unsigned int
in the methode -1 is ca. 42123423423423 and throw IfcParse::IfcAttributeOutOfRangeException
we catch this exception and all works as expected and before in 0.5-rc1
2020-07-18 09:55:31 +02:00
Thomas Krijnen
a62fd01725
Move late bound inverse access to IfcBaseEntity
2020-07-11 23:24:49 +02:00
Thomas Krijnen
803cc66abb
#873
2020-07-11 11:55:00 +02:00
Thomas Krijnen
f01ae4a45b
#842 IFC4X3 schema and some other schema init cruft
2020-06-15 12:48:30 +02:00
Thomas Krijnen
c8cca08dfa
TODO note
2020-06-07 16:44:42 +02:00
kukalaka
eba631d245
Add missing IFC_PARSE_API
2020-05-20 16:15:08 +02:00
Thomas Krijnen
9c5c05202f
more defensive XML parsing
2020-05-05 13:08:09 +02:00
Thomas Krijnen
c9c2f76960
parse_xml can return nullptr
2020-05-05 13:07:55 +02:00
Thomas Krijnen
3e55297eb0
Propagate hierarchy helper template archument to IfcFile schema name
2020-03-11 16:19:13 +01:00
Thomas Krijnen
56e3353879
Add inverse attribute availability to schema definition macros
2020-02-10 16:36:38 +01:00
Adrien Scho
05a5c3c3f9
fix : #734 - No XML serializer registered for IFC4X1
2019-12-16 13:43:52 +01:00
stephassoria
afaa34ffc2
IfcOpenShell v0.6.0 as subrepo
2019-11-26 10:09:16 +01:00
Thomas Krijnen
c59c74aeed
Confitionally select num_bytes, see #699
2019-11-05 17:23:13 +01:00
Thomas Krijnen
ed013db011
throw exception on invalid nested aggregates
2019-11-01 16:11:46 +01:00
Thomas Krijnen
b3711ad8cb
thread_local define for clang
2019-08-09 10:05:49 +02:00
Thomas Krijnen
f32e034963
Merge pull request #639 from aothms/multithreaded
...
Multithreaded
2019-08-02 15:37:00 +02:00
Thomas Krijnen
4ec9ab52f1
Remove IfcFileWithSchema
2019-07-10 16:34:57 +02:00
Thomas Krijnen
3ebca0516e
Implement multi_threaded implementation in Iterator
2019-07-03 12:10:27 +02:00