Constructors
Synopses
Declared in <balxml_elementattribute.h>
Construct a null attribute object: Set all string facets to zero, the namespace ID to INT_MIN, and flags to zero.
Construct an attribute object with the specified, prefixStack, qualifiedName, and value, with optionally specified prefix, localName, namespaceId, namespaceUri, and flags. Except for flags, if any of the optional arguments are null (for pointers) or INT_MIN (for integer arguments), then the corresponding facet will computed from the other arguments on an as‐needed basis. If all of the optional arguments are given non‐null, non‐`INT_MIN` values, then prefixStack is unused and may be null. Arguments are permitted to be inconsistent with one another (e.g., prefix may not match the beginning of qualifiedName) and will produce an object for with facets that are inconsistent with one another. The constructed object will become invalid if any of the supplied pointers is invalidated during its lifetime (or before it is reset). An invalid object may be destroyed or reset, but any other access yields undefined behavior.
ElementAttribute(
PrefixStack const* prefixStack,
char const* qualifiedName,
char const* value,
char const* prefix = 0,
char const* localName = 0,
int namespaceId = INT_MIN,
char const* namespaceUri = 0,
unsigned int flags = 0);
Created with MrDocs