Initializing help system before first use

XPRMValue Class

A value (of any type) stored in Mosel. Depending on the type, one of the as* function is defined and gives access to the corresponding .NET object.
Inheritance Hierarchy
SystemObject
   MoselXPRMObjectBase
     MoselXPRMTypedObject
       MoselXPRMValue
         More...

Namespace:   Mosel
Assembly:  xprmdn (in xprmdn.dll) Version: 5.0.2.0
Syntax
C#
public abstract class XPRMValue : XPRMTypedObject

The XPRMValue type exposes the following members.

Properties
  Name Description
Public property IsInitialised
Checks whether this value is initialized
Public property Model
Used to fetch the XPRM model to which this object belongs, or else 'null' if there is no model anywhere among this Object's ancestors.
(Inherited from XPRMObjectBase.)
Public property Owner
Used to fetch the XPRM object to which this object belongs
(Inherited from XPRMObjectBase.)
Public property StructCode (Inherited from XPRMTypedObject.)
Public property StructName (Inherited from XPRMTypedObject.)
Public property Type (Inherited from XPRMTypedObject.)
Public property TypeCode (Inherited from XPRMTypedObject.)
Public property TypeName (Inherited from XPRMTypedObject.)
Top
Methods
  Name Description
Public method AsArray
An array type value. This function is defined if the actual object is of a array type.
Public method AsBoolean
A Boolean. This function is defined if the actual object is a Boolean
Public method AsExternal
An external type value. This function is defined if the actual object is of an external type.
Public method AsInteger
An integer. This function is defined if the actual object is an integer.
Public method AsLinCtr
A linear constraint. This function is defined if the actual object is a linear constraint.
Public method AsList
A list type value. This function is defined if the actual object is of a list type.
Public method AsMPVar
A decision variable. This function is defined if the actual object is a decision variable.
Public method AsProblem
A problem. This function is defined if the actual object is a problem.
Public method AsReal
A real. This function is defined if the actual object is a real.
Public method AsRecord
A record type value. This function is defined if the actual object is of a record type.
Public method AsSet
A set type value. This function is defined if the actual object is of a set type.
Public method AsString
A string. This function is defined if the actual object is a string.
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 GetHashCode
Serves as a hash function for a particular type.
(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 default string representation of the identifier
(Inherited from XPRMTypedObject.)
Top
See Also

Reference

Inheritance Hierarchy
SystemObject
   MoselXPRMObjectBase
     MoselXPRMTypedObject
       MoselXPRMValue
         MoselXPRMArray
         MoselXPRMConstant
         MoselXPRMList
         MoselXPRMProblem
         MoselXPRMRecord
         MoselXPRMReference
         MoselXPRMSet