SbNativeArrayT Class |
Namespace: OIV.Inventor.Generic
The SbNativeArrayT type exposes the following members.
Name | Description | |
---|---|---|
SbNativeArrayT(IntPtr) |
Initializes a new instance from an unmanaged memory.
| |
SbNativeArrayT(T) |
Initializes a new instance.
This constructor allows to share a managed array with unmanaged code.
| |
SbNativeArrayT(IntPtr, Int64) |
Initializes a new instance from an unmanaged memory.
| |
SbNativeArrayT(T, Boolean) |
Initializes a new instance.
This constructor allows to share a managed array with unmanaged code.
| |
SbNativeArrayT(IntPtr, Int64, Int64) |
Initializes a new instance from an unmanaged memory.
| |
SbNativeArrayT(IntPtr, Int64, Int64, Boolean) |
Initializes a new instance from an unmanaged memory.
| |
SbNativeArrayT(T, Int32, Boolean, Boolean) |
Initializes a new instance.
This constructor allows to share a managed array with unmanaged code.
|
Name | Description | |
---|---|---|
BeginRead | Begins an asynchronous read operation. (Inherited from Stream.) | |
BeginWrite | Begins an asynchronous write operation. (Inherited from Stream.) | |
Close | Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. (Inherited from Stream.) | |
Copy(SbNativeArrayT, SbNativeArrayT, Int32) |
Copy elements from source to destination array.
Positions remain unchanged in source and destination object.
| |
Copy(SbNativeArrayT, Int32, SbNativeArrayT, Int32, Int32) |
Copy count elements from source (starting at sourceIndex) to destination
(starting at destinationIndex).
| |
CopyTo(Stream) | Reads the bytes from the current stream and writes them to the destination stream. (Inherited from Stream.) | |
CopyTo(Stream, Int32) | Reads all the bytes from the current stream and writes them to a destination stream, using a specified buffer size. (Inherited from Stream.) | |
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
Dispose | Releases all resources used by the Stream. (Inherited from Stream.) | |
EndRead | Waits for the pending asynchronous read to complete. (Inherited from Stream.) | |
EndWrite | Ends an asynchronous write operation. (Inherited from Stream.) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Flush |
Overrides the Flush method so that no action is performed.
(Overrides StreamFlush.) | |
GetBuffer |
Returns the array of elements of type T from which this stream was created.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
Read |
Read one element from current stream position and advances the position within the
stream by 1.
| |
Read(NullableT) |
Read one element from current stream position and advances the position within the
stream by 1.
| |
Read(Byte, Int32, Int32) |
Reads the specified number of bytes into the specified array and advances the position within the
stream by the number of bytes read.
(Overrides StreamRead(Byte, Int32, Int32).) | |
ReadBlock |
Copies element from the current stream to an array and advances the position within the
stream by the number of elements read.
| |
ReadByte | Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream. (Inherited from Stream.) | |
Seek |
Sets the current position of the current stream to the given value.
(Overrides StreamSeek(Int64, SeekOrigin).) | |
SetLength |
Sets the current position of the current stream to the given value.
(Overrides StreamSetLength(Int64).) | |
ToArray |
Copy elements in this instance to an array of type T.
| |
ToArray(Int32, Int32) |
Copy elements in this instance to an array of type element type.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Write(T) |
Copy an element to current stream position and advances the current position within this stream by 1.
| |
Write(SbNativeArrayT) |
Copy elements from the source array. Use the current Position
as start position.
| |
Write(Byte, Int32, Int32) |
Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
(Overrides StreamWrite(Byte, Int32, Int32).) | |
Write(SbNativeArrayT, Int32, Int32) |
Copy elements from the source array. Use the current Position
as start position.
| |
WriteBlock(T) |
Writes a sequence of elements to the current stream and advances the current position within this stream by the number of elements written.
| |
WriteBlock(T, Int32, Int32) |
Writes a sequence of elements to the current stream and advances the current position within this stream by the number of elements written.
| |
WriteByte | Writes a byte to the current position in the stream and advances the position within the stream by one byte. (Inherited from Stream.) |
Name | Description | |
---|---|---|
(SbNativeArrayT to T) |
Explicit cast operator to convert a native array of T
to an array of boolean.
| |
(SbNativeArrayT to SbNativeArrayBoolean) |
Explicit cast operator to convert an native array of T to a
native array of boolean.
| |
(SbNativeArrayT to SbNativeArrayByte) |
Explicit cast operator to convert an native array of T to a
native array of byte.
| |
(SbNativeArrayT to SbNativeArrayChar) |
Explicit cast operator to convert an native array of T to a
native array of char.
| |
(SbNativeArrayT to SbNativeArrayDouble) |
Explicit cast operator to convert an native array of T to a
native array of double.
| |
(SbNativeArrayT to SbNativeArrayInt16) |
Explicit cast operator to convert an native array of T to a
native array of short.
| |
(SbNativeArrayT to SbNativeArrayInt32) |
Explicit cast operator to convert an native array of T to a
native array of integer.
| |
(SbNativeArrayT to SbNativeArrayInt64) |
Explicit cast operator to convert an native array of T to a
native array of long.
| |
(SbNativeArrayT to SbNativeArraySByte) |
Explicit cast operator to convert an native array of T to a
native array of signed byte.
| |
(SbNativeArrayT to SbNativeArraySingle) |
Explicit cast operator to convert an native array of T to a
native array of float.
| |
(SbNativeArrayT to SbNativeArrayUInt16) |
Explicit cast operator to convert an native array of T to a
native array of unsigned short.
| |
(SbNativeArrayT to SbNativeArrayUInt32) |
Explicit cast operator to convert an native array of T to a
native array of unsigned integer.
| |
(SbNativeArrayT to SbNativeArrayUInt64) |
Explicit cast operator to convert an native array of T to a
native array of unsigned long.
| |
(SbNativeArrayT to SbNativeArraySbVec2f) |
Explicit cast operator to convert an native array of T to a
native array of SbVec2f.
| |
(SbNativeArrayT to SbNativeArraySbVec2d) |
Explicit cast operator to convert an native array of T to a
native array of SbVec2d.
| |
(SbNativeArrayT to SbNativeArraySbVec2s) |
Explicit cast operator to convert an native array of T to a
native array of SbVec2s.
| |
(SbNativeArrayT to SbNativeArraySbVec2i32) |
Explicit cast operator to convert an native array of T to a
native array of SbVec2i32.
| |
(SbNativeArrayT to SbNativeArraySbVec3f) |
Explicit cast operator to convert an native array of T to a
native array of SbVec3f.
| |
(SbNativeArrayT to SbNativeArraySbVec3d) |
Explicit cast operator to convert an native array of T to a
native array of SbVec3d.
| |
(SbNativeArrayT to SbNativeArraySbVec3s) |
Explicit cast operator to convert an native array of T to a
native array of SbVec3s.
| |
(SbNativeArrayT to SbNativeArraySbVec3i32) |
Explicit cast operator to convert an native array of T to a
native array of SbVec3i32.
| |
(SbNativeArrayT to SbNativeArraySbVec4b) |
Explicit cast operator to convert an native array of T to a
native array of SbVec4b.
| |
(SbNativeArrayT to SbNativeArraySbVec4d) |
Explicit cast operator to convert an native array of T to a
native array of SbVec4d.
| |
(SbNativeArrayT to SbNativeArraySbVec4f) |
Explicit cast operator to convert an native array of T to a
native array of SbVec4f.
| |
(SbNativeArrayT to SbNativeArraySbVec4i32) |
Explicit cast operator to convert an native array of T to a
native array of SbVec4i32.
| |
(SbNativeArrayT to SbNativeArraySbVec4s) |
Explicit cast operator to convert an native array of T to a
native array of SbVec4s.
| |
(SbNativeArrayT to SbNativeArraySbVec4ub) |
Explicit cast operator to convert an native array of T to a
native array of SbVec4ub.
| |
(SbNativeArrayT to SbNativeArraySbVec4ui32) |
Explicit cast operator to convert an native array of T to a
native array of SbVec4ui32.
| |
(SbNativeArrayT to SbNativeArraySbVec4us) |
Explicit cast operator to convert an native array of T to a
native array of SbVec4us.
| |
(SbNativeArrayT to SbNativeArraySbColor) |
Explicit cast operator to convert an native array of T to a
native array of SbColor.
| |
(SbNativeArrayT to SbNativeArraySbColorRGBA) |
Explicit cast operator to convert an native array of T to a
native array of SbColorRGBA.
| |
(SbNativeArrayT to SbNativeArraySbPlane) |
Explicit cast operator to convert an native array of T to a
native array of SbPlane.
| |
(SbNativeArrayT to SbNativeArraySbTime) |
Explicit cast operator to convert an native array of T to a
native array of SbTime.
| |
(SbNativeArrayT to SbNativeArraySbRotation) |
Explicit cast operator to convert an native array of T to a
native array of SbRotation.
| |
(SbNativeArrayT to SbNativeArraySbMatrix) |
Explicit cast operator to convert an native array of T to a
native array of SbMatrix.
|
Name | Description | |
---|---|---|
CanGetBuffer |
Gets a flag indicating if it is legacy to call
GetBuffer method.
| |
CanRead |
Gets a value indicating whether the current stream supports reading.
(Overrides StreamCanRead.) | |
CanSeek |
Gets a value indicating whether the current stream supports seeking.
(Overrides StreamCanSeek.) | |
CanTimeout | Gets a value that determines whether the current stream can time out. (Inherited from Stream.) | |
CanWrite |
Gets a value indicating whether the current stream supports writing.
(Overrides StreamCanWrite.) | |
Capacity |
Capacity of the buffer.
| |
DataPointer |
Pointer to the underlying native array.
| |
HasManagedBuffer |
Convenient property to test if the instance wraps
a managed buffer.
| |
Int32Capacity |
Capacity of the buffer.
| |
Int32Length |
Gets a 32-bit integer that represents the total number of elements of the SbNativeArrayT.
| |
Item |
Gets or sets the element at the specified index.
| |
Length |
Gets a 64-bit integer that represents the total number of elements of the SbNativeArrayT.
(Overrides StreamLength.) | |
Position |
Gets or sets the current position within the stream.
(Overrides StreamPosition.) | |
ReadTimeout | Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out. (Inherited from Stream.) | |
WriteTimeout | Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out. (Inherited from Stream.) |