Python Script Engine
8.0
GL Studio Editor Python Script API
|
Public Member Functions | |
Property (String name, String type, String initVal) | |
Property (String name, String type, String initVal, bool fillIn, bool memberVarUsed, String memberVarName, bool setMethodUsed, String setMethodName, String setMethodBodyStr, bool getMethodUsed, String getMethodName, String getMethodBodyStr, bool generateBodies, String comment) | |
String | GetName () |
void | SetName (String name) |
String | GetType () |
void | SetType (String type) |
String | GetInitVal () |
void | SetInitVal (String initVal) |
bool | GetFilledIn () |
void | SetFilledIn (bool fillIn) |
bool | GetMemberVarUsed () |
void | SetMemberVarUsed (bool memberVarUsed) |
String | GetMemberVarName () |
void | SetMemberVarName (String memberVarName) |
bool | GetGetMethodUsed () |
void | SetGetMethodUsed (bool methodUsed) |
String | GetGetMethodName () |
void | SetGetMethodName (String methodVarName) |
String | GetGetMethodBodyStr () |
void | SetGetMethodBodyStr (String methodBodyStr) |
bool | GetSetMethodUsed () |
void | SetSetMethodUsed (bool methodUsed) |
String | GetSetMethodName () |
void | SetSetMethodName (String methodVarName) |
String | GetSetMethodBodyStr () |
void | SetSetMethodBodyStr (String methodBodyStr) |
bool | GetPropertyGetterMethodConst () |
void | SetPropertyGetterMethodConst (bool isConst) |
String | GetComment () |
void | SetComment (String comment) |
String | GetUserDefinedAttributeValue (String attributeName) |
void | SetUserDefinedAttributeValue (String attributeName, String value) |
Python extension to modify code browser properties.
Property::Property | ( | String | name, |
String | type, | ||
String | initVal | ||
) |
Creates a property with the given initial values set.
name | Name of new property |
type | Type of new property |
initVal | Initial value of new property |
Property::Property | ( | String | name, |
String | type, | ||
String | initVal, | ||
bool | fillIn, | ||
bool | memberVarUsed, | ||
String | memberVarName, | ||
bool | setMethodUsed, | ||
String | setMethodName, | ||
String | setMethodBodyStr, | ||
bool | getMethodUsed, | ||
String | getMethodName, | ||
String | getMethodBodyStr, | ||
bool | generateBodies, | ||
String | comment | ||
) |
Creates a property with the given initial values set.
name | Name of new property |
type | Type of new property |
initVal | Initial value of new property |
fillIn | Flag to auto-fill in property details |
memberVarUsed | Flag to show if property is a member variable |
memberVarName | Member variable name to use |
setMethodUsed | Flag to show if the set method is used |
setMethodName | Name of the set method |
setMethodBodyStr | String containing code for the set method |
getMethodUsed | Flag to show if the get method is used |
getMethodName | Name of the get method |
getMethodBodyStr | String containing code for the get method |
generateBodies | Flag to show if method bodies are generated |
comment | string Comment regarding the property |
String Property::GetComment | ( | ) |
Retrieves the comment associated with the property.
bool Property::GetFilledIn | ( | ) |
Retrieves the Filled-In flag.
String Property::GetGetMethodBodyStr | ( | ) |
Retrieves the get method body for the property.
String Property::GetGetMethodName | ( | ) |
Retrieves the get method name for the property.
bool Property::GetGetMethodUsed | ( | ) |
Retrieves the Get Method Used flag.
String Property::GetInitVal | ( | ) |
Retrieves the property's initial value.
String Property::GetMemberVarName | ( | ) |
Retrieves the member variable name for the property.
bool Property::GetMemberVarUsed | ( | ) |
Retrieves the Member Variable Used flag.
String Property::GetName | ( | ) |
Retrieves the property's name.
bool Property::GetPropertyGetterMethodConst | ( | ) |
Indicates whether or not the property's getter method is *.
String Property::GetSetMethodBodyStr | ( | ) |
Retrieves the set method body for the property.
String Property::GetSetMethodName | ( | ) |
Retrieves the set method name for the property.
bool Property::GetSetMethodUsed | ( | ) |
Retrieves the Set Method Used flag.
String Property::GetType | ( | ) |
Retrieves the property's type.
String Property::GetUserDefinedAttributeValue | ( | String | attributeName | ) |
Gets a User Defined Attribute Value associated with the property.
attributeName | String containing the name of the attribute value to retrieve |
void Property::SetComment | ( | String | comment | ) |
Sets the comment associated with the property.
comment | String containing the comment for the property |
void Property::SetFilledIn | ( | bool | fillIn | ) |
Sets the property's initial value.
fillIn | New value for the Filled-In flag for the property |
void Property::SetGetMethodBodyStr | ( | String | methodBodyStr | ) |
Sets the get method body for the property.
methodBodyStr | String containing the get method body for the property |
void Property::SetGetMethodName | ( | String | methodVarName | ) |
Sets the get method name for the property.
methodVarName | String containing the get method name for the property |
void Property::SetGetMethodUsed | ( | bool | methodUsed | ) |
void Property::SetInitVal | ( | String | initVal | ) |
Sets the property's initial value.
initVal | New initial value for the property |
void Property::SetMemberVarName | ( | String | memberVarName | ) |
Sets the member variable name for the property.
memberVarName | The new member variable name for the property |
void Property::SetMemberVarUsed | ( | bool | memberVarUsed | ) |
void Property::SetName | ( | String | name | ) |
Sets the property's name.
name | New name of property |
void Property::SetPropertyGetterMethodConst | ( | bool | isConst | ) |
Sets whether or not the property's getter method is *.
void Property::SetSetMethodBodyStr | ( | String | methodBodyStr | ) |
Sets the set method body for the property.
methodBodyStr | String containing the set method body for the property |
void Property::SetSetMethodName | ( | String | methodVarName | ) |
Sets the set method name for the property.
methodVarName | String containing the set method name for the property |
void Property::SetSetMethodUsed | ( | bool | methodUsed | ) |
void Property::SetType | ( | String | type | ) |
Sets the property's type.
type | New type for the property |
void Property::SetUserDefinedAttributeValue | ( | String | attributeName, |
String | value | ||
) |
Sets a User Defined Attribute Value associated with the property.
attributeName | String containing the name of the attribute value to retrieve |
value | String containing the value to ba assigned to the attribute |