Public Member Functions | Private Attributes
photo_image Class Reference

#include <photo_image.hpp>

List of all members.

Public Member Functions

size_t getBytesPerPixel (void)
char * getDataAddress (void)
int getHeight (void)
size_t getImageSize (void)
int getWidth (void)
 photo_image (void)
bool photo_image_read (std::string filename)
void photo_image_set_size (int image_width, int image_height, size_t image_bytes_per_pixel)
bool photo_image_write (std::string filename)
 ~photo_image (void)

Private Attributes

size_t bytes_per_pixel_
char * data_
int height_
size_t image_size_
int width_

Detailed Description

Definition at line 40 of file photo_image.hpp.


Constructor & Destructor Documentation

Definition at line 43 of file photo_image.cpp.

Definition at line 52 of file photo_image.cpp.


Member Function Documentation

size_t photo_image::getBytesPerPixel ( void  )

Definition at line 68 of file photo_image.cpp.

char * photo_image::getDataAddress ( void  )

Definition at line 78 of file photo_image.cpp.

int photo_image::getHeight ( void  )

Definition at line 63 of file photo_image.cpp.

size_t photo_image::getImageSize ( void  )

Definition at line 73 of file photo_image.cpp.

int photo_image::getWidth ( void  )

Definition at line 58 of file photo_image.cpp.

bool photo_image::photo_image_read ( std::string  filename)

Definition at line 97 of file photo_image.cpp.

void photo_image::photo_image_set_size ( int  image_width,
int  image_height,
size_t  image_bytes_per_pixel 
)

Definition at line 84 of file photo_image.cpp.

bool photo_image::photo_image_write ( std::string  filename)

Definition at line 143 of file photo_image.cpp.


Member Data Documentation

Definition at line 46 of file photo_image.hpp.

char* photo_image::data_ [private]

Definition at line 48 of file photo_image.hpp.

int photo_image::height_ [private]

Definition at line 45 of file photo_image.hpp.

size_t photo_image::image_size_ [private]

Definition at line 47 of file photo_image.hpp.

int photo_image::width_ [private]

Definition at line 44 of file photo_image.hpp.


The documentation for this class was generated from the following files:


photo
Author(s): Benjamin Pitzer
autogenerated on Mon Oct 6 2014 10:09:43