Package ghidra.app.util.bin.format.objc2
Class ObjectiveC2_ClassRW
- java.lang.Object
- 
- ghidra.app.util.bin.format.objc2.ObjectiveC2_ClassRW
 
- 
- All Implemented Interfaces:
- StructConverter
 
 public class ObjectiveC2_ClassRW extends java.lang.Object implements StructConverter 
- 
- 
Constructor SummaryConstructors Constructor Description ObjectiveC2_ClassRW()ObjectiveC2_ClassRW(ObjectiveC2_State state, BinaryReader reader)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyTo()ObjectiveC2_MethodListgetBaseMethods()ObjectiveC2_PropertyListgetBaseProperties()ObjectiveC2_ProtocolListgetBaseProtocols()longgetFlags()longgetIndex()longgetInstanceSize()longgetInstanceStart()ObjectiveC2_InstanceVariableListgetInstanceVariables()java.lang.StringgetName()longgetReserved()longgetWeakIvarLayout()DataTypetoDataType()Returns a structure datatype representing the contents of the implementor of this interface.
 
- 
- 
- 
Field Detail- 
NAMEpublic static final java.lang.String NAME - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
ObjectiveC2_ClassRWpublic ObjectiveC2_ClassRW() 
 - 
ObjectiveC2_ClassRWpublic ObjectiveC2_ClassRW(ObjectiveC2_State state, BinaryReader reader) throws java.io.IOException - Throws:
- java.io.IOException
 
 
- 
 - 
Method Detail- 
getIndexpublic long getIndex() 
 - 
getNamepublic java.lang.String getName() 
 - 
getFlagspublic long getFlags() 
 - 
getInstanceStartpublic long getInstanceStart() 
 - 
getInstanceSizepublic long getInstanceSize() 
 - 
getReservedpublic long getReserved() 
 - 
getWeakIvarLayoutpublic long getWeakIvarLayout() 
 - 
getBaseMethodspublic ObjectiveC2_MethodList getBaseMethods() 
 - 
getBaseProtocolspublic ObjectiveC2_ProtocolList getBaseProtocols() 
 - 
getInstanceVariablespublic ObjectiveC2_InstanceVariableList getInstanceVariables() 
 - 
getBasePropertiespublic ObjectiveC2_PropertyList getBaseProperties() 
 - 
toDataTypepublic DataType toDataType() throws DuplicateNameException, java.io.IOException Description copied from interface:StructConverterReturns a structure datatype representing the contents of the implementor of this interface.For example, given: class A { int foo; double bar; }The return value should be a structure data type with two data type components; an INT and a DOUBLE. The structure should contain field names and, if possible, field comments. - Specified by:
- toDataTypein interface- StructConverter
- Returns:
- returns a structure datatype representing the implementor of this interface
- Throws:
- DuplicateNameException- when a datatype of the same name already exists
- java.io.IOException
- See Also:
- StructureDataType
 
 - 
applyTopublic void applyTo() throws java.lang.Exception- Throws:
- java.lang.Exception
 
 
- 
 
-