23 #ifndef NDN_CONFIG_NAME_RELATION_HPP
24 #define NDN_CONFIG_NAME_RELATION_HPP
26 #include "../../../name.hpp"
static bool checkNameRelation(Relation relation, const Name &name1, const Name &name2)
Check whether name1 and name2 satisfy the relation.
A Name holds an array of Name::Component and represents an NDN name.
Definition: name.hpp:40
static std::string toString(Relation relation)
Get a string representation of the Relation enum.
static Relation getNameRelationFromString(const std::string &relationString)
Convert relationString to a ConfigNameRelation::Relation enum.
ConfigNameRelation defines the ConfigNameRelation::Relation enum and static methods to work with name...
Definition: config-name-relation.hpp:33