This class manages settings concerning PYTHON, configured through
the 'Generation settings' dialog.
This class may be defined as a 'singleton', but I prefer to use static
members allowing to just write 'PythonSettings::member' rather than
'PythonSettings::instance()->member' or other long sentence like this.
Declaration :
Artifact : PythonSettings
Operation isPython_2_2 |
return if classes follow Python 2.2 by default
Declaration :
Operation set_IsPython_2_2 |
set if classes follow Python 2.2 by default
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation isPython_3_operation |
returns if operations follow Python 3 (pep-3107)
Declaration :
Operation set_IsPython_3_operation |
set if operations follow Python 3 (pep-3107)
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation indentStep |
return the default indent step
Declaration :
Operation set_IndentStep |
set default indent step
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation useDefaults |
returns TRUE when the created Python objects are initialized
with the default declaration/definition
Declaration :
Operation set_UseDefaults |
if y is TRUE the future created Python objects will be initialized
with the default declaration/definition
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation relationAttributeStereotype |
returns the PYTHON stereotype corresponding to the 'UML' stereotype given
in argument
Declaration :
Operation set_RelationAttributeStereotype |
set the PYTHON stereotype corresponding to the 'UML' stereotype given
in argument
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation relationAttributeUmlStereotype |
reverse of the RelationAttributeStereotype() operation, returns the 'UML'
stereotype corresponding to the PYTHON one given in argument
Declaration :
Operation classStereotype |
returns the PYTHON stereotype corresponding to the 'UML' stereotype given
in argument
Declaration :
Operation set_ClassStereotype |
set the PYTHON stereotype corresponding to the 'UML' stereotype given
in argument
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation classUmlStereotype |
reverse of the ClassStereotype() operation, returns the 'UML'
stereotype corresponding to the PYTHON one given in argument
Declaration :
Operation get_import |
returns the import or other form specified in the last
'Generation settings' tab for the Python type given in argument.
Declaration :
Operation set_Import |
set the import or other form specified in the last
'Generation settings' tab for the Python type given in argument.
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation rootDir |
return the 'root' directory
Declaration :
Operation set_RootDir |
set the 'root' directory
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation sourceContent |
returns the default source file content
Declaration :
Operation set_SourceContent |
set the default source file content
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation sourceExtension |
returns the extension of the file produced by the PYTHON code generator
Declaration :
Operation set_SourceExtension |
set the extension of the file produced by the PYTHON code generator
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation classDecl |
returns the default definition of a class
Declaration :
Operation set_ClassDecl |
set the default definition of a class
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation externalClassDecl |
returns the default specification for an 'external' class
Declaration :
Operation set_ExternalClassDecl |
set the default specification for an 'external' class
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation enumDecl |
returns the default definition of an enumeration
Declaration :
Operation set_EnumDecl |
set the default definition of an enumeration
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation attributeDecl |
returns the default definition of an attribute depending on the multiplicity
Declaration :
Operation set_AttributeDecl |
set the default definition of an attribute
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation enumItemDecl |
returns the default definition of an enumeration item
Declaration :
Operation set_EnumItemDecl |
set the default definition of an enumeration item
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation relationDecl |
returns the default definition of a relation depending on it is an
aggregation by value or not and the multiplicity, given in argument.
Declaration :
Operation set_RelationDecl |
set the default definition of a relation depending on it is an
aggregation by value or not and the multiplicity, given in argument.
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation operationDef |
returns the default definition of an operation
Declaration :
Operation set_OperationDef |
set the default definition of an operation
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation initOperationDef |
returns the default definition of __init__
Declaration :
Operation set_InitOperationDef |
set the default definition of __init__
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation getName |
returns the default name of a 'get' operation generated
through the attribute and relation 'add get operation' menu
Declaration :
Operation set_GetName |
set the default name of a 'get' operation generated
through the attribute and relation 'add get operation' menu
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation setName |
returns the default name of a 'set' operation generated
through the attribute and relation 'add set operation' menu
Declaration :
Operation set_SetName |
set the default name of a 'set' operation generated
through the attribute and relation 'add set operation' menu
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation PythonSettings |
never called !
Declaration :
Operation mult_column |
Declaration :
Attribute _defined |
Declaration :
Attribute _2_2 |
Declaration :
Attribute _operation_3 |
Declaration :
Attribute _indent_step |
Declaration :
Attribute _root |
Declaration :
Attribute _class_decl |
Declaration :
Attribute _external_class_decl |
Declaration :
Attribute _enum_decl |
Declaration :
Attribute _attr_decl |
Declaration :
Attribute _enum_item_decl |
Declaration :
Attribute _rel_decl |
Declaration :
Attribute _oper_def |
Declaration :
Attribute _initoper_def |
Declaration :
Attribute _get_name |
Declaration :
Attribute _set_name |
Declaration :
Attribute _src_content |
Declaration :
Attribute _ext |
Declaration :
Attribute _map_imports |
Declaration :
Operation read_ |
Declaration :
Operation read_if_needed_ |
Declaration :
All public operations : artifactDescription , attributeDecl , attributeDescription , classDecl , classDescription , classStereotype , classUmlStereotype , enumDecl , enumItemDecl , externalClassDecl , get_import , getName , indentStep , initOperationDef , isPython_2_2 , isPython_3_operation , operationDef , operationDescription , relationAttributeStereotype , relationAttributeUmlStereotype , relationDecl , relationDescription , rootDir , set_ArtifactDescription , set_AttributeDecl , set_AttributeDescription , set_ClassDecl , set_ClassDescription , set_ClassStereotype , set_EnumDecl , set_EnumItemDecl , set_ExternalClassDecl , set_GetName , set_Import , set_IndentStep , set_InitOperationDef , set_IsPython_2_2 , set_IsPython_3_operation , set_OperationDef , set_OperationDescription , set_RelationAttributeStereotype , set_RelationDecl , set_RelationDescription , set_RootDir , set_SetName , set_SourceContent , set_SourceExtension , set_UmlGetName , set_UmlSetName , set_UseDefaults , setName , sourceContent , sourceExtension , umlGetName , umlSetName , useDefaults