#include "mediapipe/framework/tool/tag_map.h"
#include <utility>
#include "absl/memory/memory.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_join.h"
#include "mediapipe/framework/port/canonical_errors.h"
#include "mediapipe/framework/port/core_proto_inc.h"
#include "mediapipe/framework/port/ret_check.h"
#include "mediapipe/framework/port/status.h"
#include "mediapipe/framework/port/status_builder.h"
#include "mediapipe/framework/tool/validate_name.h"
namespace mediapipe {
namespace tool {
void TagMap::InitializeNames(
const std::map<std::string, std::vector<std::string>>& tag_to_names) { … }
absl::Status TagMap::Initialize(
const proto_ns::RepeatedPtrField<ProtoString>& tag_index_names) { … }
absl::Status TagMap::Initialize(const TagAndNameInfo& info) { … }
proto_ns::RepeatedPtrField<ProtoString> TagMap::CanonicalEntries() const { … }
std::string TagMap::DebugString() const { … }
std::string TagMap::ShortDebugString() const { … }
bool TagMap::HasTag(const absl::string_view tag) const { … }
int TagMap::NumEntries(const absl::string_view tag) const { … }
CollectionItemId TagMap::GetId(const absl::string_view tag, int index) const { … }
std::pair<std::string, int> TagMap::TagAndIndexFromId(
CollectionItemId id) const { … }
CollectionItemId TagMap::BeginId(const absl::string_view tag) const { … }
CollectionItemId TagMap::EndId(const absl::string_view tag) const { … }
std::set<std::string> TagMap::GetTags() const { … }
bool TagMap::SameAs(const TagMap& other) const { … }
}
}