Package org.robovm.compiler.llvm
Class StructureType
java.lang.Object
org.robovm.compiler.llvm.Type
org.robovm.compiler.llvm.UserType
org.robovm.compiler.llvm.AggregateType
org.robovm.compiler.llvm.StructureType
- All Implemented Interfaces:
Writable
- Direct Known Subclasses:
PackedStructureType,VectorStructureType
public class StructureType extends AggregateType
- Version:
- $Id$
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.robovm.compiler.llvm.Writable
Writable.Provider -
Field Summary
Fields Modifier and Type Field Description static intATTR_NOT_SINGLE_INT_STRUCTstatic intATTR_UNALIGNEDprotected Type[]types -
Constructor Summary
Constructors Constructor Description StructureType(int ownMembersOffset, int flags, String alias, Type... types)StructureType(int ownMembersOffset, int flags, Type... types)StructureType(String alias, Type... types)StructureType(Type... types) -
Method Summary
Modifier and Type Method Description booleanequals(Object obj)intgetAttributes()StringgetDefinition()intgetOwnMembersOffset()TypegetTypeAt(int index)intgetTypeCount()Type[]getTypes()inthashCode()voidwriteDefinition(Writer writer)
-
Field Details
-
types
-
ATTR_UNALIGNED
public static final int ATTR_UNALIGNED- See Also:
- Constant Field Values
-
ATTR_NOT_SINGLE_INT_STRUCT
public static final int ATTR_NOT_SINGLE_INT_STRUCT- See Also:
- Constant Field Values
-
-
Constructor Details
-
StructureType
-
StructureType
-
StructureType
-
StructureType
-
-
Method Details
-
getTypeAt
- Specified by:
getTypeAtin classAggregateType
-
getTypes
-
getTypeCount
public int getTypeCount()- Specified by:
getTypeCountin classAggregateType
-
getOwnMembersOffset
public int getOwnMembersOffset() -
writeDefinition
- Specified by:
writeDefinitionin classUserType- Throws:
IOException
-
getDefinition
- Specified by:
getDefinitionin classUserType
-
hashCode
public int hashCode() -
equals
-
getAttributes
public int getAttributes()
-