16 #include <unordered_map> 17 #include <unordered_set> 41 const std::string &
GetId()
const {
60 bool MatchTags(
const std::string &wildcard_pattern)
const;
62 std::vector<std::string>
GetTags()
const {
86 void SetAttribute(
const std::string &
id, std::string value);
118 std::unordered_set<std::string>
_tags;
bool ContainsAttribute(const std::string &id) const
bool MatchTags(const std::string &wildcard_pattern) const
Test if any of the flags matches wildcard_pattern.
const ActorAttribute & GetAttribute(const std::string &id) const
This file contains definitions of common data structures used in traffic manager. ...
const std::string & GetId() const
std::unordered_map< std::string, ActorAttribute > _attributes
static auto make_map_values_const_iterator(It it)
Creates an iterator over const references to the values of a map.
std::vector< std::string > GetTags() const
std::unordered_set< std::string > _tags
void SetAttribute(const std::string &id, std::string value)
Set the value of the attribute given by id.
An attribute of an ActorBlueprint.
bool ContainsTag(const std::string &tag) const
rpc::ActorDescription MakeActorDescription() const
ActorBlueprint(rpc::ActorDefinition actor_definition)
Contains all the necessary information for spawning an Actor.