Click or drag to resize

IMcObject Interface

Exposes properties and methods to maintain a named, typed object capable of holding data in a hierarchy of other objects.

Namespace:  MediaCy.IQL.ObjectManager
Assembly:  MediaCy.IQL.ObjectManager (in MediaCy.IQL.ObjectManager.dll) Version: 10.0.6912.0
Syntax
VB
Public Interface IMcObject

The IMcObject type exposes the following members.

Properties
  NameDescription
Public propertyAncestorMcObject
The closest "ancestor" McObject with a given TagNumber or the "root" ancestor McObject.
Public propertyCode exampleCategory
A property both reflecting and allowing the assignment of the object's Category membership.
Public propertyCreatorCollection
A read-only property reflecting the McObjects collection instance from which this McObject instance was created.
Public propertyDisplayName
A read/write name string property to be used for display purposes.
Public propertyInterface
A read-only property reflecting this object's interface data, if any.
Public propertyInternalHOBJ
The unique, internal object handle
Public propertyName
The object's name, formatted as specified by the bShowParentAndNamespace argument
Public propertyNamespace
The object's namespace.
Public propertyParentMcObject
A read/write property reflecting the object's immediate Parent McObject, if any.
Public propertyCode exampleSelectedMcObject
A McObject instance that exposes a sub-array of the Value property.
Public propertyCode exampleSelectedValues
A read/write property allowing access to a sub-array of the Value property.
Public propertyShadowMcObject
A Read/Write Property for setting or retrieving the Shadow of an Alias type object.
Public propertyCode exampleShape
For data objects, the Shape property reflects and sets the number of dimensions, and the size and characteristics of those dimensions.
Public propertyTagNumber
A read/write property reflecting object's Tag Number.
Public propertyCode exampleType
Public propertyUserFlags
A masked read/write property reflecting the object's UserFlags.
Public propertyValue
A property both reflecting and allowing the assignment of the data value(s) associated with this object.
Public propertyValueType
The VARTYPE of the Value property.
Public propertyVectorLength
A read-only property giving the vector length of a data object.
Top
Methods
  NameDescription
Public methodAllocateStorage
Allocates storage for a requested number of data values.
Public methodAttachNotifySink
Attaches either a standard (IID_IMcObjStandardNotify) or custom sink notification interface to the object.
Public methodDetachNotifySink
Detaches a standard or custom sink notification interface from the object (see AttachNotifySink).
Public methodFireCustomNotify
Fires a notify to all Attached notify sinks associated with a given IID.
Public methodFireStandardNotifyToAllSinks
A notify is fired to all standard (IID_IMcObjStandardNotify) sink interfaces currently attached to the object.
Public methodGetDataPointer
Returns a pointer to an in-process memory address which holds the current data values for the object.
Public methodGetRawValues
Gets lValuesCount values starting at lStartingIndex index into a buffer supplied by the caller as an LPVOID cast to a long.
Public methodCode exampleIsCompatibleType
Checks the Type property to see if it is "compatible" with a given type
Public methodKillObjectAndChildren
Removes the object from the collection and kills it by freeing its data
Public methodCode exampleOpBareAssign
Arithmetic binary operator to assign a VARIANT to this McObject, possibly reshaping it in the process, leaving the result in this McObject.
Public methodCode exampleOpSelfAdd
Arithmetic binary operator to add values to this McObject, leaving the result in this McObject.
Public methodCode exampleOpSelfAndBits
Arithmetic binary operator to bitwise "And" the values in this McObject, leaving the result in this McObject.
Public methodCode exampleOpSelfAssign
Arithmetic binary operator to assign values to this McObject, leaving the result in this McObject.
Public methodCode exampleOpSelfBitwiseNot
Arithmetic unary operator to bitwise "Not" the values in this McObject, leaving the result in this McObject.
Public methodCode exampleOpSelfConcat
Binary operator to concatenate values to this McObject, leaving the result in this McObject.
Public methodCode exampleOpSelfConcatConcat
Binary operator to concatenate another array to this McObject, extending the overall shape of this McObject.
Public methodCode exampleOpSelfDiv
Arithmetic binary operator to divide values into this McObject, leaving the result in this McObject.
Public methodCode exampleOpSelfFillIn
Binary operator to fill-in concatenate this McObject, leaving the result in this McObject.
Public methodCode exampleOpSelfLargerOf
Arithmetic binary operator to compute the larger of two values, leaving the result in this McObject.
Public methodCode exampleOpSelfLeftShift
Arithmetic binary operator to left-shift the values in this McObject, leaving the result in this McObject.
Public methodCode exampleOpSelfMod
Arithmetic binary operator to compute modulo values, leaving the result in this McObject.
Public methodCode exampleOpSelfMul
Arithmetic binary operator to multiply values with this McObject, leaving the result in this McObject.
Public methodCode exampleOpSelfNeg
Arithmetic unary operator to negate the values in this McObject, leaving the result in this McObject.
Public methodCode exampleOpSelfOrBits
Arithmetic binary operator to bitwise "Or" the values in this McObject, leaving the result in this McObject.
Public methodCode exampleOpSelfRightShift
Arithmetic binary operator to right-shift the values in this McObject, leaving the result in this McObject.
Public methodCode exampleOpSelfSmallerOf
Arithmetic binary operator to compute the smaller of two values, leaving the result in this McObject.
Public methodCode exampleOpSelfSub
Arithmetic binary operator to subtract values to this McObject, leaving the result in this McObject.
Public methodCode exampleOpSelfXorBits
Arithmetic binary operator to bitwise "XOr" the values in this McObject, leaving the result in this McObject.
Public methodPutRawValues
Puts lValuesCount values starting at lStartingIndex index from a buffer supplied by the caller as an LPVOID cast to a long.
Public methodRemoveFromCollection
Removes the object and its descendents from the collection, but does not free its data.
Top
Remarks
McObject instances encapsulate some set of data. The data may be numeric (scalar, array or multidimensional array), or it may be a COM object (see mcobjTypeEnum). When the encapsulated data is a COM object, then communication between the stored object and the McObject is supported if the stored object exposes the IMcObjConnection interface. McObject instances may be named (and this name may be isolated by both a Namespace and by a parent McObject). An McObject may have a single ParentMcObject and it may have zero to many child McObject instances (for which it is their ParentMcObject). McObject instances holding numeric data can be "Shaped" into dynamically sizable multidimensional arrays (or vectors). Unary and binar arithmetic and logical operations may be performed on these vectors of data using either in-place McObject methods (e.g., the OpSelfAdd method will add a source McObject to this one) or global methods that take either an McObject or a VARIANT (see McOMGlobal). McObject instances also support firing events to client notify sinks; these events are not COM standard IConnectionPoint-based, but are instead based on a more efficient notification method using either a standard sink notification interface IMcObjStandardNotify exposed by the notify sink or custom interfaces that is known to whoever fires the notification as well as the client (this type of notify is mediated by an McObjFireCustomSink interface that is exposed by the object that initiates firing of the custom notification). Almost McObject all notifications are to sinks exposing IMcObjStandardNotify, since the SpecialNotify event allows virtually any notification to be passed using this convenient method.
See Also