File3dmCommonComponentTable.T.
Provides a base table type that is shared among all File3dm tables.
Inheritance Hierarchy
System.Object
Rhino.FileIO.CommonComponentTable.T.
Rhino.FileIO.File3dmCommonComponentTable.T.
Namespace: Rhino.FileIO
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
public abstract class File3dmCommonComponentTable<T> : CommonComponentTable<T>, ICollection<T>, IEnumerable<T>, IEnumerablewhere T : ModelComponent
Type Parameters
T
A model component.
The File3dmCommonComponentTable.T. type exposes the following members.
Properties
Name
Description
Public Property
ComponentType
Returns the actual component type of a table.
(Inherited from CommonComponentTable.T..)
Public Property
Count
Returns the count of all items, including deleted ones.
(Inherited from CommonComponentTable.T..)
Methods
Name
Description
Public Method
Add
Adds an item.
Public Method
Clear
Marks all items as deleted.
(Inherited from CommonComponentTable.T..)
Public Method
Delete(T)
Flags a component as deleted.
(Overrides
CommonComponentTable.T..Delete(T)
.)Public Method
Delete(Int32)
Flags a component as deleted.
Public Method
Dump
Prepares a text dump of object table.
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected Method
Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public Method
FindId
Uses the guid to find a model component. Deleted objects cannot be found by id. The guid is the value that is stored in the .Id property. In a single document, no two active objects have the same guid. If an object is replaced with a new object, then the guid persists. For example, if the _Move command moves an object, then the moved object inherits its guid from the starting object. If the Copy command copies an object, then the copy gets a new guid. This guid persists through file saving/opening operations. This function will not find grip objects.
(Inherited from CommonComponentTable.T..)
Public Method
GetEnumerator
Returns the enumerator that yields all items.
(Inherited from CommonComponentTable.T..)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected Method
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object.)
Inheritance Hierarchy
System.Object
Rhino.FileIO.CommonComponentTable.T.
Rhino.FileIO.File3dmCommonComponentTable.T.
Rhino.FileIO.File3dmDimStyleTable
Rhino.FileIO.File3dmGroupTable
Rhino.FileIO.File3dmHatchPatternTable
Rhino.FileIO.File3dmInstanceDefinitionTable
Rhino.FileIO.File3dmLayerTable
Rhino.FileIO.File3dmLinetypeTable
Rhino.FileIO.File3dmMaterialTable
Rhino.FileIO.File3dmObjectTable