This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions pageOpens in a new window (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)

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)

FeedbackOpens in a new window