Inheritance diagram for HPS.Object:
HPS.ConditionalExpression HPS.Control HPS.Definition HPS.DriverEventHandler HPS.EventDispatcher HPS.EventHandler HPS.EventNotifier HPS.FontInfoState HPS.FontSearchResults HPS.FontSearchResultsIterator HPS.GlyphElement HPS.HighlightSearchResults HPS.HighlightSearchResultsIterator HPS.HighlightState HPS.IONotifier HPS.Key HPS.KeyboardState HPS.KeyPath HPS.Kit HPS.LinePatternElement HPS.MouseState HPS.OptimizeMappingResults HPS.OptimizeMappingResultsIterator HPS.SearchResults HPS.SearchResultsIterator HPS.SelectionItem HPS.SelectionResults HPS.SelectionResultsIterator HPS.ShapeElement HPS.Sprocket HPS.Stream.Toolkit HPS.TouchState HPS.TreeContext HPS.TrimElement HPS.UpdateNotifier HPS.World

Public Member Functions

virtual void Dispose ()
 
virtual bool Empty ()
 
IntPtr GetClassID ()
 
IntPtr GetInstanceID ()
 
bool HasType (HPS.Type in_mask)
 
 Object (HPS.Object that)
 
virtual HPS.Type ObjectType ()
 
virtual void Reset ()
 
virtual HPS.Type Type ()
 

Static Public Member Functions

static IntPtr ClassID< T > ()
 

Protected Member Functions

virtual void deleteCptr ()
 
virtual IntPtr GetNonDirectorClassID ()
 

Protected Attributes

bool cMemOwn
 
HandleRef cptr
 

Detailed Description

The Object class is the common base class of most Visualize classes.

Member Function Documentation

◆ Empty()

virtual bool HPS.Object.Empty ( )
inlinevirtual

Indicates whether this object has any values set on it.

Note
An empty object is not necessarily invalid. For example, all fresh new Kits, or Objects that have been reset, are both valid and empty.
Returns
true if no values are set on this object, false otherwise.
See also
HPS.Object.Reset()

Reimplemented in HPS.Publish.ExportOptionsKit, HPS.Publish.SlideTableKit, HPS.Exchange.NURBSConversionOptionsKit, HPS.Publish.TextFieldKit, HPS.Publish.SignatureFieldKit, HPS.Exchange.ExportIGESOptionsKit, HPS.Publish.DropDownListKit, HPS.Exchange.ExportSTEPOptionsKit, HPS.Exchange.ExportXMLOptionsKit, HPS.Exchange.ExportU3DOptionsKit, HPS.Publish.ListBoxKit, HPS.Exchange.ExportOBJOptionsKit, HPS.Exchange.ExportSTLOptionsKit, HPS.Exchange.ExportPRCOptionsKit, HPS.Publish.RadioButtonKit, HPS.Exchange.ExportJTOptionsKit, HPS.Exchange.ExportACISOptionsKit, HPS.Exchange.ExportFBXOptionsKit, HPS.Publish.CheckBoxKit, HPS.Exchange.Export3MFOptionsKit, HPS.Publish.ButtonKit, HPS.Exchange.ModelFileImportOptionsKit, HPS.Publish.LinkKit, HPS.Publish.TableKit, HPS.Stream.ExportOptionsKit, HPS.Publish.ImageKit, HPS.Stream.ImportResultsKit, HPS.Publish.TextKit, HPS.Publish.ViewKit, HPS.Publish.ArtworkKit, HPS.Parasolid.ExportOptionsKit, HPS.Parasolid.ImportOptionsKit, HPS.Exchange.ImportOptionsKit, HPS.Publish.AnnotationKit, HPS.Exchange.ExportParasolidOptionsKit, HPS.Parasolid.LineTessellationKit, HPS.Exchange.TranslationOptionsKit, HPS.OOC.ImportOptionsKit, HPS.KeyPath, HPS.DWG.ImportOptionsKit, HPS.Exchange.TessellationOptionsKit, HPS.Hardcopy.GDI.ExportOptionsKit, HPS.Publish.PageKit, HPS.Parasolid.FacetTessellationKit, HPS.Exchange.Configuration, HPS.HCA.NetworkImportOptionsKit, HPS.Sketchup.ImportOptionsKit, HPS.Image.ImportOptionsKit, HPS.OBJ.ImportResultsKit, HPS.STL.ImportResultsKit, HPS.PointCloud.ImportOptionsKit, HPS.Hardcopy.File.ExportOptionsKit, HPS.Stream.ImportOptionsKit, HPS.HCA.ImportOptionsKit, HPS.Image.ExportOptionsKit, HPS.Publish.DocumentKit, HPS.OBJ.ImportOptionsKit, HPS.PointCloud.ImportResultsKit, HPS.STL.ImportOptionsKit, HPS.Sketchup.ImportResultsKit, HPS.HighlightOptionsKit, HPS.ShellKit, HPS.ShellRelationOptionsKit, HPS.SpotlightKit, HPS.ImageKit, HPS.GlyphKit, HPS.LinePatternKit, HPS.StandAloneWindowOptionsKit, HPS.ApplicationWindowOptionsKit, HPS.BoundingKit, HPS.CameraKit, HPS.CircleKit, HPS.CircularArcKit, HPS.CircularWedgeKit, HPS.ContourLineKit, HPS.CullingKit, HPS.CurveAttributeKit, HPS.CuttingSectionAttributeKit, HPS.CuttingSectionKit, HPS.CylinderAttributeKit, HPS.CylinderKit, HPS.DistantLightKit, HPS.DrawingAttributeKit, HPS.EdgeAttributeKit, HPS.EllipseKit, HPS.EllipticalArcKit, HPS.GridKit, HPS.HiddenLineAttributeKit, HPS.HighlightSearchOptionsKit, HPS.InfiniteLineKit, HPS.LightingAttributeKit, HPS.LineAttributeKit, HPS.LineKit, HPS.MarkerAttributeKit, HPS.MarkerKit, HPS.MaterialMappingKit, HPS.MeshKit, HPS.NURBSCurveKit, HPS.NURBSSurfaceAttributeKit, HPS.NURBSSurfaceKit, HPS.OffScreenWindowOptionsKit, HPS.PBRMaterialKit, HPS.PerformanceKit, HPS.PolygonKit, HPS.PostProcessEffectsKit, HPS.SearchOptionsKit, HPS.SegmentOptimizationOptionsKit, HPS.SelectabilityKit, HPS.SelectionOptionsKit, HPS.ShellOptimizationOptionsKit, HPS.ShellRelationResultsKit, HPS.SphereAttributeKit, HPS.SphereKit, HPS.TextAttributeKit, HPS.TextKit, HPS.TextureOptionsKit, HPS.TransparencyKit, HPS.UpdateOptionsKit, HPS.VisibilityKit, HPS.VisualEffectsKit, HPS.AttributeLockKit, HPS.DebuggingKit, HPS.FontInfoState, HPS.SubwindowKit, HPS.CutGeometryGatheringOptionsKit, HPS.ColorInterpolationKit, HPS.TransformMaskKit, HPS.LinePatternOptionsKit, HPS.LinePatternParallelKit, HPS.MaterialKit, HPS.ShapeKit, HPS.TrimKit, HPS.ComponentPath, and HPS.WindowInfoKit.

◆ GetInstanceID()

IntPtr HPS.Object.GetInstanceID ( )
inline

Returns the object's database handle, which can be used to determine which instance of a class the object is. For example, controls are simply aliases for segment keys that group related functions. Therefore, a SegmentKey and all of its controls would return the same instance id. Different keys and controls will return the same value if they are backed by the same database resource.

Returns
A value unique to an instance of an object and all objects that are backed by the same database resource. This means it would be 4 bytes on a 32-bit system and 8 bytes on a 64-bit system.

◆ HasType()

bool HPS.Object.HasType ( HPS.Type  in_mask)
inline

This function indicates whether this Object has the given Type mask.

Warning
This function must synchronize the database (by waiting for all pending database operations to complete) in order to know the type status of this object with certainty. Therefore this function can negatively impact performance. You should vigorously avoid using this function in high-traffic or peformance-critical areas of your code.
Parameters
in_maskThe Type mask to check against this Object.
Returns
true if this Object has the given Type mask, false otherwise.

◆ ObjectType()

virtual HPS.Type HPS.Object.ObjectType ( )
inlinevirtual

This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).

Returns
The declared type of the object in question, which may differ from the true, underlying type.

Reimplemented in HPS.Publish.ExportOptionsKit, HPS.Publish.PageControl, HPS.Publish.DocumentKey, HPS.Publish.SlideTableKit, HPS.Exchange.NURBSConversionOptionsKit, HPS.Publish.TextFieldKit, HPS.Publish.SignatureFieldKit, HPS.Exchange.ExportIGESOptionsKit, HPS.Publish.DropDownListKit, HPS.Exchange.ExportSTEPOptionsKit, HPS.Exchange.ExportXMLOptionsKit, HPS.Exchange.ExportU3DOptionsKit, HPS.Publish.ListBoxKit, HPS.Exchange.ExportOBJOptionsKit, HPS.Exchange.ExportSTLOptionsKit, HPS.Exchange.ExportPRCOptionsKit, HPS.Publish.RadioButtonKit, HPS.Exchange.ExportJTOptionsKit, HPS.Exchange.ExportACISOptionsKit, HPS.Exchange.ExportFBXOptionsKit, HPS.Publish.CheckBoxKit, HPS.Exchange.Export3MFOptionsKit, HPS.Publish.ButtonKit, HPS.Exchange.ModelFileImportOptionsKit, HPS.Stream.ExportNotifier, HPS.Publish.LinkKit, HPS.Publish.TableKit, HPS.Stream.ExportOptionsKit, HPS.Publish.ImageKit, HPS.Stream.ImportResultsKit, HPS.Publish.TextKit, HPS.Publish.ViewKit, HPS.Publish.ArtworkKit, HPS.Parasolid.ExportOptionsKit, HPS.Parasolid.ImportOptionsKit, HPS.Exchange.ImportOptionsKit, HPS.Exchange.ExportNotifier, HPS.Parasolid.ImportNotifier, HPS.Exchange.ImportNotifier, HPS.Publish.AnnotationKit, HPS.Parasolid.CADModel, HPS.Parasolid.Component, HPS.Exchange.Filter, HPS.Exchange.Capture, HPS.Exchange.CADModel, HPS.Exchange.ProductOccurrence, HPS.Exchange.ReloadNotifier, HPS.Exchange.ExportParasolidOptionsKit, HPS.Parasolid.LineTessellationKit, HPS.HCA.ModelTree, HPS.Exchange.TranslationOptionsKit, HPS.Exchange.TranslationNotifier, HPS.HCA.ModelTreeItem, HPS.OOC.ImportOptionsKit, HPS.Hardcopy.GDI.ExportOptionsKit, HPS.DWG.ImportOptionsKit, HPS.Exchange.TessellationOptionsKit, HPS.OOC.ImportNotifier, HPS.Publish.PageKit, HPS.DWG.ImportNotifier, HPS.Exchange.Sheet, HPS.OBJ.ExportNotifier, HPS.Parasolid.FacetTessellationKit, HPS.OBJ.ImportNotifier, HPS.SceneTree, HPS.STL.ImportNotifier, HPS.Stream.Toolkit, HPS.Exchange.Configuration, HPS.PointCloud.ImportNotifier, HPS.DWG.CADModel, HPS.HCA.NetworkImportOptionsKit, HPS.Sketchup.ImportOptionsKit, HPS.Image.ImportOptionsKit, HPS.OBJ.ImportResultsKit, HPS.STL.ImportResultsKit, HPS.Sketchup.ImportNotifier, HPS.DWG.Layer, HPS.Exchange.Component, HPS.Component, HPS.PointCloud.ImportOptionsKit, HPS.Hardcopy.File.ExportOptionsKit, HPS.SceneTreeItem, HPS.EventHandler, HPS.DWG.Component, HPS.Stream.ImportOptionsKit, HPS.ComponentTree, HPS.HCA.ImportOptionsKit, HPS.ComponentTreeItem, HPS.DriverEventHandler, HPS.Operator, HPS.Image.ExportOptionsKit, HPS.Stream.ImportNotifier, HPS.DWG.Layout, HPS.EllipticalArcShapeElement, HPS.HCA.ImportNotifier, HPS.ExchangeParasolid.ImportNotifier, HPS.OBJ.ImportOptionsKit, HPS.PointCloud.ImportResultsKit, HPS.STL.ImportOptionsKit, HPS.Publish.DocumentKit, HPS.Sketchup.ImportResultsKit, HPS.AnchorShapeElement, HPS.InfiniteLineGlyphElement, HPS.LineShapeElement, HPS.ConditionalExpression, HPS.CircularArcGlyphElement, HPS.CircularArcShapeElement, HPS.EllipseShapeElement, HPS.BlankLinePatternElement, HPS.CircleShapeElement, HPS.EllipseGlyphElement, HPS.SolidLinePatternElement, HPS.TrimElement, HPS.LineGlyphElement, HPS.PolygonShapeElement, HPS.DotGlyphElement, HPS.HighlightOptionsKit, HPS.BooleanMetadata, HPS.CADModel, HPS.DoubleMetadata, HPS.IntegerMetadata, HPS.StringMetadata, HPS.TimeMetadata, HPS.UnsignedIntegerMetadata, HPS.SprocketPath, HPS.ModellingMatrixControl, HPS.ComponentPath, HPS.DrawingAttributeControl, HPS.AxisTriadControl, HPS.NavigationCubeControl, HPS.UpdateOptionsControl, HPS.ApplicationWindowKey, HPS.CubeMapDefinition, HPS.CuttingSectionKey, HPS.GlyphDefinition, HPS.GlyphLinePatternElement, HPS.GridKey, HPS.HighlightControl, HPS.ImageDefinition, HPS.ImageGlyphElement, HPS.ImageKit, HPS.IncludeKey, HPS.InfiniteLineKey, HPS.LeaderLineClippingElement, HPS.LinePatternDefinition, HPS.MarkerKey, HPS.MaterialPaletteDefinition, HPS.MeshKey, HPS.NamedStyleDefinition, HPS.OffScreenWindowKey, HPS.SelectionOptionsControl, HPS.ShapeDefinition, HPS.SphereGlyphElement, HPS.StandAloneWindowKey, HPS.TextureDefinition, HPS.StandAloneWindowOptionsControl, HPS.ApplicationWindowOptionsControl, HPS.AttributeLockControl, HPS.CircleKey, HPS.CircularArcKey, HPS.CircularWedgeKey, HPS.CylinderKey, HPS.DistantLightKey, HPS.EllipseKey, HPS.EllipticalArcKey, HPS.LineKey, HPS.NURBSCurveKey, HPS.NURBSSurfaceKey, HPS.OffScreenWindowOptionsControl, HPS.PolygonKey, HPS.PortfolioKey, HPS.ReferenceKey, HPS.ShellKey, HPS.SphereKey, HPS.SpotlightKey, HPS.StyleKey, HPS.TextKey, HPS.TreeContext, HPS.World, HPS.EdgeAttributeControl, HPS.HiddenLineAttributeControl, HPS.KeyPath, HPS.LightingAttributeControl, HPS.LineAttributeControl, HPS.MarkerAttributeControl, HPS.MaterialMappingControl, HPS.NURBSSurfaceAttributeControl, HPS.PerformanceControl, HPS.Capture, HPS.Filter, HPS.GeometryKey, HPS.SelectabilityControl, HPS.SubwindowControl, HPS.TextAttributeControl, HPS.TransparencyControl, HPS.VisibilityControl, HPS.VisualEffectsControl, HPS.BoundingControl, HPS.CameraControl, HPS.ColorInterpolationControl, HPS.ConditionControl, HPS.ContourLineControl, HPS.CullingControl, HPS.CurveAttributeControl, HPS.CuttingSectionAttributeControl, HPS.CylinderAttributeControl, HPS.DebuggingControl, HPS.Key, HPS.PortfolioControl, HPS.PostProcessEffectsControl, HPS.SegmentKey, HPS.SphereAttributeControl, HPS.StyleControl, HPS.TextureMatrixControl, HPS.TransformMaskControl, HPS.WindowInfoControl, HPS.WindowKey, HPS.Metadata, HPS.FontSearchResults, HPS.HighlightSearchResults, HPS.OptimizeMappingResults, HPS.SearchResults, HPS.SelectionControl, HPS.View, HPS.EventDispatcher, HPS.StandAloneWindowOptionsKit, HPS.ApplicationWindowOptionsKit, HPS.BoundingKit, HPS.CameraKit, HPS.CircleKit, HPS.CircularArcKit, HPS.CircularWedgeKit, HPS.ContourLineKit, HPS.CullingKit, HPS.CurveAttributeKit, HPS.CuttingSectionAttributeKit, HPS.CuttingSectionKit, HPS.CylinderAttributeKit, HPS.CylinderKit, HPS.Definition, HPS.DistantLightKit, HPS.DrawingAttributeKit, HPS.EdgeAttributeKit, HPS.EllipseKit, HPS.EllipticalArcKit, HPS.EventNotifier, HPS.FontSearchResultsIterator, HPS.GlyphElement, HPS.GlyphKit, HPS.GridKit, HPS.HiddenLineAttributeKit, HPS.HighlightSearchOptionsKit, HPS.HighlightSearchResultsIterator, HPS.HighlightState, HPS.InfiniteLineKit, HPS.IONotifier, HPS.KeyboardState, HPS.LightingAttributeKit, HPS.LineAttributeKit, HPS.LineKit, HPS.LinePatternElement, HPS.LinePatternKit, HPS.LinePatternOptionsKit, HPS.LinePatternParallelKit, HPS.MarkerAttributeKit, HPS.MarkerKit, HPS.MaterialKit, HPS.MaterialMappingKit, HPS.MeshKit, HPS.MouseState, HPS.NURBSCurveKit, HPS.NURBSSurfaceAttributeKit, HPS.NURBSSurfaceKit, HPS.OffScreenWindowOptionsKit, HPS.OptimizeMappingResultsIterator, HPS.PBRMaterialKit, HPS.PerformanceKit, HPS.PolygonKit, HPS.PostProcessEffectsKit, HPS.SearchOptionsKit, HPS.SearchResultsIterator, HPS.SegmentOptimizationOptionsKit, HPS.SelectabilityKit, HPS.SelectionItem, HPS.SelectionOptionsKit, HPS.SelectionResults, HPS.SelectionResultsIterator, HPS.ShapeElement, HPS.ShapeKit, HPS.ShellKit, HPS.ShellOptimizationOptionsKit, HPS.ShellRelationOptionsKit, HPS.ShellRelationResultsKit, HPS.SphereAttributeKit, HPS.SphereKit, HPS.SpotlightKit, HPS.TextAttributeKit, HPS.TextKit, HPS.TextureOptionsKit, HPS.TouchState, HPS.TransparencyKit, HPS.TrimKit, HPS.UpdateOptionsKit, HPS.VisibilityKit, HPS.VisualEffectsKit, HPS.AttributeLockKit, HPS.ColorInterpolationKit, HPS.DebuggingKit, HPS.FontInfoState, HPS.SubwindowKit, HPS.TransformMaskKit, HPS.UpdateNotifier, HPS.WindowInfoKit, HPS.OperatorControl, HPS.CutGeometryGatheringOptionsKit, HPS.Canvas, HPS.Layout, HPS.Model, HPS.Control, HPS.Kit, HPS.SprocketControl, and HPS.SprocketKit.

◆ Reset()

◆ Type()

virtual HPS.Type HPS.Object.Type ( )
inlinevirtual

This function returns the true type of the underlying object. This function is useful for finding the type of smart pointer objects that have been cast to more generic types.

Warning
This function must synchronize the database (by waiting for all pending database operations to complete) in order to know the type status of this object with certainty. Therefore this function can negatively impact performance. You should vigorously avoid using this function in high-traffic or peformance-critical areas of your code.
Returns
The true type of the object in question.

Reimplemented in HPS.ModellingMatrixControl, HPS.DrawingAttributeControl, HPS.UpdateOptionsControl, HPS.HighlightControl, HPS.SelectionOptionsControl, HPS.StandAloneWindowOptionsControl, HPS.ApplicationWindowOptionsControl, HPS.AttributeLockControl, HPS.OffScreenWindowOptionsControl, HPS.EdgeAttributeControl, HPS.HiddenLineAttributeControl, HPS.LightingAttributeControl, HPS.LineAttributeControl, HPS.MarkerAttributeControl, HPS.MaterialMappingControl, HPS.NURBSSurfaceAttributeControl, HPS.PerformanceControl, HPS.SelectabilityControl, HPS.SubwindowControl, HPS.TextAttributeControl, HPS.TransparencyControl, HPS.VisibilityControl, HPS.VisualEffectsControl, HPS.BoundingControl, HPS.CameraControl, HPS.ColorInterpolationControl, HPS.ConditionControl, HPS.ContourLineControl, HPS.CullingControl, HPS.CurveAttributeControl, HPS.CuttingSectionAttributeControl, HPS.CylinderAttributeControl, HPS.DebuggingControl, HPS.PortfolioControl, HPS.PostProcessEffectsControl, HPS.SphereAttributeControl, HPS.StyleControl, HPS.TextureMatrixControl, HPS.TransformMaskControl, HPS.WindowInfoControl, HPS.Kit, and HPS.Control.


The documentation for this class was generated from the following file:
  • internals/hps_core/source/cs/HPS.Object.cs