Width Struct Reference

#include <width.hpp>

List of all members.

Public Member Functions

Public Attributes


Detailed Description

Definition at line 12 of file width.hpp.


Constructor & Destructor Documentation

Width (  )  [inline]

Definition at line 16 of file width.hpp.

00016 : sz(0.01), nb(100) {}

Width ( int  n  )  [inline]

Definition at line 17 of file width.hpp.

00017 : sz(0.01), nb(n){}

Width ( double  x  )  [inline]

Definition at line 18 of file width.hpp.

00018 : sz(x), nb(100){}

Width ( double  x,
unsigned  n 
) [inline]

Definition at line 19 of file width.hpp.

00019 : sz(x),nb(n){}

Width ( const Width c  )  [inline]

Definition at line 20 of file width.hpp.

00020 : sz(c.sz),nb(c.nb){}


Member Function Documentation

Width& operator= ( const Width c  )  [inline]

Definition at line 21 of file width.hpp.

References Width::nb, and Width::sz.

00022   {
00023     sz=c.sz; nb=c.nb; return *this;
00024   }


Member Data Documentation

unsigned nb

Definition at line 15 of file width.hpp.

Referenced by mmx::shape::operator<<(), and Width::operator=().

double sz

Definition at line 14 of file width.hpp.

Referenced by mmx::shape::operator<<(), and Width::operator=().


The documentation for this struct was generated from the following file:

Generated on 6 Dec 2012 for shape by  doxygen 1.6.1