Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ParseTimeSmpte Class Reference

#include <TimeDefs.h>

Inheritance diagram for ParseTimeSmpte:

Inheritance graph
[legend]
Collaboration diagram for ParseTimeSmpte:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ParseTimeSmpte (const char *text)
 ParseTimeSmpte (int hours, int minutes, int seconds, int frames, int subframes)
 ParseTimeSmpte (const ParseTimeSmpte &orig)
 Copy constructor.
virtual ~ParseTimeSmpte ()
virtual ParseTimeBaseclone () const
virtual int getAsNptSeconds () const
virtual void dump (ostream &out) const
virtual MNString toString () const

Constructor & Destructor Documentation

ParseTimeSmpte::ParseTimeSmpte const char *  text  ) 
 

Parse the given string for a SMPTE time string and store the time value in internal format. Permissible inputs may look like one of these

        <hh>:<mm>:<ss>:<FF>.<ff>
        <hh>:<mm>:<ss>:<FF>
        <hh>:<mm>:<ss>.<ff>
        

ParseTimeSmpte::ParseTimeSmpte int  hours,
int  minutes,
int  seconds,
int  frames,
int  subframes
 

Create a SMPTE time stamp from all the legal values.

ParseTimeSmpte::ParseTimeSmpte const ParseTimeSmpte orig  ) 
 

Copy constructor.

virtual ParseTimeSmpte::~ParseTimeSmpte  )  [inline, virtual]
 


Member Function Documentation

virtual ParseTimeBase* ParseTimeSmpte::clone  )  const [virtual]
 

Implements ParseTimeBase.

virtual void ParseTimeSmpte::dump ostream &  out  )  const [virtual]
 

Implements ParseTimeBase.

virtual int ParseTimeSmpte::getAsNptSeconds  )  const [virtual]
 

The internally stored time in rounded seconds. The fraction that is expressed in terms of frames and subframes is ignored.

Implements ParseTimeBase.

virtual MNString ParseTimeSmpte::toString  )  const [virtual]
 

Implements ParseTimeBase.


The documentation for this class was generated from the following file:
Generated on Sun Mar 6 13:36:04 2005 for Komssys by doxygen 1.3.8