void setRef(QName *ref)
It sets a reference to a named attribute.
This class models a keyref element from a XML Schema element.
A class to deal with XML qualified names.
QName * getRef() const
It returns the reference to a named element.
This is the base class for XML Schema elements that are related to identity constraint.
QName * m_ref
It specifies the name of a key or unique element defined in this or another schema. (Required)
A class to be used to represent XML qualified names.
This class models a keyref element from a XML Schema element.
IdentityConstraint * clone() const
It clones the object.
KeyRef(QName *refer, std::string *name, Annotation *ann=0, std::string *id=0)
Constructor.
KeyRef & operator=(const KeyRef &rhs)
Assignment operator.
A class that models a XSD annotation element.