Classes | Macros | Typedefs | Enumerations | Functions
msdwgappdata.fdf File Reference

Classes

union  xDataValueUnion
 

Macros

#define __msdwgappdataH__
 
#define XDATAVALUE_Int16   1
 
#define XDATAVALUE_Int32   2
 
#define XDATAVALUE_ElementId   3
 
#define XDATAVALUE_Double   4
 
#define XDATAVALUE_Point   5
 
#define XDATAVALUE_String   6
 
#define XDATAVALUE_Binary   7
 

Typedefs

typedef union xDataValueUnion XDataValueUnion
 

Enumerations

enum  DWGXDataType {
  DWGXDATA_String = 1000, DWGXDATA_Application_Name = 1001, DWGXDATA_ControlString = 1002, DWGXDATA_LayerName = 1003,
  DWGXDATA_BinaryData = 1004, DWGXDATA_DatabaseHandle = 1005, DWGXDATA_Point = 1010, DWGXDATA_Space_Point = 1011,
  DWGXDATA_Disp_Point = 1012, DWGXDATA_Dir_Point = 1013, DWGXDATA_Real = 1040, DWGXDATA_Dist = 1041,
  DWGXDATA_Scale = 1042, DWGXDATA_Integer = 1070, DWGXDATA_Long_Integer = 1071
}
 

Functions

StatusInt mdlLinkage_getXDataGroupCode (XDataValueUnion *pValue, int *pValueType, UInt32 *pDataSize, int *pGroupCode, MSElementP pElement, UInt32 *pIndex)
 Used to extract an XData groupcode from an element. More...
 
StatusInt mdlLinkage_addXDataGroupCode (MSElementDescrH ppDescr, int groupCode, void *pData, int dataSize)
 Used to add XData groupcode to an element. More...
 
StatusInt mdlLinkage_findApplicationXData (UInt32 *pIndex, MSElementP pElement, DgnPlatform::ElementId applicationId)
 AutoCAD XData is organized by application. More...
 
StatusInt mdlRegApp_idFromName (DgnPlatform::ElementId *pId, WChar *pName, DgnFileP fileObj, bool createIfNotFound)
 
AutoCAD identifies data for applications through a table of Registered Applications

that is stored within each file. More...

 
StatusInt mdlRegApp_nameFromId (WChar *pName, DgnFileP fileObj, DgnPlatform::ElementId id)
 
Return the name of an application for a given ID by looking for

the ID within fileObj's registered application table. More...

 
StatusInt mdlDwgObjectPtr_extract (int *pDataBits, void **ppData, int *pDataSize, MSElementDescrP pDescr)
 Extract information from a "ObjectPtr" element. More...
 
StatusInt mdlDwgProxyObject_extract (int *pDataBits, int *pObjectDrawingFormat, int *pOrigDataFormat, int *pClassId, void **ppData, int *pDataSize, DgnPlatform::ElementId *pObjectIds, int *pObjectTypes, int nObjects, MSElementDescrP pDescr)
 Extract information from a "ProxyObject" element. More...
 
StatusInt mdlXRecord_extractGroupData (void **ppData, int *pDataSize, MSElementDescrP pDescr)
 Extract the group data from an "XRecord" element. More...
 
StatusInt mdlXRecord_getGroupCode (XDataValueUnion *pValue, int *pValueType, UInt32 *pDataSize, int *pGroupCode, UInt32 *pIndex, void *pGroupData, UInt32 groupDataSize)
 Extract data for a single group code from XRecord group data. More...
 
bool mdlElement_isXRecord (MSElementP pElement)
 Return true if the element represents a DWG XRecord. More...
 
bool mdlElement_isObjectPtr (MSElementP pElement)
 Return true if the element represents a DWG Object Ptr. More...
 
bool mdlElement_isProxyObject (MSElementP pElement)
 Return true if the element represents a DWG Proxy Object. More...
 
bool mdlElement_isDictionary (MSElementP pElement)
 Return true if the element represents a DWG XRecord. More...
 
StatusInt mdlDictionary_findDictionary (MSElementDescrH ppDescr, const WChar *pName, DgnModelRefP modelRef)
 Find the a Dictionary element with the specified name. More...
 
StatusInt mdlDictionary_extractEntry (DgnPlatform::ElementId *pID, WChar *pName, int nameSize, MSElementDescrCP pEntry)
 Extract the name and element ID for a dictionary entry. More...
 

Macro Definition Documentation

#define __msdwgappdataH__
#define XDATAVALUE_Binary   7
#define XDATAVALUE_Double   4
#define XDATAVALUE_ElementId   3
#define XDATAVALUE_Int16   1
#define XDATAVALUE_Int32   2
#define XDATAVALUE_Point   5
#define XDATAVALUE_String   6

Typedef Documentation

Enumeration Type Documentation

Enumerator
DWGXDATA_String 
DWGXDATA_Application_Name 
DWGXDATA_ControlString 
DWGXDATA_LayerName 
DWGXDATA_BinaryData 
DWGXDATA_DatabaseHandle 
DWGXDATA_Point 
DWGXDATA_Space_Point 
DWGXDATA_Disp_Point 
DWGXDATA_Dir_Point 
DWGXDATA_Real 
DWGXDATA_Dist 
DWGXDATA_Scale 
DWGXDATA_Integer 
DWGXDATA_Long_Integer 

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