Class Reference
IRIS for UNIX 2019.4
InterSystems: The power behind what matters   
Documentation  Search
  [%SYS] >  [%Stream] >  [MethodGenerator]
Private  Storage   

stream class %Stream.MethodGenerator extends %Stream.GlobalCharacter

Provided by the object based method generator so you have a stream to write the code to and to set the type of code.


Parameters Properties Methods Queries Indices ForeignKeys Triggers


%Location AtEnd CodeMode Id Language
LastModified LineTerminator RemoveOnClose Size

%%OIDGet %AddToSaveSet %BindExport %BuildObjectGraph
%CheckUnique %ClassIsLatestVersion %ClassName %Close
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %DowngradeConcurrency
%Exists %ExistsId %Extends %GetParameter
%GetSwizzleObject %Id %IncrementCount %IsA
%IsModified %IsNull %KillExtent %LOBPrefetch
%LocationSet %LockStream %New %NormalizeObject
%ObjectIsNull %ObjectModified %ObjectSize %Oid
%Open %OpenId %OriginalNamespace %PackageName
%ReleaseLock %Reload %RemoveFromSaveSet %RollBack
%Save %SerializeObject %SetModified %UnlockStream
%UpgradeConcurrency %ValidateObject Clear CopyFrom
CopyFromAndSave FindAt Flush GetStreamId
InputFromDevice IsCharacter IsNull LastModifiedGet
MoveTo MoveToEnd OutputToDevice OutputToDeviceAt
Read ReadLine ReadLineIntoStream ReadSQL
Rewind SerializeToSyncSet SizeGet StreamOIDIsNull
SyncStreamIn Write WriteLine


• property CodeMode as %String(VALUELIST=",call,code,expression,") [ InitialExpression = "code" ];
Specified the type of code this stream represents. This is one of
  • code : A block of code, this is the default value
  • expression : An expression
  • call : A call to another routine
• property Language as %String(VALUELIST=",objectscript,cache,basic,java,tsql,javascript,mvbasic,") [ InitialExpression = "objectscript" ];

Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.