This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > %SYS namespace > %Stream.MethodGenerator

%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.

Property Inventory (Including Private)

Properties (Including Private)

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 methods: CodeModeDisplayToLogical(), CodeModeGet(), CodeModeIsValid(), CodeModeLogicalToDisplay(), CodeModeLogicalToOdbc(), CodeModeNormalize(), CodeModeSet()
property Language as %String (VALUELIST = ",cache,basic,java,tsql,javascript,mvbasic,") [ InitialExpression = "cache" ];
Property methods: LanguageDisplayToLogical(), LanguageGet(), LanguageIsValid(), LanguageLogicalToDisplay(), LanguageLogicalToOdbc(), LanguageNormalize(), LanguageSet()

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

Feedback