Property | Type | Description | |
---|---|---|---|
CreateFactory | |||
ExtractAllBaseClasses | List |
||
GetCommonBaseTypesForAllSpecializations | string[] | ||
GetGenericTypeConstraintsDictionary | string>.Dictionary | ||
GetSymbolTypeTree | |||
ParseTemplateArguments | IEnumerable |
Method | Description | |
---|---|---|
GetSpecializedStringVersion ( bool useFullClassName = true ) : string |
Gets the specialized string version of this template user type.
|
|
GetSpecializedStringVersion ( string types ) : string |
Gets the specialized string version of this template user type based on the specified types.
|
|
TemplateUserType ( Symbol symbol, XmlType xmlType, string nameSpace, |
Initializes a new instance of the TemplateUserType class.
|
|
TryGetTemplateArgument ( string typeName, string &argumentName ) : bool |
Tries to match the specified type name against template arguments.
|
|
UpdateTemplateArguments ( |
Updates the template arguments (symbols and user types).
|
Method | Description | |
---|---|---|
GetBaseClassTypeTree ( |
Gets the type tree for the base class. If class has multi inheritance, it can return MultiClassInheritanceTypeTree or SingleClassInheritanceWithInterfacesTypeTree.
|
|
GetFieldTypeTree ( SymbolField field, |
Gets the type tree for the specified field.
|
|
GetGenericTypeConstraints ( |
Gets the list of generic type constraints.
|
|
WriteClassComment ( IndentedWriter output, int indentation ) : void |
Writes the class comment on the specified output.
|
Method | Description | |
---|---|---|
CreateFactory ( |
Creates the user type factory based on this template user type.
|
|
ExtractAllBaseClasses ( |
Extracts all base classes for the specified user type.
|
|
GetCommonBaseTypesForAllSpecializations ( |
Gets the common base types for all specializations.
|
|
GetGenericTypeConstraintsDictionary ( |
Gets the dictionary of generic type constraints per template argument (that has constraint).
|
|
GetSymbolTypeTree ( Symbol type, |
Gets the type tree for the specified type (symbol).
|
|
ParseTemplateArguments ( |
protected GetBaseClassTypeTree ( |
||
error | The error text writer. | |
type | Symbol | The type for which we are getting base class. |
factory | The user type factory. | |
baseClassOffset | int | The base class offset. |
return |
protected GetFieldTypeTree ( SymbolField field, |
||
field | SymbolField | The field. |
factory | The user type factory. | |
extractingBaseClass | bool | if set to |
bitLength | int | Number of bits used for this symbol. |
return |
protected GetGenericTypeConstraints ( |
||
factory | The user type factory. | |
return | IEnumerable |
public GetSpecializedStringVersion ( bool useFullClassName = true ) : string | ||
useFullClassName | bool | if set to |
return | string |
public GetSpecializedStringVersion ( string types ) : string | ||
types | string | The types to be used as template arguments. |
return | string |
public TemplateUserType ( Symbol symbol, XmlType xmlType, string nameSpace, |
||
symbol | Symbol | The symbol we are generating this user type from. |
xmlType | XmlType | The XML description of the type. |
nameSpace | string | The namespace it belongs to. |
factory | The user type factory. | |
return | System |
public TryGetTemplateArgument ( string typeName, string &argumentName ) : bool | ||
typeName | string | The type name. |
argumentName | string | The found argument name. |
return | bool |
public UpdateTemplateArguments ( |
||
factory | The user type factory. | |
return | bool |
protected WriteClassComment ( IndentedWriter output, int indentation ) : void | ||
output | IndentedWriter | The output. |
indentation | int | The current indentation. |
return | void |