| 181 | } |
| 182 | |
| 183 | void 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 | |
| 203 | const Header_section_schema::file_description* IfcParse::IfcSpfHeader::file_description() const { |
| 204 | if (file_description_ == nullptr) { |