Typedefs | Functions
xmlfragment.fdf File Reference
#include <Mstn\MdlApi\mdl.h>
#include <stdio.h>
#include <Mstn\basedefs.h>
#include <Mstn\basetype.h>
#include <Mstn\MdlApi\mselems.h>
#include <Mstn\MdlApi\xmlfragment.h>

Typedefs

typedef int deleteXMLFragmentCallback (XMLFragmentListP pXMLFragmentList, CallbackArgP pUserParams)
 UserFunction is called for every XMl fragment that passes the criteria setup in the mdlXMLFragmentList_stripFromElement. More...
 

Functions

XMLFragmentListP mdlXMLFragmentList_construct (WChar *pText, WChar *pSchemaURN, UShort appID, UShort appType)
 XML Fragment/FragmentList Functions More...
 
StatusInt mdlXMLFragmentList_free (XMLFragmentListP *ppThis)
 Frees memory of the XML Fragment List. More...
 
StatusInt mdlXMLFragment_getAppID (UShort *pAppID, XMLFragmentCP pThis)
 Retrieves the app identifier from the given XML Fragment. More...
 
StatusInt mdlXMLFragment_setAppID (XMLFragmentP pThis, UShort appID)
 Sets the app identifier for the given XML Fragment. More...
 
StatusInt mdlXMLFragment_getAppType (UShort *pAppType, XMLFragmentCP pThis)
 Retrieves the app type from the given XML Fragment. More...
 
StatusInt mdlXMLFragment_setAppType (XMLFragmentP pThis, UShort appType)
 Sets the app type for the given XML Fragment. More...
 
StatusInt mdlXMLFragment_getSchemaURN (WChar **ppSchemaURN, XMLFragmentCP pThis)
 Get the Schema URN from an XML Fragment. More...
 
StatusInt mdlXMLFragment_setSchemaURN (XMLFragmentP pThis, const WChar *pSchemaURN)
 Sets the Schema URN for an XML Fragment. More...
 
StatusInt mdlXMLFragment_getText (WChar **ppText, XMLFragmentCP pThis)
 Get the XML Text from an XML Fragment. More...
 
StatusInt mdlXMLFragment_setText (XMLFragmentP pThis, const WChar *pText)
 Sets the XML Text for an XML Fragment. More...
 
StatusInt mdlXMLFragment_getIsCompressed (bool *pIsCompressed, XMLFragmentCP pThis)
 Get the "is compressed" flag value from an XML Fragment. More...
 
StatusInt mdlXMLFragment_setIsCompressed (XMLFragmentP pThis, bool isCompressed)
 Sets the "is compressed" flag value for an XML Fragment. More...
 
StatusInt mdlXMLFragmentList_createXMLElementDescriptor (MSElementDescrH ppDescr, XMLFragmentListP *ppThis, bool freeXMLFragmentList)
 Creates a XMLFragment element descriptor (chain) from all entries in a XMLFragmentList. More...
 
XMLFragmentListP mdlXMLFragmentList_constructFromXMLFragmentElement (MSElementDescrCP pDescr)
 Constructs an XML Fragment List from an XML Element element descriptor. More...
 
StatusInt mdlXMLFragmentList_attachToElement (XMLFragmentListP *ppXMLFragmentList, MSElementDescrH ppElmDscr, bool freeXMLFragmentList)
 Attaches the XMLFragmentList entries to the first element of a descriptor chain. More...
 
StatusInt mdlXMLFragmentList_extractFromElement (XMLFragmentListP *ppXMLFragmentList, MSElementP pElm)
 Retrieves a list of all XMLFragments attached to the given element descriptor. More...
 
StatusInt mdlXMLFragmentList_extractFromElementByAppIDAndType (XMLFragmentListP *ppXMLFragmentList, MSElementP pElm, const UShort *pAppID, const UShort *pAppType)
 Retrieves a list of XMLFragments attached to the given element descriptor using the search criteria of App ID and/or App Type. More...
 
StatusInt mdlXMLFragmentList_stripAllFromElement (XMLFragmentListP *ppXMLFragmentList, MSElementP pElm)
 Deletes all XMLFragment attachments from the input element. More...
 
StatusInt mdlXMLFragmentList_stripFromElementByAppIDAndType (XMLFragmentListP *ppXMLFragmentList, MSElementP pElm, UShort *pAppID, UShort *pAppType)
 Deletes XMLFragment attachments from the input element using the search criteria of App ID and/or App Type. More...
 
UInt32 mdlXMLFragmentList_getCount (XMLFragmentListP pThis)
 Retrieves the count of XMLFragments in an XML Fragment List. More...
 
StatusInt mdlXMLFragmentList_append (XMLFragmentListP *ppThis, XMLFragmentP pAppendFragment)
 Appends an XML Fragment to an XML Fragment List. More...
 
StatusInt mdlXMLFragmentList_prepend (XMLFragmentListP *ppThis, XMLFragmentP pPrependFragment)
 Prepends an XML Fragment to an XML Fragment List. More...
 
StatusInt mdlXMLFragmentList_duplicate (XMLFragmentListP *ppCopy, XMLFragmentListP pThis)
 Creates a duplicate XML Fragment list from all entries in the given XML Fragment List. More...
 
StatusInt mdlXMLFragmentList_duplicateSingle (XMLFragmentListP *ppCopy, XMLFragmentListP pThis)
 Creates a duplicate XML Fragment list from only the current XML Fragment List entry. More...
 
Public XMLFragmentP mdlXMLFragmentList_getXMLFragmentAtIndex (XMLFragmentListP pThis, UInt32 index)
 Retrieves the XML Fragment from the input XML Fragment List Entry. More...
 
XMLFragmentP mdlXMLFragmentList_getXMLFragment (XMLFragmentListP pThis)
 Retrieves the first XML Fragment from the input XML Fragment List Entry. More...
 

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.