Code Generation Option Field Substitution Macros

Code generation option field substitution macros operate on the source code generation options defined in the 'Source Code Engineering' pages of the 'Options' dialog ('Tools | Options | Source Code Engineering'). This table lists each of the code generation option field substitution macros.

Field substitution macros are named according to Camel casing. Macros that represent checkboxes return a value of 'T' if the box is selected. Otherwise the value is empty.

Code Generation Option Macros

Macro Name

Description

See also

genOptActionScriptVersion

ActionScript Specifications page: Default Version.

genOptCDefaultAttributeType

C Specifications page: Default Attribute Type.

genOptCGenMethodNotesInBody

C Specifications page: Method Notes In Implementation.

genOptCGenMethodNotesInHeader

C Specifications page: Method Notes In Header.

genOptCSynchNotes

C Specifications page: Synchronize Notes in Generation.

genOptCSynchCFile

C Specifications page: Synchronise Implementation file in Generation.

genOptCDefaultSourceDirectory

C Specifications page: Default Source Directory.

genOptCNamespaceDelimiter

C Specifications page: Namespace Delimiter.

genOptCOperationRefParam

C Specifications page: Reference as Operation Parameter.

genOptCOperationRefParamStyle

C Specifications page: Reference Parameter Style.

genOptCOperationRefParamName

C Specifications page: Reference Parameter Name.

genOptCConstructorName

C Specifications page: Default Constructor Name.

genOptCDestructorName

C Specifications page: Default Destructor Name.

genOptCPPCommentStyle

C++ Specifications page: Comment Style.

genOptCPPDefaultAttributeType

C++ Specifications page: Default Attribute Type.

genOptCPPDefaultReferenceType

C++ Specifications page: Default Reference Type.

genOptCPPDefaultSourceDirectory

C++ Specifications page: Default Source Directory.

genOptCPPGenMethodNotesInHeader

C++ Specifications page: 'Method Notes In Header' checkbox.

genOptCPPGenMethodNotesInBody

C++ Specifications page: Method Notes In Body checkbox.

genOptCPPGetPrefix

C++ Specifications page: Get Prefix.

genOptCPPHeaderExtension

C++ Specifications page: Header Extension.

genOptCPPSetPrefix

C++ Specifications page: Set Prefix.

genOptCPPSourceExtension

C++ Specifications page: Source Extension.

genOptCPPSynchCPPFile

C++ Specifications page: Synchronize Notes.

genOptCPPSynchNotes

C++ Specifications page: Synchronize CPP File.

genOptCSDefaultAttributeType

C# Specifications page: Default Attribute Type.

genOptCSSourceExtension

C# Specifications page: Default file extension.

genOptCSGenDispose

C# Specifications page: Generate Dispose.

genOptCSGenFinalizer

C# Specifications page: Generate Finalizer.

genOptCSGenNamespace

C# Specifications page: Generate Namespace.

genOptCSDefaultSourceDirectory

C# Specifications page: Default Source Directory.

genOptDefaultAssocAttName

Attribute/Operations Specifications page: Default name for associated.

genOptDefaultConstructorScope

Object Lifetimes page: Default Constructor Visibility.

genOptDefaultCopyConstructorScope

Object Lifetimes page: Default Copy Constructor Visibility.

genOptDefaultDatabase

Code Editors page: Default Database.

genOptDefaultDestructorScope

Object Lifetimes page: Default Destructor Constructor Visibility.

genOptGenCapitalisedProperties

Source Code Engineering page: Capitalize Attribute Names for Properties checkbox.

genOptGenComments

Source Code Engineering page: Generate Comments checkbox.

genOptGenConstructor

Object Lifetimes page: 'Generate Constructor' checkbox.

genOptGenConstructorInline

Object Lifetimes page: 'Constructor Inline' checkbox.

genOptGenCopyConstructor

Object Lifetimes page: 'Generate Copy Constructor' checkbox.

genOptGenCopyConstructorInline

Object Lifetimes page: 'Copy Constructor Inline' checkbox.

genOptGenDestructor

Object Lifetimes page: 'Generate Destructor' checkbox.

genOptGenDestructorInline

Object Lifetimes page: 'Destructor Inline' checkbox.

genOptGenDestructorVirtual

Object Lifetimes page: 'Virtual Destructor' checkbox.

genOptGenImplementedInterfaceOps

Attribute/Operations Specifications page: Generate methods for implemented interfaces checkbox.

genOptGenPrefixBoolProperties

Source Code Engineering page: Use is prefix for boolean property Get().

genOptGenRoleNames

Source Code Engineering page: Autogenerate role names when creating code.

genOptGenUnspecAssocDir

Source Code Engineering page: 'Do not generate members where Association direction is unspecified' checkbox.

genOptJavaDefaultAttributeType

Java Specifications page: Default attribute type.

genOptJavaGetPrefix

Java Specifications page: Get Prefix.

genOptJavaDefaultSourceDirectory

Java Specifications page: Default Source Directory.

genOptJavaSetPrefix

Java Specifications page: Set Prefix.

genOptJavaSourceExtension

Java Specifications page: Source code extension.

genOptPHPDefaultSourceDirectory

PHP Specifications page: Default Source Directory.

genOptPHPGetPrefix

PHP Specifications page: Get Prefix.

genOptPHPSetPrefix

PHP Specifications page: Set Prefix.

genOptPHPSourceExtension

PHP Specifications page: Default file extension.

genOptPHPVersion

PHP Specifications page: PHP Version.

genOptPropertyPrefix

Source Code Engineering page: Remove prefixes when generating Get/Set properties.

genOptVBMultiUse

VB Specifications page: 'Multiuse' checkbox.

genOptVBPersistable

VB Specifications page: 'Persistable' checkbox.

genOptVBDataBindingBehavior

VB Specifications page: 'Data binding behavior' checkbox.

genOptVBDataSourceBehavior

VB Specifications page: 'Data source behavior' checkbox.

genOptVBGlobal

VB Specifications page: 'Global namespace' checkbox.

genOptVBCreatable

VB Specifications page: 'Creatable' checkbox.

genOptVBExposed

VB Specifications page: 'Exposed' checkbox.

genOptVBMTS

VB Specifications page: MTS Transaction Mode.

genOptVBNetGenNamespace

VB.Net Specifications page: Generate Namespace.

genOptVBVersion

VB Specifications page: Default Version.

genOptWrapComment

Source Code Engineering page: Wrap length for comment lines.

Learn more