MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / write

Method write

src/ifcparse/IfcSpfHeader.cpp:183–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183void IfcSpfHeader::write(std::ostream& out) const {
184 out << ISO_10303_21 << ";"
185 << "\n";
186 out << HEADER << ";"
187 << "\n";
188 file_description()->toString(out, true);
189 out << ";"
190 << "\n";
191 file_name()->toString(out, true);
192 out << ";"
193 << "\n";
194 file_schema()->toString(out, true);
195 out << ";"
196 << "\n";
197 out << ENDSEC << ";"
198 << "\n";
199 out << DATA << ";"
200 << "\n";
201}
202
203const Header_section_schema::file_description* IfcParse::IfcSpfHeader::file_description() const {
204 if (file_description_ == nullptr) {

Callers 15

executeMethod · 0.45
processMethod · 0.45
purgeMethod · 0.45
create_logfileFunction · 0.45
append_logfileFunction · 0.45
get_fileFunction · 0.45
executeMethod · 0.45
executeMethod · 0.45
create_ifcMethod · 0.45
create_commMethod · 0.45

Calls 4

file_descriptionClass · 0.85
file_nameClass · 0.85
file_schemaClass · 0.85
toStringMethod · 0.80

Tested by 11

test_runMethod · 0.36
model_fileFunction · 0.36
model_fileFunction · 0.36
library_fileFunction · 0.36
_ifc_pathMethod · 0.36
_ifc_pathMethod · 0.36
ifc_pathFunction · 0.36
_ifc_pathMethod · 0.36
_ifc_pathMethod · 0.36