public class StructType extends CompositeType
Xtype.TypeInfo
Modifier and Type | Field and Description |
---|---|
protected Xobject |
finalProcedure |
protected XobjList |
fTypeParams |
original, parent_type_id, proc_list
ARRAY, BASIC, bind, bind_name, boolType, charType, copied, coshape, doubleComplexType, doubleType, ENUM, F_ARRAY, F_COARRAY, FcharacterType, FcharacterWithLenType, FcomplexType, FexternalIntFunctionType, FexternalLogicalFunctionType, FexternalSubroutineType, Fint4Type, Fint8Type, FintFunctionType, FintType, floatComplexType, floatType, FlogicalFunctionType, FlogicalType, FnumericalAllFunctionType, FnumericAllType, FnumericType, FrealType, FsubroutineType, fTypeParamValues, FuintPtrType, FUNCTION, FvoidType, gccBuiltinVaListType, indvarPtrType, indvarType, intType, is_coarray, longDoubleComplexType, longdoubleType, longlongType, longType, POINTER, shortType, stringType, STRUCT, tag, TQ_ARRAY_STATIC, TQ_CONST, TQ_FABSTRACT, TQ_FALLOCATABLE, TQ_FASYNCHRONOUS, TQ_FCLASS, TQ_FCONTIGUOUS, TQ_FCRAY_POINTER, TQ_FDEFERRED, TQ_FELEMENTAL, TQ_FEXTERNAL, TQ_FIMPURE, TQ_FINTENT_IN, TQ_FINTENT_INOUT, TQ_FINTENT_OUT, TQ_FINTERNAL, TQ_FINTERNAL_PRIVATE, TQ_FINTRINSIC, TQ_FMODULE, TQ_FOPTIONAL, TQ_FPARAMETER, TQ_FPOINTER, TQ_FPRIVATE, TQ_FPROCEDURE, TQ_FPROGRAM, TQ_FPROTECTED, TQ_FPUBLIC, TQ_FPURE, TQ_FRECURSIVE, TQ_FSAVE, TQ_FSEQUENCE, TQ_FTARGET, TQ_FUNC_STATIC, TQ_FVALUE, TQ_FVOLATILE, TQ_GLOBAL, TQ_INLINE, TQ_LOCAL, TQ_RESTRICT, TQ_VOLATILE, type_infos, UNDEF, UNION, unsignedcharType, unsignedlonglongType, unsignedlongType, unsignedshortType, unsignedType, voidPtrType, voidType, XMP_CO_ARRAY
Constructor and Description |
---|
StructType(java.lang.String id,
boolean is_class,
XobjString tag_names,
XobjList id_list,
long typeQualFlags,
Xobject gccAttrs) |
StructType(java.lang.String id,
java.lang.String parent_id,
XobjList id_list,
long typeQualFlags,
Xobject gccAttrs,
Xobject[] codimensions) |
StructType(java.lang.String id,
java.lang.String parent_id,
XobjList id_list,
XobjList proc_list,
long typeQualFlags,
Xobject gccAttrs,
XobjList typeParams,
Xobject finalProcedure) |
Modifier and Type | Method and Description |
---|---|
Xtype |
copy(java.lang.String id)
create copy
|
int |
getElementLength(Block block)
Fortran: get Fortran type element length (bytes) in integer
|
Xobject |
getElementLengthExpr(Block block)
Fortran: get Fortran type element length (bytes) in Expr
|
Xobject |
getFinalProcedure() |
XobjList |
getFTypeParams() |
Xobject |
getTotalArraySizeExpr(Block block)
Fortran: get Fortran array size or 1 for scalar
|
boolean |
isClass() |
getBaseRefType, getMemberList, getMemberType, getOriginal, getProcList, getTagNames, isExtended, parentId
Array, Array, assign, convertFindexRange, convertToAssumedShape, copy, copyCodimensions, equals, Farray, Function, generateId, getArrayAdjSize, getArrayDim, getArrayElementType, getArraySize, getArraySizeExpr, getBasicType, getBind, getBindName, getCodimensions, getCorank, getFarraySizeExpr, getFkind, getFlen, getFTypeParamValues, getFuncParam, getFuncResultName, getGccAttributes, getKind, getKindName, getMoeList, getNumDimensions, getPass, getPassArgName, getRef, getTagIdent, getTagName, getTypeQualFlags, getXcodeCId, getXcodeFId, hideCodimensions, Id, inherit, isArray, isArrayStatic, isBasic, isBool, isCoarray, isComplexOrImaginary, isConst, isEnum, isFabstract, isFallocatable, isFarray, isFassumedShape, isFassumedSize, isFasynchronous, isFcharacter, isFclass, isFcontiguous, isFcrayPointer, isFdeferred, isFelemental, isFexternal, isFfixedShape, isFimpure, isFintentIN, isFintentINOUT, isFintentOUT, isFinternal, isFinternalPrivate, isFintrinsic, isFlenAssumedShape, isFlenAssumedSize, isFlenVariable, isFloating, isFmodule, isFoptional, isFparameter, isFpointer, isFprivate, isFprocedure, isFprogram, isFprotected, isFpublic, isFpure, isFrecursive, isFsave, isFsequence, isFsubroutine, isFtarget, isFuncProto, isFuncStatic, isFunction, isFvalue, isFvolatile, isGlobal, isInline, isIntegral, isNoArraySize, isNumeric, isPointer, isQualified, isRestrict, isStruct, isUnion, isUnsigned, isVariableArray, isVoid, isVolatile, Pointer, Pointer, removeCodimensions, setBind, setBindName, setCodimensions, setFTypeParamValues, setFuncResultName, setGccAttributes, setIsArrayStatic, setIsCoarray, setIsConst, setIsFabstract, setIsFallocatable, setIsFasynchronous, setIsFclass, setIsFcontiguous, setIsFcrayPointer, setIsFdeferred, setIsFelemental, setIsFexternal, setIsFimpure, setIsFintentIN, setIsFintentINOUT, setIsFintentOUT, setIsFinternal, setIsFinternalPrivate, setIsFintrinsic, setIsFmodule, setIsFoptional, setIsFparameter, setIsFpointer, setIsFprivate, setIsFprocedure, setIsFprogram, setIsFprotected, setIsFpublic, setIsFpure, setIsFrecursive, setIsFsave, setIsFsequence, setIsFtarget, setIsFuncStatic, setIsFvalue, setIsGlobal, setIsInline, setIsRestrict, setIsVoaltile, setKind, setPass, setPassArgName, setRef, setTagIdent, setTypeQualFlags, toString, unsetIsFsave, unsetIsFtarget, VoidPtrOrFuintPtr, wasCoarray
protected XobjList fTypeParams
protected Xobject finalProcedure
public StructType(java.lang.String id, java.lang.String parent_id, XobjList id_list, long typeQualFlags, Xobject gccAttrs, Xobject[] codimensions)
public StructType(java.lang.String id, java.lang.String parent_id, XobjList id_list, XobjList proc_list, long typeQualFlags, Xobject gccAttrs, XobjList typeParams, Xobject finalProcedure)
public StructType(java.lang.String id, boolean is_class, XobjString tag_names, XobjList id_list, long typeQualFlags, Xobject gccAttrs)
public boolean isClass()
public XobjList getFTypeParams()
public Xobject getFinalProcedure()
public Xobject getTotalArraySizeExpr(Block block)
Xtype
getTotalArraySizeExpr
in class Xtype
public Xobject getElementLengthExpr(Block block)
Xtype
getElementLengthExpr
in class Xtype
public int getElementLength(Block block)
Xtype
getElementLength
in class Xtype