Annotation¶
-
class
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 annotation nc:operation
(nc
refers to the netconf namespace) on the data nodes to describe the kind of operation one needs to perform on the given DataNode
.
- std::string
m_ns
¶Annotation namespace.
- std::string
m_name
¶Annotation name.
- std::string
m_val
¶Annotation 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¶