| 240 | } |
| 241 | |
| 242 | bool TopicConfig::IsValidPubID(const int pub_id) const { |
| 243 | auto &&it = impl_->pub_id2pub.find(pub_id); |
| 244 | return impl_->pub_id2pub.end() != it; |
| 245 | } |
| 246 | |
| 247 | comm::RetCode TopicConfig::GetPubByPubID(const int pub_id, shared_ptr<const proto::Pub> &pub) const { |
| 248 | pub = nullptr; |
no outgoing calls