libsub
 All Classes Files Functions Variables
Public Member Functions | Static Public Member Functions | Friends | List of all members
sub::Time Class Reference

Public Member Functions

int hours () const
 
int minutes () const
 
int seconds () const
 
int frames_at (Rational rate) const
 
int milliseconds () const
 
double all_as_seconds () const
 

Static Public Member Functions

static Time from_hmsf (int h, int m, int s, int f, boost::optional< Rational > rate=boost::optional< Rational >())
 
static Time from_hms (int h, int m, int s, int ms)
 

Friends

bool operator< (Time const &a, Time const &b)
 
bool operator> (Time const &a, Time const &b)
 
bool operator== (Time const &a, Time const &b)
 
std::ostream & operator<< (std::ostream &s, Time const &t)
 

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