#include <XMLAttributeReference.h>
Wrapper class; for instance, used in IXMLNodeSelectionSuite methods.
Specialised copy semantics for K2Vector, not plain old data type; we should define copy constructor and assignment operator for this class.
Constructor
- Parameters
| ref | specifies object this attribute is associated with |
| attr | names the attribute of interest |
| XMLAttributeReference::XMLAttributeReference | ( | const XMLReference & | ref | ) | |
| inline |
Constructor
- Parameters
| ref | specifies object this attribute is associated with |
Copy constructor
- Parameters
| node | specifies node in logical structure whose XMLReference is to be encapsulated |
| const PMString& XMLAttributeReference::GetAttributeString | ( | | ) | const |
| inline |
Accessor for attribute name
- Returns
- attribute name
| const XMLReference& XMLAttributeReference::GetXMLReference | ( | | ) | const |
| inline |
Inequality operator
- Parameters
- Returns
- kTrue if this and comparand are not equal by member-wise comparisons, kFalse otherwise
Needed for use in sorted lists.
- Parameters
| other | - Indicates the object to compare myself to. |
Equality operator
- Parameters
- Returns
- kTrue if this and comparand are equal by member-wise comparisons, kFalse otherwise