Class CFragResourceMember
- java.lang.Object
-
- ghidra.app.util.bin.format.macos.cfm.CFragResourceMember
-
- All Implemented Interfaces:
StructConverter
public class CFragResourceMember extends java.lang.Object implements StructConverter
-
-
Field Summary
Fields Modifier and Type Field Description static int
kNullCFragVersion
static int
kWildcardCFragVersion
-
Constructor Summary
Constructors Constructor Description CFragResourceMember(BinaryReader reader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getArchitecture()
int
getCurrentVersion()
int
getExtensionCount()
int
getLength()
int
getMemberSize()
java.lang.String
getName()
int
getOffset()
int
getOldDefVersion()
byte
getUpdateLevel()
CFragUsage
getUsage()
CFragUsage1Union
getUUsage1()
CFragUsage2Union
getUUsage2()
CFragWhere1Union
getUWhere1()
CFragWhere2Union
getUWhere2()
CFragLocatorKind
getWhere()
DataType
toDataType()
Returns a structure datatype representing the contents of the implementor of this interface.
-
-
-
Field Detail
-
kNullCFragVersion
public static final int kNullCFragVersion
- See Also:
- Constant Field Values
-
kWildcardCFragVersion
public static final int kWildcardCFragVersion
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CFragResourceMember
public CFragResourceMember(BinaryReader reader) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
getArchitecture
public java.lang.String getArchitecture()
-
getUpdateLevel
public byte getUpdateLevel()
-
getCurrentVersion
public int getCurrentVersion()
-
getOldDefVersion
public int getOldDefVersion()
-
getUUsage1
public CFragUsage1Union getUUsage1()
-
getUUsage2
public CFragUsage2Union getUUsage2()
-
getUsage
public CFragUsage getUsage()
-
getWhere
public CFragLocatorKind getWhere()
-
getOffset
public int getOffset()
-
getLength
public int getLength()
-
getUWhere1
public CFragWhere1Union getUWhere1()
-
getUWhere2
public CFragWhere2Union getUWhere2()
-
getExtensionCount
public int getExtensionCount()
-
getMemberSize
public int getMemberSize()
-
getName
public java.lang.String getName()
-
toDataType
public DataType toDataType() throws DuplicateNameException, java.io.IOException
Description copied from interface:StructConverter
Returns 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:
toDataType
in 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
-
-