| 393 | } |
| 394 | |
| 395 | bool impl::deserialize(IfcParse::impl::rocks_db_file_storage*, const std::string& val, boost::logic::tribool& t) { |
| 396 | if (val[0] != TypeEncoder::encode_type<boost::logic::tribool>()) { |
| 397 | return false; |
| 398 | } |
| 399 | if (val[1] == 0) { |
| 400 | t = false; |
| 401 | } else if (val[1] == 1) { |
| 402 | t = true; |
| 403 | } else if (val[1] == 2) { |
| 404 | t = boost::logic::indeterminate; |
| 405 | } else { |
| 406 | return false; |
| 407 | } |
| 408 | return true; |
| 409 | } |
| 410 | |
| 411 | bool impl::deserialize(IfcParse::impl::rocks_db_file_storage*, const std::string& val, boost::dynamic_bitset<>& t) { |
| 412 | if (val[0] != TypeEncoder::encode_type<boost::dynamic_bitset<>>()) { |