Hide menu
Loading...
Searching...
No Matches

Defines a component represented by a datum, datum feature symbol or datum target. More...

Inheritance diagram for cadex.PMI.DatumComponent:
cadex.PMI.SemanticComponent cadex.BaseObject

Public Member Functions

 DatumComponent (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 DatumComponent ()
 Constructor.
 
 DatumComponent (cadex.UTF16String theLabel)
 Constructor.
 
void SetLabel (cadex.UTF16String theLabel)
 Sets the label of the datum.
 
cadex.UTF16String Label ()
 Returns the label of the datum.
 
- Public Member Functions inherited from cadex.PMI.SemanticComponent
 SemanticComponent (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void AddAttribute (cadex.PMI.SemanticAttribute theAttribute)
 Adds the attribute.
 
cadex.Collections.PMISemanticAttributeList Attributes ()
 Returns the attributes.
 
bool HasAttributes ()
 Returns true if semantic attributes were added and false otherwise.
 
uint NumberOfAttributes ()
 Returns the number of added attributes.
 
void Accept (cadex.PMI.SemanticAttributeVisitor theVisitor)
 Accepts the visitor.
 
void Accept (cadex.PMI.SemanticComponentVisitor theVisitor)
 Accepts the visitor.
 
- Public Member Functions inherited from cadex.BaseObject
 BaseObject (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
bool IsNull ()
 
ulong Id ()
 Return unique identifier of public object.
 
bool IsEqual (cadex.BaseObject theObj)
 
override int GetHashCode ()
 
override bool Equals (System.Object o)
 

Static Public Member Functions

static new bool CompareType (cadex.BaseObject theObject)
 Returns true if theObject has the DatumComponent type.
 
- Static Public Member Functions inherited from cadex.PMI.SemanticComponent
static bool CompareType (cadex.BaseObject theObject)
 Returns true if theObject has the SemanticComponent type.
 
static cadex.PMI.SemanticComponent Cast (cadex.BaseObject theBase)
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from cadex.PMI.SemanticComponent
override void Dispose (bool disposing)
 

Detailed Description

Defines a component represented by a datum, datum feature symbol or datum target.

The datum has a label (A, B, etc.) and optionally additional attributes like index, datum target description, etc.

See also
SemanticElement, SemanticAttribute
Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.

Member Function Documentation

◆ Dispose()

override void cadex.PMI.DatumComponent.Dispose ( bool disposing)
inlineprotectedvirtual

Reimplemented from cadex.BaseObject.