diff options
Diffstat (limited to 'lib/frame.h')
| -rw-r--r-- | lib/frame.h | 10 |
1 files changed, 10 insertions, 0 deletions
| diff --git a/lib/frame.h b/lib/frame.h index dfe67c0..5fa6c6b 100644 --- a/lib/frame.h +++ b/lib/frame.h | |||
| @@ -83,6 +83,16 @@ namespace verbly { | |||
| 83 | return (id == id_); | 83 | return (id == id_); |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | filter operator!() const | ||
| 87 | { | ||
| 88 | if (!valid_) | ||
| 89 | { | ||
| 90 | throw std::domain_error("Bad access to uninitialized frame"); | ||
| 91 | } | ||
| 92 | |||
| 93 | return (id != id_); | ||
| 94 | } | ||
| 95 | |||
| 86 | // Relationships to other objects | 96 | // Relationships to other objects |
| 87 | 97 | ||
| 88 | static const field words; | 98 | static const field words; |
