HDK
 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 29 of file ImfRational.h.

Constructor & Destructor Documentation

Rational::Rational ( )
inline

Definition at line 41 of file ImfRational.h.

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

Definition at line 48 of file ImfRational.h.

IMF_EXPORT Rational::Rational ( double  x)
explicit

Member Function Documentation

Rational::operator double ( ) const
inline

Definition at line 63 of file ImfRational.h.

Member Data Documentation

unsigned int Rational::d

Definition at line 34 of file ImfRational.h.

int Rational::n

Definition at line 33 of file ImfRational.h.


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