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

Constructor & Destructor Documentation

Rational::Rational ( )
inline

Definition at line 38 of file ImfRational.h.

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

Definition at line 44 of file ImfRational.h.

IMF_EXPORT Rational::Rational ( double  x)
explicit

Member Function Documentation

Rational::operator double ( ) const
inline

Definition at line 57 of file ImfRational.h.

Member Data Documentation

unsigned int Rational::d

Definition at line 32 of file ImfRational.h.

int Rational::n

Definition at line 31 of file ImfRational.h.


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