()
| 2505 | return this._core.FormatVersion; |
| 2506 | } |
| 2507 | _get_info_map() { |
| 2508 | const map = new Map(); |
| 2509 | if (this._core.InfoMap) { |
| 2510 | for (const entry of this._core.InfoMap) { |
| 2511 | if (entry.Key && entry.Value) { |
| 2512 | map.set(entry.Key, entry.Value); |
| 2513 | } |
| 2514 | } |
| 2515 | } |
| 2516 | return map; |
| 2517 | } |
| 2518 | _get_tree_count() { |
| 2519 | const trees = this._core.ModelTrees; |
| 2520 | return trees && trees.TreeSizes ? trees.TreeSizes.length : 0; |