| Modifier and Type | Class and Description |
|---|---|
static class |
NSTemplate.RecordCollection
Collection of NSRecords.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_RECORD_COUNT
The maximum number of records NSTemplate can contain.
|
static int |
PROCESS_FIRST_RECORD_ONLY
The flag indicating whether only the first iris record should be unpacked or packed while unpacking or packing NSTemplate.
|
| Constructor and Description |
|---|
NSTemplate()
Initializes a new instance of the NTemplate class.
|
NSTemplate(ByteBuffer buffer)
Initializes a new instance of the NSTemplate class.
|
NSTemplate(int flags)
Initializes a new instance of the NTemplate class.
|
NSTemplate(com.neurotec.io.NBuffer buffer)
Initializes a new instance of the NSTemplate class.
|
NSTemplate(com.neurotec.io.NBuffer buffer,
int flags)
Initializes a new instance of the NSTemplate class.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
calculateSize(int[] recordSizes)
Calculates size of NSTemplate object containing particular NSRecords.
|
static void |
check(ByteBuffer buffer)
Checks if memory buffer contains a valid NSTemplate object.
|
static void |
check(com.neurotec.io.NBuffer buffer)
Checks if memory buffer contains a valid NSTemplate object.
|
static int |
getRecordCount(ByteBuffer buffer)
Gets record count in NSTemplate.
|
static int |
getRecordCount(com.neurotec.io.NBuffer buffer)
Gets record count in NSTemplate.
|
NSTemplate.RecordCollection |
getRecords()
Gets collection of records in the NSTemplate.
|
static int |
getSize(ByteBuffer buffer)
Retrieves the size of the NSTemplate
|
static int |
getSize(com.neurotec.io.NBuffer buffer)
Retrieves the size of the NSTemplate
|
static com.neurotec.lang.NType |
nativeTypeOf()
Retrieves the native type for the enclosing class.
|
addListener, addPropertyChangeListener, captureProperties, claimHandle, clone, compareTo, copyProperties, dispose, disposeArray, equals, fromHandle, fromHandle, fromObject, getFlags, getHandle, getNativeType, getOwner, getProperty, getProperty, getSize, getSize, getSizeMany, getSizeMany, hashCode, invoke, invoke, invoke, isDisposed, nObjectCallbackNativeTypeOf, nObjectPropertyChangedCallbackNativeTypeOf, ref, removeListener, removePropertyChangeListener, reset, resetProperty, save, save, save, save, save, save, save, save, save, save, save, save, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, setFlags, setProperty, setProperty, toHandle, toObject, toString, toString, unref, unrefArray, unrefElementspublic static final int MAX_RECORD_COUNT
public static final int PROCESS_FIRST_RECORD_ONLY
public NSTemplate()
public NSTemplate(int flags)
flags - Bitwise combination of zero or more flags that controls behavior of the constructor.
This parameter is reserved, must be zero.public NSTemplate(ByteBuffer buffer)
buffer - ByteBuffer that contains packed NETemlate.public NSTemplate(com.neurotec.io.NBuffer buffer)
buffer - NBuffer that contains packed NETemlate.public NSTemplate(com.neurotec.io.NBuffer buffer,
int flags)
buffer - NBuffer that contains packed NETemlate.flags - Bitwise combination of zero or more flags that controls behavior of the constructor.
This parameter is reserved, must be zero.public static com.neurotec.lang.NType nativeTypeOf()
public static int calculateSize(int[] recordSizes)
recordSizes - Array of separate NSRecord sizes.public static void check(ByteBuffer buffer)
buffer - ByteBuffer containing a NSTemplate.public static void check(com.neurotec.io.NBuffer buffer)
buffer - NBuffer containing a NSTemplate.public static int getSize(ByteBuffer buffer)
buffer - ByteBuffer containing a NSTemplate.public static int getSize(com.neurotec.io.NBuffer buffer)
buffer - NBuffer containing a NSTemplate.public static int getRecordCount(ByteBuffer buffer)
buffer - ByteBuffer containing a NSTemplate.public static int getRecordCount(com.neurotec.io.NBuffer buffer)
buffer - NBuffer containing a NSTemplate.public NSTemplate.RecordCollection getRecords()
Copyright © 2016 Neurotechnology. All rights reserved.