* Is the state either selected or autoselected? * @return true iff that's the case */
| 30 | * @return true iff that's the case |
| 31 | */ |
| 32 | bool ContentInfo::IsSelected() const |
| 33 | { |
| 34 | switch (this->state) { |
| 35 | case ContentInfo::State::Selected: |
| 36 | case ContentInfo::State::Autoselected: |
| 37 | case ContentInfo::State::AlreadyHere: |
| 38 | return true; |
| 39 | |
| 40 | default: |
| 41 | return false; |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | /** |
| 46 | * Is the information from this content info valid? |
no outgoing calls
no test coverage detected