@@ -1408,19 +1408,19 @@ void parse_header(
14081408 read_terminal (lexer, HEADER, true );
14091409
14101410 read_terminal (lexer, Header_section_schema::file_description::Class ().name_uc (), false );
1411- header.set_file_description (read_header_entity (header.file (), storage, lexer, references_to_resolve, Header_section_schema::file_description::Class ()));
1411+ header.set_file_description (read_header_entity (header.owner_file (), storage, lexer, references_to_resolve, Header_section_schema::file_description::Class ()));
14121412 if (!lexer.next ().is_operator (' ;' )) {
14131413 throw exception (" Expected ;" );
14141414 }
14151415
14161416 read_terminal (lexer, Header_section_schema::file_name::Class ().name_uc (), false );
1417- header.set_file_name (read_header_entity (header.file (), storage, lexer, references_to_resolve, Header_section_schema::file_name::Class ()));
1417+ header.set_file_name (read_header_entity (header.owner_file (), storage, lexer, references_to_resolve, Header_section_schema::file_name::Class ()));
14181418 if (!lexer.next ().is_operator (' ;' )) {
14191419 throw exception (" Expected ;" );
14201420 }
14211421
14221422 read_terminal (lexer, Header_section_schema::file_schema::Class ().name_uc (), false );
1423- header.set_file_schema (read_header_entity (header.file (), storage, lexer, references_to_resolve, Header_section_schema::file_schema::Class ()));
1423+ header.set_file_schema (read_header_entity (header.owner_file (), storage, lexer, references_to_resolve, Header_section_schema::file_schema::Class ()));
14241424 if (!lexer.next ().is_operator (' ;' )) {
14251425 throw exception (" Expected ;" );
14261426 }
@@ -1452,7 +1452,7 @@ spf_header& ifcopenshell::instance_streamer<Reader>::ensure_header() {
14521452
14531453 if (owner_ != nullptr ) {
14541454 header_ = &owner_->header ();
1455- header_->file (owner_);
1455+ header_->owner_file (owner_);
14561456 } else {
14571457 owned_header_ = std::make_unique<spf_header>(owner_);
14581458 header_ = owned_header_.get ();
@@ -1859,7 +1859,7 @@ void ifcopenshell::impl::in_memory_file_storage::read_from_stream(Reader* s, con
18591859 auto & storage = byid_[p.first .name_ ];
18601860 auto attr_index = p.first .index_ ;
18611861
1862- if (storage->has_attribute_value <express::Base>(attr_index)) {
1862+ if (storage->template has_attribute_value <express::Base>(attr_index)) {
18631863 express::Base inst = storage->get_attribute_value (attr_index);
18641864 if (!inst.declaration ().as_entity ()) {
18651865 // Probably a case of IfcPropertySetDefinitionSet, divert storage of reference to the simply type instance
@@ -1868,7 +1868,7 @@ void ifcopenshell::impl::in_memory_file_storage::read_from_stream(Reader* s, con
18681868 }
18691869 }
18701870
1871- if (storage->has_attribute_value <blank>(attr_index)) {
1871+ if (storage->template has_attribute_value <blank>(attr_index)) {
18721872 storage->set_attribute_value (attr_index, express::Base (it->second ));
18731873 } else {
18741874 logger::error (" Duplicate definition for instance reference" );
@@ -1899,7 +1899,7 @@ void ifcopenshell::impl::in_memory_file_storage::read_from_stream(Reader* s, con
18991899 auto & storage = byid_[p.first .name_ ];
19001900 auto attr_index = p.first .index_ ;
19011901
1902- if (storage->has_attribute_value <express::Base>(attr_index)) {
1902+ if (storage->template has_attribute_value <express::Base>(attr_index)) {
19031903 express::Base inst = storage->get_attribute_value (attr_index);
19041904 if (!inst.declaration ().as_entity ()) {
19051905 // Probably a case of IfcPropertySetDefinitionSet, divert storage of reference to the simply type instance
@@ -1908,7 +1908,7 @@ void ifcopenshell::impl::in_memory_file_storage::read_from_stream(Reader* s, con
19081908 }
19091909 }
19101910
1911- if (storage->has_attribute_value <blank>(attr_index)) {
1911+ if (storage->template has_attribute_value <blank>(attr_index)) {
19121912 storage->set_attribute_value (attr_index, instances);
19131913 } else {
19141914 logger::error (" Duplicate definition for instance reference" );
@@ -1937,7 +1937,7 @@ void ifcopenshell::impl::in_memory_file_storage::read_from_stream(Reader* s, con
19371937 auto & storage = byid_[p.first .name_ ];
19381938 auto attr_index = p.first .index_ ;
19391939
1940- if (storage->has_attribute_value <express::Base>(attr_index)) {
1940+ if (storage->template has_attribute_value <express::Base>(attr_index)) {
19411941 express::Base inst = storage->get_attribute_value (attr_index);
19421942 if (!inst.declaration ().as_entity ()) {
19431943 // Probably a case of IfcPropertySetDefinitionSet, divert storage of reference to the simply type instance
@@ -1946,7 +1946,7 @@ void ifcopenshell::impl::in_memory_file_storage::read_from_stream(Reader* s, con
19461946 }
19471947 }
19481948
1949- if (storage->has_attribute_value <blank>(attr_index)) {
1949+ if (storage->template has_attribute_value <blank>(attr_index)) {
19501950 storage->set_attribute_value (attr_index, instances);
19511951 } else {
19521952 logger::error (" Duplicate definition for instance reference" );
0 commit comments