Package org.lwjgl.llvm
Class CXIdxDeclInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<CXIdxDeclInfo,CXIdxDeclInfo.Buffer>
-
- org.lwjgl.llvm.CXIdxDeclInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<CXIdxDeclInfo>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- CXIdxDeclInfo
public static class CXIdxDeclInfo.Buffer extends org.lwjgl.system.StructBuffer<CXIdxDeclInfo,CXIdxDeclInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofCXIdxDeclInfo
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.lwjgl.PointerBuffer
attributes()
Returns aPointerBuffer
view of the data pointed to by theattributes
field.CXCursor
cursor()
Returns aCXCursor
view of thecursor
field.CXIdxContainerInfo
declAsContainer()
Returns aCXIdxContainerInfo
view of the struct pointed to by thedeclAsContainer
field.CXIdxEntityInfo
entityInfo()
Returns aCXIdxEntityInfo
view of the struct pointed to by theentityInfo
field.int
flags()
Returns the value of theflags
field.boolean
isContainer()
Returns the value of theisContainer
field.boolean
isDefinition()
Returns the value of theisDefinition
field.boolean
isImplicit()
Returns the value of theisImplicit
field.boolean
isRedeclaration()
Returns the value of theisRedeclaration
field.CXIdxContainerInfo
lexicalContainer()
Returns aCXIdxContainerInfo
view of the struct pointed to by thelexicalContainer
field.CXIdxLoc
loc()
Returns aCXIdxLoc
view of theloc
field.int
numAttributes()
Returns the value of thenumAttributes
field.CXIdxContainerInfo
semanticContainer()
Returns aCXIdxContainerInfo
view of the struct pointed to by thesemanticContainer
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newCXIdxDeclInfo.Buffer
instance backed by the specified container. 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 byCXIdxDeclInfo.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
entityInfo
public CXIdxEntityInfo entityInfo()
Returns aCXIdxEntityInfo
view of the struct pointed to by theentityInfo
field.
-
semanticContainer
public CXIdxContainerInfo semanticContainer()
Returns aCXIdxContainerInfo
view of the struct pointed to by thesemanticContainer
field.
-
lexicalContainer
public CXIdxContainerInfo lexicalContainer()
Returns aCXIdxContainerInfo
view of the struct pointed to by thelexicalContainer
field.
-
isRedeclaration
public boolean isRedeclaration()
Returns the value of theisRedeclaration
field.
-
isDefinition
public boolean isDefinition()
Returns the value of theisDefinition
field.
-
isContainer
public boolean isContainer()
Returns the value of theisContainer
field.
-
declAsContainer
public CXIdxContainerInfo declAsContainer()
Returns aCXIdxContainerInfo
view of the struct pointed to by thedeclAsContainer
field.
-
isImplicit
public boolean isImplicit()
Returns the value of theisImplicit
field.
-
attributes
public org.lwjgl.PointerBuffer attributes()
Returns aPointerBuffer
view of the data pointed to by theattributes
field.
-
numAttributes
public int numAttributes()
Returns the value of thenumAttributes
field.
-
flags
public int flags()
Returns the value of theflags
field.
-
-