Class used to process list of XML Fragments.
More...
#include <XMLFragment.h>
Class used to process list of XML Fragments.
- See also
- XmlFragment
only const iteration is possible
Appends an XML Fragment List to an XML Fragment List.
- Parameters
-
[in] | xmlFragment | XML Fragment to append. |
- Returns
- normally SUCCESS; MDLERR_BADARG if xmlFragment is invalid
Attach all XML Fragments in the list as linkages to specified element.
- Parameters
-
[in] | eeh | Element to receive linkages |
- See also
- ExtractFromElement
Returns the beginning of an iteration over the XMLFragments within this XmlFragmentList.
Constructs an XML Fragment List containing a single XML Fragment.
- Parameters
-
[in] | pText | XML text to set (or NULL). |
[in] | pSchemaURN | Schema URN to set (or NULL). |
[in] | appID | The ID of the "app" to which this XmlFragment belongs. The app identifier is a Bentley assigned application identifier. (typically an application's LinkageID). |
[in] | appType | The type of this XmlFragment within the "app" to which it belongs. The app type is an application assigned value which uniquely identifies the XML Fragment within the application's app. |
- Returns
- XmlFragmentListPtr, use IsValid() test to see if the method was successful.
Constructs an XML Fragment List and populate it with an XML Fragment created from the stream buffer data.
- Parameters
-
[in] | pBuffer | A byte buffer containing the XML fragment data |
[in] | ulBufferSize | The size of data in buffer |
[in] | appId | The ID of the "app" to which this XmlFragment belongs |
[in] | appType | The type of this XmlFragment within the "app" to which it belongs |
Constructs an XML Fragment List containing a single XML Fragment.
- Parameters
-
[in] | xmlFragment | XML fragment to be used as the fist entry in the list. |
- Returns
- XmlFragmentListPtr, use IsValid() test to see if the method was successful.
Returns the end of the an iteration over the XMLFragments within this XmlFragmentList.
Constructs an XML Fragment List by containing all XML Fragments from all linkages matching the specifiec AppId and AppType.
- Parameters
-
[in] | eh | Element that contains XML Fragment linkages |
[in] | pAppID | The AppID of the linkage to find. May be NULL if pAppType is also NULL, which means find any XML Fragment linkage. |
[in] | pAppType | The AppType of the linkage to find. If NULL only the pAppID test must be satisfied for a linkage to be found. |
Get the number of XML Fragments in a XML Fragment List.
Get specified XML Fragment from an XML Fragment List.
- Parameters
-
[in] | index | Index of fragment in list. |
- Returns
- a valid XmlFragmentPtr if index is valid. If not XmlFragment.IsValid() will return false.
Prepend an XML Fragment List to the head of an XML Fragment List.
- Parameters
-
[in] | xmlFragment | XML Fragment to prepend. |
- Returns
- normally SUCCESS; MDLERR_BADARG if xmlFragment is invalid
Remove an XML Fragment from an XML Fragment List.
- Parameters
-
[in] | index | Index of fragment in list. |
- Returns
- normally SUCCESS; MDLERR_BADARG if indexOfFragment is invalid
The documentation for this struct was generated from the following file: