Class TwoLevelHint
- java.lang.Object
- 
- ghidra.app.util.bin.format.macho.commands.TwoLevelHint
 
- 
- All Implemented Interfaces:
- StructConverter
 
 public class TwoLevelHint extends java.lang.Object implements StructConverter Represents a twolevel_hint structure.- See Also:
- mach-o/loader.h
 
- 
- 
Constructor SummaryConstructors Constructor Description TwoLevelHint()DO NOT USE THIS CONSTRUCTOR, USE create*(GenericFactory ...) FACTORY METHODS INSTEAD.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetSubImageIndex()An index into the sub-images (sub-frameworks and sub-umbrellas list).intgetTableOfContentsIndex()An index into the library's table of contents.DataTypetoDataType()Returns a structure datatype representing the contents of the implementor of this interface.
 
- 
- 
- 
Field Detail- 
SIZEOFpublic static final int SIZEOF - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getSubImageIndexpublic int getSubImageIndex() An index into the sub-images (sub-frameworks and sub-umbrellas list).- Returns:
- index into the sub-images
 
 - 
getTableOfContentsIndexpublic int getTableOfContentsIndex() An index into the library's table of contents.- Returns:
- index into the library's table of contents
 
 - 
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
 
 
- 
 
-