public class ArrayType extends Xtype
Xtype.TypeInfo
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
Modifier | Constructor and Description |
---|---|
protected |
ArrayType(int type_kind,
java.lang.String id,
Xtype ref,
long typeQualFlags,
long size,
Xobject sizeExpr,
Xobject gccAttrs) |
|
ArrayType(java.lang.String id,
Xtype ref,
long typeQualFlags,
long size,
Xobject sizeExpr,
Xobject gccAttrs) |
|
ArrayType(Xtype ref,
long size) |
|
ArrayType(Xtype ref,
Xobject sizeExpr) |
Modifier and Type | Method and Description |
---|---|
Xtype |
copy(java.lang.String id)
create copy
|
Xtype |
getArrayElementType()
get array element type
|
long |
getArraySize()
C: get fixed array size.
|
Xobject |
getArraySizeExpr()
C: get variable array size expression
|
int |
getNumDimensions()
get number of array dimensions
|
Xtype |
getRef()
set get type
|
void |
setArraySize(long s) |
void |
setArraySizeExpr(Xobject x) |
void |
setRef(Xtype ref)
set reference type
|
Array, Array, assign, convertFindexRange, convertToAssumedShape, copy, copyCodimensions, equals, Farray, Function, generateId, getArrayAdjSize, getArrayDim, getBaseRefType, getBasicType, getBind, getBindName, getCodimensions, getCorank, getElementLength, getElementLengthExpr, getFarraySizeExpr, getFkind, getFlen, getFTypeParamValues, getFuncParam, getFuncResultName, getGccAttributes, getKind, getKindName, getMemberList, getMemberType, getMoeList, getOriginal, getPass, getPassArgName, getProcList, getTagIdent, getTagName, getTotalArraySizeExpr, getTypeQualFlags, getXcodeCId, getXcodeFId, hideCodimensions, Id, inherit, isArray, isArrayStatic, isBasic, isBool, isCoarray, isComplexOrImaginary, isConst, isEnum, isExtended, 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, setTagIdent, setTypeQualFlags, toString, unsetIsFsave, unsetIsFtarget, VoidPtrOrFuintPtr, wasCoarray
protected ArrayType(int type_kind, java.lang.String id, Xtype ref, long typeQualFlags, long size, Xobject sizeExpr, Xobject gccAttrs)
public ArrayType(java.lang.String id, Xtype ref, long typeQualFlags, long size, Xobject sizeExpr, Xobject gccAttrs)
public ArrayType(Xtype ref, long size)
public long getArraySize()
Xtype
getArraySize
in class Xtype
public Xobject getArraySizeExpr()
Xtype
getArraySizeExpr
in class Xtype
public void setArraySize(long s)
public void setArraySizeExpr(Xobject x)
public int getNumDimensions()
Xtype
getNumDimensions
in class Xtype
public Xtype getArrayElementType()
Xtype
getArrayElementType
in class Xtype