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 intkNullCFragVersionstatic intkWildcardCFragVersion
-
Constructor Summary
Constructors Constructor Description CFragResourceMember(BinaryReader reader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetArchitecture()intgetCurrentVersion()intgetExtensionCount()intgetLength()intgetMemberSize()java.lang.StringgetName()intgetOffset()intgetOldDefVersion()bytegetUpdateLevel()CFragUsagegetUsage()CFragUsage1UniongetUUsage1()CFragUsage2UniongetUUsage2()CFragWhere1UniongetUWhere1()CFragWhere2UniongetUWhere2()CFragLocatorKindgetWhere()DataTypetoDataType()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: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
-
-