| 716 | } |
| 717 | |
| 718 | double IfcLoader::GetOptionalDoubleParam(double defaultValue = 0) const |
| 719 | { |
| 720 | auto tk = GetTokenType(); |
| 721 | if (tk == IfcTokenType::REAL) |
| 722 | { |
| 723 | StepBack(); |
| 724 | return GetDoubleArgument(); |
| 725 | } |
| 726 | if (tk == IfcTokenType::INTEGER) |
| 727 | { |
| 728 | StepBack(); |
| 729 | return GetIntArgument(); |
| 730 | } |
| 731 | return defaultValue; |
| 732 | } |
| 733 | |
| 734 | std::vector<uint32_t> IfcLoader::GetAllLines() const { |
| 735 | std::vector<uint32_t> expressIDs; |
no outgoing calls
no test coverage detected