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

Public Member Functions | Static Public Member Functions | Properties | Private Attributes

TagLib::IFD::Entries::SRational Struct Reference

Representation of a signed rational value. More...

List of all members.

Public Member Functions

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

Static Public Member Functions

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


int Denominator [get, set]
int Numerator [get, set]

Private Attributes

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

Detailed Description

Representation of a signed rational value.

Definition at line 34 of file SRational.cs.

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

Generated by  Doxygen 1.6.0   Back to index