claw::graphic::image::scanline Class Reference

#include <image.hpp>

List of all members.


Detailed Description

One line in the image.

Author:
Julien Jorge

Definition at line 57 of file image.hpp.

Public Types

typedef std::vector< pixel_typesuper
 The type of the parent class.
typedef super::value_type value_type
 The type of the pixels.
typedef super::reference reference
 Reference to a pixel..
typedef super::const_reference const_reference
 Const reference to a pixel.
typedef super::iterator iterator
 Iterator in the line.
typedef super::const_iterator const_iterator
 Const iterator in the line.
typedef super::size_type size_type
 An unsigned integral type.

Public Member Functions

iterator begin ()
 Get an iterator on the first pixel.
iterator end ()
 Get en iterator past the last pixel.
const_iterator begin () const
 Get an iterator on constant data on the first pixel.
const_iterator end () const
 Get an iterator on constant data past the last pixel.
reference operator[] (unsigned int i)
 Get a pixel from the line.
const_reference operator[] (unsigned int i) const
 Get a pixel from the line.
size_type size () const
 Get the length of the line.

Friends

class image


Member Typedef Documentation

typedef super::const_iterator claw::graphic::image::scanline::const_iterator

Const iterator in the line.

Definition at line 78 of file image.hpp.

typedef super::const_reference claw::graphic::image::scanline::const_reference

Const reference to a pixel.

Definition at line 72 of file image.hpp.

typedef super::iterator claw::graphic::image::scanline::iterator

Iterator in the line.

Definition at line 75 of file image.hpp.

typedef super::reference claw::graphic::image::scanline::reference

Reference to a pixel..

Definition at line 69 of file image.hpp.

typedef super::size_type claw::graphic::image::scanline::size_type

An unsigned integral type.

Definition at line 81 of file image.hpp.

typedef std::vector<pixel_type> claw::graphic::image::scanline::super

The type of the parent class.

Definition at line 63 of file image.hpp.

typedef super::value_type claw::graphic::image::scanline::value_type

The type of the pixels.

Definition at line 66 of file image.hpp.


Member Function Documentation

claw::graphic::image::scanline::const_iterator claw::graphic::image::scanline::begin (  )  const

Get an iterator on constant data on the first pixel.

Definition at line 72 of file image.cpp.

00073 {
00074   return super::begin();
00075 } // image::scanline::begin()

claw::graphic::image::scanline::iterator claw::graphic::image::scanline::begin (  ) 

Get an iterator on the first pixel.

Definition at line 53 of file image.cpp.

00054 {
00055   return super::begin();
00056 } // image::scanline::begin()

claw::graphic::image::scanline::const_iterator claw::graphic::image::scanline::end (  )  const

Get an iterator on constant data past the last pixel.

Definition at line 82 of file image.cpp.

00083 {
00084   return super::end();
00085 } // image::scanline::end()

claw::graphic::image::scanline::iterator claw::graphic::image::scanline::end (  ) 

Get en iterator past the last pixel.

Definition at line 62 of file image.cpp.

00063 {
00064   return super::end();
00065 } // image::scanline::end()

claw::graphic::image::scanline::const_reference claw::graphic::image::scanline::operator[] ( unsigned int  i  )  const [inline]

Get a pixel from the line.

Parameters:
i The index of the pixel.

Definition at line 49 of file image.ipp.

00050 {
00051   return super::operator[](i);
00052 } // image::scanline::operator[]()

claw::graphic::image::scanline::reference claw::graphic::image::scanline::operator[] ( unsigned int  i  )  [inline]

Get a pixel from the line.

Parameters:
i The index of the pixel.

Definition at line 38 of file image.ipp.

00039 {
00040   return super::operator[](i);
00041 } // image::scanline::operator[]()

claw::graphic::image::scanline::size_type claw::graphic::image::scanline::size (  )  const

Get the length of the line.

Definition at line 92 of file image.cpp.

00093 {
00094   return super::size();
00095 } // image::scanline::size()


Friends And Related Function Documentation

friend class image [friend]

Definition at line 59 of file image.hpp.


The documentation for this class was generated from the following files:
Generated on Mon Nov 9 05:07:35 2009 for CLAW Library (a C++ Library Absolutely Wonderful) by  doxygen 1.4.7