Python Script Engine  8.3
GL Studio Editor Python Script API
CodeGenerator Class Reference

Public Member Functions

bool isNULL ()
 
str CodeGeneratorID ()
 
None SetCodeOutputRoot (str value)
 
str GetCodeOutputRoot ()
 
None SetResourcesOutputRoot (str value)
 
str GetResourcesOutputRoot ()
 

Detailed Description

Python extension to edit Code Generation settings.

Member Function Documentation

◆ CodeGeneratorID()

str CodeGenerator::CodeGeneratorID ( )
Returns
A unique ID string that identifies this code generator to the GL Studio editor. This string is the code generator "mode".

◆ GetCodeOutputRoot()

str CodeGenerator::GetCodeOutputRoot ( )

Gets the alternate code output root directory.

Returns
the current code output root directory

◆ GetResourcesOutputRoot()

str CodeGenerator::GetResourcesOutputRoot ( )

Gets the alternate resources output root directory.

Returns
the current resources output root directory

◆ isNULL()

bool CodeGenerator::isNULL ( )
Returns
True if this object represents a NULL code generator
Deprecated:
Refer to the Truth Value Checking page

◆ SetCodeOutputRoot()

None CodeGenerator::SetCodeOutputRoot ( str  value)

Sets the alternate code output root.

When non blank this is used as the base directory for generated code instead of the .gls file location

◆ SetResourcesOutputRoot()

None CodeGenerator::SetResourcesOutputRoot ( str  value)

Sets the alternate resources output root directory.

When non blank this is used as the base directory for the resource code instead of the .gls file location


The documentation for this class was generated from the following file: