org.rococoa.cocoa.osservices
Class CDB

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.sun.jna.Union
          extended by com.ochafik.lang.jnaerator.runtime.Union<CDB,CDB.ByValue,CDB.ByReference>
              extended by org.rococoa.cocoa.osservices.CDB
All Implemented Interfaces:
StructureType, StructureTypeDependent
Direct Known Subclasses:
CDB.ByReference, CDB.ByValue

public class CDB
extends Union<CDB,CDB.ByValue,CDB.ByReference>

Command Descriptor Block structure
native declaration : /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/OSServices.framework/Headers/SCSI.h:304
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class CDB.ByReference
           
static class CDB.ByValue
           
 
Field Summary
 byte[] cdbBytes
          the actual CDB to send
C type : UInt8[16]
 Pointer cdbPtr
          pointer to the CDB, or
C type : BytePtr
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE
 
Constructor Summary
CDB()
           
CDB(byte[] cdbBytes)
           
CDB(Pointer cdbPtr)
           
 
Method Summary
static CDB[] newArray(int arrayLength)
           
 
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Union
byReference, byValue, castToArray, castToArray, castToArray, clone, newArray, read, setDependency, toArray, toArray, toArray, use, use, use, use, write
 
Methods inherited from class com.sun.jna.Union
getTypedValue, readField, setType, setTypedValue, writeField, writeField
 
Methods inherited from class com.sun.jna.Structure
autoRead, autoRead, autoWrite, autoWrite, clear, equals, getAutoRead, getAutoWrite, getPointer, hashCode, newInstance, setAutoRead, setAutoSynch, setAutoWrite, size, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ochafik.lang.jnaerator.runtime.StructureType
getPointer, size
 

Field Detail

cdbPtr

public Pointer cdbPtr
pointer to the CDB, or
C type : BytePtr


cdbBytes

public byte[] cdbBytes
the actual CDB to send
C type : UInt8[16]

Constructor Detail

CDB

public CDB()

CDB

public CDB(byte[] cdbBytes)
Parameters:
cdbBytes - the actual CDB to send
C type : UInt8[16]

CDB

public CDB(Pointer cdbPtr)
Parameters:
cdbPtr - pointer to the CDB, or
C type : BytePtr
Method Detail

newArray

public static CDB[] newArray(int arrayLength)


Copyright © 2009. All Rights Reserved.