All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Rational Class Reference

#include <ImfRational.h>

Public Member Functions

 Rational ()
 Rational (int n, int d)
IMF_EXPORT Rational (double x)
 operator double () const

Public Attributes

int n
unsigned int d

Detailed Description

Definition at line 59 of file ImfRational.h.

Constructor & Destructor Documentation

Rational::Rational ( )

Definition at line 71 of file ImfRational.h.

Rational::Rational ( int  n,
int  d 

Definition at line 78 of file ImfRational.h.

IMF_EXPORT Rational::Rational ( double  x)

Member Function Documentation

Rational::operator double ( ) const

Definition at line 93 of file ImfRational.h.

Member Data Documentation

unsigned int Rational::d

Definition at line 64 of file ImfRational.h.

int Rational::n

Definition at line 63 of file ImfRational.h.

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