Package ghidra.app.util.bin.format.objc2
Class ObjectiveC2_PropertyList
- java.lang.Object
-
- ghidra.app.util.bin.format.objc2.ObjectiveC2_PropertyList
-
- All Implemented Interfaces:
StructConverter
public class ObjectiveC2_PropertyList extends java.lang.Object implements StructConverter
-
-
Constructor Summary
Constructors Constructor Description ObjectiveC2_PropertyList(ObjectiveC2_State state, BinaryReader reader)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyTo(Namespace namespace)intgetCount()intgetEntrySize()longgetIndex()java.util.List<ObjectiveC2_Property>getProperties()DataTypetoDataType()Returns a structure datatype representing the contents of the implementor of this interface.static DataTypetoGenericDataType()
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ObjectiveC2_PropertyList
public ObjectiveC2_PropertyList(ObjectiveC2_State state, BinaryReader reader) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
getIndex
public long getIndex()
-
getEntrySize
public int getEntrySize()
-
getCount
public int getCount()
-
getProperties
public java.util.List<ObjectiveC2_Property> getProperties()
-
toGenericDataType
public static DataType toGenericDataType() throws DuplicateNameException
- Throws:
DuplicateNameException
-
toDataType
public 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 interfaceStructConverter- Returns:
- returns a structure datatype representing the implementor of this interface
- Throws:
DuplicateNameException- when a datatype of the same name already existsjava.io.IOException- See Also:
StructureDataType
-
applyTo
public void applyTo(Namespace namespace) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-