| 216 | // ifc4 allows for aggregates to be concatenated using whitespace. |
| 217 | template <typename T> |
| 218 | std::vector<T> split(const std::string& value) { |
| 219 | std::vector<std::string> strs; |
| 220 | boost::split( |
| 221 | strs, value, [](char character) { return character == ' '; }, boost::token_compress_on); |
| 222 | std::vector<T> r(strs.size()); |
| 223 | boost::copy(strs | boost::adaptors::transformed([](const std::string& s) { |
| 224 | return boost::lexical_cast<T>(s); |
| 225 | }), |
| 226 | r.begin()); |
| 227 | return r; |
| 228 | } |
| 229 | |
| 230 | boost::any parse_attribute_value(const IfcParse::parameter_type* ty, const std::string& value) { |
| 231 | boost::any any; |
no test coverage detected