Initializing help system before first use

XPRMRecord Class

Represents a record in a Mosel model
Inheritance Hierarchy
SystemObject
   MoselXPRMObjectBase
     MoselXPRMTypedObject
       MoselXPRMValue
         MoselXPRMRecord

Namespace:  Mosel
Assembly: xprmdn (in xprmdn.dll) Version: 6.10.1+ae0383562d99c01e2c5cf01f00ce4c77953c414e
Syntax
C#
public class XPRMRecord : XPRMValue, XPRMTyped

The XPRMRecord type exposes the following members.

Properties
  Name Description
Public property Fields Get an iterator to enumerate all fields of the record.
Public property IsInitialised Check whether the record has been initialised. Objects are initialised during model execution. Trying to access a Mosel object that has not been created will result on an exception.
(Overrides XPRMValueIsInitialised)
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
(Overrides XPRMTypedObjectStructCode)
Public property StructName
(Overrides XPRMTypedObjectStructName)
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.
(Inherited from XPRMValue)
Public method AsBoolean A Boolean. This function is defined if the actual object is a Boolean
(Inherited from XPRMValue)
Public method AsExternal An external type value. This function is defined if the actual object is of an external type.
(Inherited from XPRMValue)
Public method AsInteger An integer. This function is defined if the actual object is an integer.
(Inherited from XPRMValue)
Public method AsLinCtr A linear constraint. This function is defined if the actual object is a linear constraint.
(Inherited from XPRMValue)
Public method AsList A list type value. This function is defined if the actual object is of a list type.
(Inherited from XPRMValue)
Public method AsMPVar A decision variable. This function is defined if the actual object is a decision variable.
(Inherited from XPRMValue)
Public method AsProblem A problem. This function is defined if the actual object is a problem.
(Inherited from XPRMValue)
Public method AsProcedure A procedure type value. This function is defined if the actual object is of a procedure type.
(Inherited from XPRMValue)
Public method AsReal A real. This function is defined if the actual object is a real.
(Inherited from XPRMValue)
Public method AsRecord Return this value as an XPRMRecord
(Overrides XPRMValueAsRecord)
Public method AsSet A set type value. This function is defined if the actual object is of a set type.
(Inherited from XPRMValue)
Public method AsString A string. This function is defined if the actual object is a string.
(Inherited from XPRMValue)
Public method AsUnion A union type value. This function is defined if the actual object is of a union type.
(Inherited from XPRMValue)
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 the default hash function.
(Inherited from Object)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method GetValue Get the value of a field of the record
Public method GetValueAsBoolean Get the value of a boolean field of the record
Public method GetValueAsInteger Get the value of an int field of the record
Public method GetValueAsReal Get the value of a real field of the record
Public method GetValueAsString Get the value of a string field of the record
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Public method ToString Generate a string representation of the content of the record.
(Overrides XPRMTypedObjectToString)
Top
See Also

Reference

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.