XElementService Class Reference

A base class for the element services with a persistent to DWG state. More...

Inheritance diagram for XElementService:

ElementService IElementService NamedPropertiesService List of all members.

Public Member Functions

override void Load ()
 Loads the Data property from DWG.
override void Save ()
 Saves the Data property to DWG.

Protected Member Functions

 XElementService (AppTreeObj parent)
 Protected constructor.
override void OnInit (InitContext initCtx)
 OnInit notification.
override void OnDispose ()
 OnDispose notification.

Properties

internal XElementServiceData Data
 Data property.

Classes

class  Factory
 XElementService factory. More...

Detailed Description

A base class for the element services with a persistent to DWG state.

To create a custom descendant of XElementService inherit it and also inherit its persistent data state from XElementServiceData class. In the descendant constructor initialize its Data property with an instance of the inherited data class.


Constructor & Destructor Documentation

XElementService AppTreeObj  parent  )  [protected]
 

Protected constructor.

Parameters:
parent Parent, for internal use only


Member Function Documentation

override void OnInit InitContext  initCtx  )  [protected]
 

OnInit notification.

Parameters:
initCtx InitContext, for internal use only

override void OnDispose  )  [protected]
 

OnDispose notification.

override void Load  )  [virtual]
 

Loads the Data property from DWG.

Implements ElementService.

override void Save  )  [virtual]
 

Saves the Data property to DWG.

Implements ElementService.


Property Documentation

internal XElementServiceData Data [get, set, protected]
 

Data property.

Should be initialized with a custom data class instance in a descendant constructor.


Generated on Sun May 28 08:56:22 2006 for Acmx.AcadConnectivity documentation by  doxygen 1.4.5