Developer Documentation
Centre for Vision, Speech & Signal Processing
USER IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
TimeCodeC::TimeCodeC(UCharT,UCharT,UCharT,UCharT)
TimeCodeC::TimeCodeC(UCharT *)
TimeCodeC::TimeCodeC(int,int,int,int)
TimeCodeC::TimeCodeC(const long int)
TimeCodeC::TimeCodeC(const TimeCodeC &)
TimeCodeC::TimeCodeC(const char *)
TimeCodeC::TimeCodeC(void)
TimeCodeC::~TimeCodeC(void)
TimeCodeC::operator=(const TimeCodeC &)
TimeCodeC::operator==(const TimeCodeC &) const
TimeCodeC::operator==(TimeCodeC &)
TimeCodeC::operator!=(const TimeCodeC &)
TimeCodeC::operator<(const TimeCodeC &) const
TimeCodeC::operator>(const TimeCodeC &) const
TimeCodeC::operator>=(const TimeCodeC &) const
TimeCodeC::operator<=(const TimeCodeC &) const
TimeCodeC::operator+(const TimeCodeC &) const
TimeCodeC::operator-(const TimeCodeC &) const
TimeCodeC::operator+=(const TimeCodeC &)
TimeCodeC::operator+=(long int)
TimeCodeC::operator-=(const TimeCodeC &)
TimeCodeC::operator<<(ostream &,const TimeCodeC &)
TimeCodeC::operator>>(istream &,TimeCodeC &)
TimeCodeC::Hash(void) const
TimeCodeC::bcd(UCharT)
TimeCodeC::ToChar(void) const
TimeCodeC::NumberOfFramesTo(const TimeCodeC &)
TimeCodeC::IsValid(void)
TimeCodeC::TimeCode(void) const
TimeCodeC::getFrameCount(void) const
TimeCodeC
 
include "amma/TimeCode.hh"
User Level:Default
Library:Mentity
Example:exComplx.cc
Section:default.K.Messer
In Scope:std

Variables:

long int m_liFrame;
Absolute frame count of timecode

Methods:
TimeCodeC(UCharT hr,UCharT min,UCharT sec,UCharT fr)
Construct timecode from 4 bytes

TimeCodeC(UCharT * in)
Construct timecode from byte array

TimeCodeC(int hr,int min,int sec,int fr)
Construct timecode from 4 ints

TimeCodeC(const long int nFrames)
Construct timecode from absolute frame count

TimeCodeC(const TimeCodeC & in)
Construct timecode from another timecode

TimeCodeC(const char * string)
Construct from a valid string representation

TimeCodeC()
Construct empty timecode

~TimeCodeC()
Destroy timecode ========= Operators =========

TimeCodeC & operator=(const TimeCodeC & in)
Equal assignment

bool operator==(const TimeCodeC & in) const
Checks for equals assignment

bool operator==(TimeCodeC & in)
Checks for equals assignment

bool operator!=(const TimeCodeC & in)
Checks for not equals assignment

bool operator<(const TimeCodeC & in) const
Checks if timecode smaller than input timecode

bool operator>(const TimeCodeC & in) const
Checks if timecode is bigger than input

bool operator>=(const TimeCodeC & in) const
Checks if timecode is bigger or equal to input

bool operator<=(const TimeCodeC & in) const
Checks if timecode is smaller or equal to input

TimeCodeC operator+(const TimeCodeC & in) const
Adds timecodes

TimeCodeC operator-(const TimeCodeC & in) const
Subtracts timecodes

TimeCodeC & operator+=(const TimeCodeC & in)
Adds input timecode to this timecode

TimeCodeC & operator+=(long int frame)
Adds frame count to timecode

TimeCodeC & operator-=(const TimeCodeC & in)
Subtracts input timecode from this

ostream & operator<<(ostream & s,const TimeCodeC & out)
Output stream for timecode

istream & operator>>(istream & s,TimeCodeC & inds)
Input stream fot timecode ================ Member Functions ================

unsigned int Hash() const
the hash key

int bcd(UCharT in)
Routine to convert binary coded decimal to int

char * ToChar() const
Return a char representation of timecode

int NumberOfFramesTo(const TimeCodeC & in)
Count the number of frames to a timecode

bool IsValid()
Checks whether the timecode holds valid data

TIMECODE TimeCode() const
returns TIMECODE structure

long int getFrameCount() const


Programmer:Kieron J Messer, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001