DataBufferInt.h

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

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