| 437 | } |
| 438 | |
| 439 | void IfcLoader::UpdateLineTape(const uint32_t expressID, const uint32_t type, const uint32_t start) |
| 440 | { |
| 441 | const auto lineIt = _lines.find(expressID); |
| 442 | if (lineIt == _lines.end()) { |
| 443 | // create line object |
| 444 | IfcLine * line = new IfcLine(); |
| 445 | // fill line data |
| 446 | line->ifcType = type; |
| 447 | line->tapeOffset = start; |
| 448 | //place in vector |
| 449 | _lines[expressID]=line; |
| 450 | _ifcTypeToExpressID[type].push_back(expressID); |
| 451 | _maxExpressId = std::max(expressID, _maxExpressId); |
| 452 | } |
| 453 | else { |
| 454 | _lines[expressID]->tapeOffset = start; |
| 455 | } |
| 456 | } |
| 457 | |
| 458 | void IfcLoader::AddHeaderLineTape(const uint32_t type, const uint32_t start) |
| 459 | { |