This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see How to Migrate to InterSystems IRIS, available on the WRC Distributions page (login required).


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)


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)