src/ccmain/ltrresultiterator.cpp
bool LTRResultIterator::HasTruthString() const {
  if (it_->word() == nullptr) {
    return false; // Already at the end!
  }
  if (it_->word()->blamer_bundle == nullptr || it_->word()->blamer_bundle->NoTruth()) {
    return false; // no truth information for this word
  }
  return true;
}
// Returns true if a truth string was recorded for the current word.
Returns true if a truth string was recorded for the current word.
Returns true if a truth string was recorded for the current word .
bool LTRResultIterator::HasTruthString() const {
  if (it_->word() == nullptr) {
    return false; 
  }
  if (it_->word()->blamer_bundle == nullptr || it_->word()->blamer_bundle->NoTruth()) {
    return false; 
  }
  return true;
}
bool LTRResultIterator :: HasTruthString ( ) const { if ( it_ -> word ( ) == nullptr ) { return false ; } if ( it_ -> word ( ) -> blamer_bundle == nullptr || it_ -> word ( ) -> blamer_bundle -> NoTruth ( ) ) { return false ; } return true ; }
Returns true if a truth string was recorded for the current word.
Returns true if a truth string was recorded for the current word .
// Already at the end! // no truth information for this word