Annotation¶
-
class
ydk::path::Annotation¶ Class represents an annotation.
An annotation has a namespace and a name and an associated value. Annotations are not defined in the YANG model and hence just provide a means of hanging some useful data to
DataNode. For example netconf edit-config rpc operation uses the annotationnc:operation(ncrefers to the netconf namespace) on the data nodes to describe the kind of operation one needs to perform on the givenDataNode.-
std::string
m_ns¶ Annotation’s namespace.
-
std::string
m_name¶ Annotation’s name.
-
std::string
m_val¶ Annotation’s value.
-
void
Annotation(const std::string &ns, const std::string &name, const std::string &val)¶
-
void
Annotation(const Annotation &an)¶
-
void
Annotation(Annotation &&an)¶
-
Annotation &
operator=(const Annotation &an)¶
-
Annotation &
operator=(Annotation &&an)¶
-
bool
operator==(const Annotation &an) const¶
-
std::string