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

#include <ImfRational.h>

Public Member Functions

 Rational ()
 
 Rational (int n, int d)
 
 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 ( )
inline

Definition at line 71 of file ImfRational.h.

Rational::Rational ( int  n,
int  d 
)
inline

Definition at line 78 of file ImfRational.h.

Rational::Rational ( double  x)
explicit

Member Function Documentation

Rational::operator double ( ) const
inline

Definition at line 92 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: