DataBufferByte.h

Go to the documentation of this file.
00001 #ifndef JAVA_AWT_IMAGE_DATABUFFERBYTE_H
00002 #define JAVA_AWT_IMAGE_DATABUFFERBYTE_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 
00020       class JAVA_AWT_SPEC DataBufferByte : public DataBuffer {
00021 
00022       public:
00023 
00031         DataBufferByte(jint size = 0, jint numBanks = 0);
00032 
00039         virtual const Array<jbyte>& getData(jint bank = 0) const;
00040 
00045         virtual const Array<Array<jbyte> >& getBankData() const;
00046 
00057         virtual jint getElem(jint i, jint bank = 0) const;
00058 
00069         virtual void setElem(jint i, jint val, jint bank = 0);
00070 
00071       protected:
00072 
00073         Array<Array<jbyte> > bankdata;
00074 
00075         REGISTER_MEMBERS;
00076 
00077       };
00078 
00079     } // namespace image
00080   } // namespace awt
00081 } // namespace java
00082 
00083 #endif /* JAVA_AWT_IMAGE_DATABUFFERBYTE_H */

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