Theora Playback Library  1.1.0
Macros | Functions
TheoraUtil.h File Reference

Go to the source code of this file.

Macros

#define foreach(type, lst)   for (std::vector<type>::iterator it=lst.begin();it != lst.end(); ++it)
 
#define foreach_l(type, lst)   for (std::list<type>::iterator it=lst.begin();it != lst.end(); ++it)
 
#define foreach_r(type, lst)   for (std::vector<type>::reverse_iterator it=lst.rbegin();it != lst.rend(); ++it)
 
#define foreach_in_map(type, lst)   for (std::map<std::string,type>::iterator it=lst.begin();it != lst.end(); ++it)
 
#define th_writelog(x)   TheoraVideoManager::getSingleton().logMessage(x)
 

Functions

std::string str (int i)
 
std::string strf (float i)
 
void _psleep (int milliseconds)
 
int _nextPow2 (int x)
 

Macro Definition Documentation

#define foreach (   type,
  lst 
)    for (std::vector<type>::iterator it=lst.begin();it != lst.end(); ++it)
#define foreach_in_map (   type,
  lst 
)    for (std::map<std::string,type>::iterator it=lst.begin();it != lst.end(); ++it)
#define foreach_l (   type,
  lst 
)    for (std::list<type>::iterator it=lst.begin();it != lst.end(); ++it)
#define foreach_r (   type,
  lst 
)    for (std::vector<type>::reverse_iterator it=lst.rbegin();it != lst.rend(); ++it)
#define th_writelog (   x)    TheoraVideoManager::getSingleton().logMessage(x)

Function Documentation

int _nextPow2 ( int  x)
void _psleep ( int  milliseconds)
std::string str ( int  i)
std::string strf ( float  i)