| # | Line 62 | Line 62 | namespace oopse { | |
|---|---|---|
| 62 | ||
| 63 | virtual Snapshot* getSnapshot(int id) { return snapshots_[id]; } | |
| 64 | ||
| 65 | + | |
| 66 | /** Returns number of snapshot blocks in this BlockSnapshotManager*/ | |
| 67 | int getNBlocks() { | |
| 68 | return blocks_.size(); | |
| # | Line 72 | Line 73 | namespace oopse { | |
| 73 | } | |
| 74 | ||
| 75 | int getNActiveBlocks(); | |
| 75 | – | |
| 76 | ||
| 77 | + | void needCOMprops(bool ncp); |
| 78 | + | |
| 79 | + | |
| 80 | bool isBlockActive(int block) { | |
| 81 | return findActiveBlock(block) != activeBlocks_.end() ? true : false; | |
| 82 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |