The VBGeneratorValues statement specifies code generation
characteristics for a visual or nonvisual part. This information
corresponds to generation data that you specify in the Class
Editor for parts you define by visual composition.
{ //VBGeneratorValues: keywordValue(
, keywordValue )* }
-
- keywordValue
- Generator keyword and value.
( userHpp((
true | false )) | userCpp((
true | false )) | userH((
true | false )) | userRC((
true | false )) | userBeginningCtor(constructorCode)
| userCtor(constructorCode) |
userDtor(destructorCode) | userEndingDtor(destructorCode)
| genStrings(( true |
false )) | ( startingResId(resourceId)
)
-
- userHpp(( true |
false ))
- If true, a header file is used for
user-written member functions that extend the
part class. The file name is the same as the name
of the part .hpp file, with an .hpv extension.
- userCpp(( true |
false ))
- If true, a file is used that contains
user-written member functions that extend the
part class. The file name is the same as the name
of the part .hpp file, with an .cpv extension.
- userH(( true |
false ))
- If true, a header file is used for
user-written resources. The file name is the same
as the name of the part .hpp file, with an .hv
extension.
- userRC(( true |
false ))
- If true, a file is used for user-written
resources. The file name is the same as the name
of the part .hpp file, with an .rcv extension.
- userBeginningCtor(constructorCode)
- C++ code inserted before default logic in the
part constructor. This can be a call to a member
function in the user code file indicated by the userCpp
generator value.
- userCtor(constructorCode)
- C++ code inserted after default logic in the part
constructor. This can be a call to a member
function in the user code file indicated by the userCpp
generator value.
- userDtor(destructorCode)
- C++ code inserted before default logic in the
part destructor. This can be a call to a member
function in the user code file indicated by the userCpp
generator value.
- userEndingDtor(destructorCode)
- C++ code inserted after default logic in the part
destructor. This can be a call to a member
function in the user code file indicated by the userCpp
generator value.
- genStrings(( true |
false ))
- Specifies whether VisualAge should generate
strings for the part.
- startingResId(resourceId)
- resourceId specifies the starting resource
ID for strings that VisualAge generates for the
part.
Defining the Part
Interface Using Part Information Statements
Visual Part Information
Statements
Nonvisual Part Information
Statements
Part Information Statement
Descriptions
Part Information
Statement Examples