oln::image1d_size Struct Reference

#include <image1d_size.hh>

Inheritance diagram for oln::image1d_size:

Inheritance graph
[legend]
Collaboration diagram for oln::image1d_size:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 image1d_size (coord ncols, coord border)
 Image1d_size constructor.

coord ncols () const
 Return the number of columns in the image.

coordncols ()
 Return a reference to the number of columns in the image.


Static Public Member Functions

std::string name ()

Detailed Description

Size_type for image1d.

Definition at line 55 of file image1d_size.hh.


Constructor & Destructor Documentation

oln::image1d_size::image1d_size coord  ncols,
coord  border
[inline]
 

Image1d_size constructor.

  • ncols The number of columns in the image is set to ncols.
  • border The border width of the image is set to border.

Definition at line 67 of file image1d_size.hh.

References oln::coord, and oln::abstract::image_size< image1d_size >::nth().

00068     {
00069       nth(0) = ncols;
00070       border_ = border;
00071     }


The documentation for this struct was generated from the following file:
Generated on Thu Apr 15 20:14:16 2004 for Olena by doxygen 1.3.6-20040222