Home > Class Reference > ENSLIB namespace > %Stream.MethodGenerator
Private  Storage   

%Stream.MethodGenerator


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.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2


Summary


Properties
%Location AtEnd CodeMode Id Language
LastModified LineTerminator RemoveOnClose Size

Methods
%AddToSaveSet %CheckUnique %ClassIsLatestVersion %ClassName
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Exists
%ExistsId %Extends %GetParameter %GetSwizzleObject
%Id %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 %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


Properties


• 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=",cache,basic,java,tsql,javascript,mvbasic,") [ InitialExpression = "cache" ];