IndexerCallbacks#indexEntityReference.
struct CXIdxEntityRefInfo {
CXIdxEntityRefKind kind;
CXCursor cursor;
CXIdxLoc loc;
CXIdxEntityInfo const * referencedEntity;
CXIdxEntityInfo const * parentEntity;
CXIdxContainerInfo const * container;
CXSymbolRole role;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | CXIdxEntityRefInfo.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CONTAINER
The struct member offsets. |
| public static final int | CURSOR
The struct member offsets. |
| public static final int | KIND
The struct member offsets. |
| public static final int | LOC
The struct member offsets. |
| public static final int | PARENTENTITY
The struct member offsets. |
| public static final int | REFERENCEDENTITY
The struct member offsets. |
| public static final int | ROLE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | CXIdxEntityRefInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public CXIdxContainerInfo | |
| protected CXIdxEntityRefInfo | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static CXIdxEntityRefInfo | |
| public static CXIdxEntityRefInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static CXIdxEntityRefInfo | |
| public static CXIdxEntityRefInfo. | |
| public CXCursor | |
| public int | |
| public CXIdxLoc | |
| public static CXIdxContainerInfo | |
| public static CXCursor | |
| public static int | |
| public static CXIdxLoc | |
| public static CXIdxEntityInfo | |
| public static CXIdxEntityInfo | |
| public static int | |
| public CXIdxEntityInfo | |
| public CXIdxEntityInfo | |
| public int | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| CONTAINER | back to summary |
|---|---|
| public static final int CONTAINER The struct member offsets. | |
| CURSOR | back to summary |
|---|---|
| public static final int CURSOR The struct member offsets. | |
| KIND | back to summary |
|---|---|
| public static final int KIND The struct member offsets. | |
| LOC | back to summary |
|---|---|
| public static final int LOC The struct member offsets. | |
| PARENTENTITY | back to summary |
|---|---|
| public static final int PARENTENTITY The struct member offsets. | |
| REFERENCEDENTITY | back to summary |
|---|---|
| public static final int REFERENCEDENTITY The struct member offsets. | |
| ROLE | back to summary |
|---|---|
| public static final int ROLE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| CXIdxEntityRefInfo | back to summary |
|---|---|
| protected CXIdxEntityRefInfo(long address, ByteBuffer container) | |
| CXIdxEntityRefInfo | back to summary |
|---|---|
| public CXIdxEntityRefInfo(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| container | back to summary |
|---|---|
| public CXIdxContainerInfo container() lexical container context of the reference
| |
| create | back to summary |
|---|---|
| protected CXIdxEntityRefInfo create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static CXIdxEntityRefInfo create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static CXIdxEntityRefInfo. Create a
| |
| createSafe | back to summary |
|---|---|
| public static CXIdxEntityRefInfo createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static CXIdxEntityRefInfo. Like
| |
| cursor | back to summary |
|---|---|
| public CXCursor cursor() reference cursor | |
| kind | back to summary |
|---|---|
public int kind()
| |
| loc | back to summary |
|---|---|
| public CXIdxLoc loc() | |
| ncontainer | back to summary |
|---|---|
| public static CXIdxContainerInfo ncontainer(long struct) Unsafe version of | |
| ncursor | back to summary |
|---|---|
| public static CXCursor ncursor(long struct) Unsafe version of | |
| nkind | back to summary |
|---|---|
| public static int nkind(long struct) Unsafe version of | |
| nloc | back to summary |
|---|---|
| public static CXIdxLoc nloc(long struct) Unsafe version of | |
| nparentEntity | back to summary |
|---|---|
| public static CXIdxEntityInfo nparentEntity(long struct) Unsafe version of | |
| nreferencedEntity | back to summary |
|---|---|
| public static CXIdxEntityInfo nreferencedEntity(long struct) Unsafe version of | |
| nrole | back to summary |
|---|---|
| public static int nrole(long struct) Unsafe version of | |
| parentEntity | back to summary |
|---|---|
| public CXIdxEntityInfo parentEntity() Immediate "parent" of the reference. For example:
The parent of reference of type
| |
| referencedEntity | back to summary |
|---|---|
| public CXIdxEntityInfo referencedEntity() the entity that gets referenced
| |
| role | back to summary |
|---|---|
| public int role() sets of symbol roles of the reference
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
CXIdxEntityRefInfo structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final CXIdxEntityRefInfo |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public CXIdxContainerInfo | Returns: aCXIdxContainerInfo view of the struct pointed to by the CXIdxEntityRefInfo#container field.
|
| public CXCursor | |
| protected CXIdxEntityRefInfo | |
| public int | |
| public CXIdxLoc | |
| public CXIdxEntityInfo | Returns: aCXIdxEntityInfo view of the struct pointed to by the CXIdxEntityRefInfo#parentEntity field.
|
| public CXIdxEntityInfo | Returns: aCXIdxEntityInfo view of the struct pointed to by the CXIdxEntityRefInfo#referencedEntity field.
|
| public int | |
| protected CXIdxEntityRefInfo. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final CXIdxEntityRefInfo ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| container | back to summary |
|---|---|
public CXIdxContainerInfo container()
| |
| cursor | back to summary |
|---|---|
public CXCursor cursor()
| |
| getElementFactory | back to summary |
|---|---|
| protected CXIdxEntityRefInfo getElementFactory() Implements abstract org.
| |
| kind | back to summary |
|---|---|
public int kind()
| |
| loc | back to summary |
|---|---|
| public CXIdxLoc loc() | |
| parentEntity | back to summary |
|---|---|
public CXIdxEntityInfo parentEntity()
| |
| referencedEntity | back to summary |
|---|---|
public CXIdxEntityInfo referencedEntity()
| |
| role | back to summary |
|---|---|
public int role()
| |
| self | back to summary |
|---|---|
| protected CXIdxEntityRefInfo. Implements abstract org.
| |