major.minor.subminor.
struct CXVersion {
int Major;
int Minor;
int Subminor;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | CXVersion.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | MAJOR
The struct member offsets. |
| public static final int | MINOR
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SUBMINOR
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | CXVersion(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| protected CXVersion | 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 CXVersion | |
| public static CXVersion. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static CXVersion | |
| public static CXVersion. | |
| public int | |
| public int | |
| public static int | |
| public static int | |
| public static int | |
| public int | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| MAJOR | back to summary |
|---|---|
| public static final int MAJOR The struct member offsets. | |
| MINOR | back to summary |
|---|---|
| public static final int MINOR The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SUBMINOR | back to summary |
|---|---|
| public static final int SUBMINOR The struct member offsets. | |
| CXVersion | back to summary |
|---|---|
| protected CXVersion(long address, ByteBuffer container) | |
| CXVersion | back to summary |
|---|---|
| public CXVersion(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| create | back to summary |
|---|---|
| protected CXVersion create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static CXVersion create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static CXVersion. Create a
| |
| createSafe | back to summary |
|---|---|
| public static CXVersion createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static CXVersion. Like
| |
| Major | back to summary |
|---|---|
| public int Major() the major version number, e.g., the '10' in '10.7.3'. A negative value indicates that there is no version number at all. | |
| Minor | back to summary |
|---|---|
| public int Minor() the minor version number, e.g., the '7' in '10.7.3'. This value will be negative if no minor version number was provided, e.g., for version '10'. | |
| nMajor | back to summary |
|---|---|
| public static int nMajor(long struct) Unsafe version of | |
| nMinor | back to summary |
|---|---|
| public static int nMinor(long struct) Unsafe version of | |
| nSubminor | back to summary |
|---|---|
| public static int nSubminor(long struct) Unsafe version of | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| Subminor | back to summary |
|---|---|
| public int Subminor() the subminor version number, e.g., the '3' in '10.7.3'. This value will be negative if no minor or subminor version number was provided, e.g., in version '10' or '10.7'. | |
CXVersion structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final CXVersion |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected CXVersion | |
| public int | |
| public int | |
| protected CXVersion. | |
| public int |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final CXVersion 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) | |
| getElementFactory | back to summary |
|---|---|
| protected CXVersion getElementFactory() Implements abstract org.
| |
| Major | back to summary |
|---|---|
public int Major()
| |
| Minor | back to summary |
|---|---|
public int Minor()
| |
| self | back to summary |
|---|---|
| protected CXVersion. Implements abstract org.
| |
| Subminor | back to summary |
|---|---|
public int Subminor()
| |