DataBufferShort.h

Go to the documentation of this file.
00001 #ifndef JAVA_AWT_IMAGE_DATABUFFERSHORT_H
00002 #define JAVA_AWT_IMAGE_DATABUFFERSHORT_H 1
00003 
00004 #ifndef JAVA_AWT_IMAGE_DATABUFFER_H
00005 #include <java_awt_image/DataBuffer.h>
00006 #endif /* JAVA_AWT_IMAGE_DATABUFFER_H */
00007 #ifndef JAVA_AWT_SPEC
00008 #include <java_awt/Spec.h>
00009 #endif /* JAVA_AWT_SPEC */
00010 
00011 namespace java {
00012   namespace awt {
00013     namespace image {
00014 
00018       class JAVA_AWT_SPEC DataBufferShort : public DataBuffer {
00019 
00020       public:
00021 
00029         DataBufferShort(jint size = 0, jint numBanks = 0);
00030 
00037         virtual const Array<jshort>& getData(jint bank = 0) const;
00038 
00043         virtual const Array<Array<jshort> >& getBankData() const;
00044 
00055         virtual jint getElem(jint i, jint bank = 0) const;
00056 
00067         virtual void setElem(jint i, jint val, jint bank = 0);
00068 
00069       protected:
00070 
00071         Array<Array<jshort> > bankdata;
00072 
00073         REGISTER_MEMBERS;
00074 
00075       };
00076 
00077     } // namespace image
00078   } // namespace awt
00079 } // namespace java
00080 
00081 #endif /* JAVA_AWT_IMAGE_DATABUFFERSHORT_H */

Generated on Fri May 16 11:54:43 2008 for CrossPlatformJavaLikeC++API by  doxygen 1.5.3