| Python Script Engine 8.3 GL Studio Editor Python Script API

Public Member Functions | List of all members
CodeGenerator Class Reference

## Public Member Functions
bool | isNULL ()
String | CodeGeneratorID ()
void | SetCodeOutputRoot (String value)
String | GetCodeOutputRoot ()
void | SetResourcesOutputRoot (String value)
String | GetResourcesOutputRoot ()

## Detailed Description

Python extension to edit Code Generation settings.

## Member Function Documentation

## ◆ CodeGeneratorID()

String 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()

String CodeGenerator::GetCodeOutputRoot | ( |  | ) |

Gets the alternate code output root directory.

Returns
  the current code output root directory

## ◆ GetResourcesOutputRoot()

String 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()

void CodeGenerator::SetCodeOutputRoot | ( | String | 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()

void CodeGenerator::SetResourcesOutputRoot | ( | String | 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:

- CodeGenerator.i