Logo Search packages:      
Sourcecode: f-spot version File versions  Download package

TagLib::IFD::Entries::Rational Struct Reference

List of all members.

Detailed Description

Representation of an unsigned rational value.

Definition at line 34 of file Rational.cs.

Public Member Functions

 Rational (uint numerator, uint denominator)
 Creates a new Rational value.
Rational Reduce ()
 Returns a rational value with reduced nominator and denominator.
override string ToString ()
 Converts the value to a System.String.
string ToString (string format, IFormatProvider provider)
 Formatprovider to allow formatting of a value. IFormattable.

Static Public Member Functions

static implicit operator double (Rational rat)
 Cast the Rational value to a System.Double.


uint Denominator [get, set]
uint Numerator [get, set]

Private Attributes

uint denominator
 The denominator of the rational value.
uint numerator
 The numerator of the rational value.

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

Generated by  Doxygen 1.6.0   Back to index