#include <TextureUtils.h>
Public Member Functions | |
MediaInfo (const std::string &mediaPath_, MediaInfoType mediaArg=0) | |
MediaInfo (const MediaInfo ©) | |
MediaInfo & | operator= (const MediaInfo ©) |
void | setMediaPath (const char *mediaPath_) |
const std::string & | getMediaPath () const |
void | increaseUserCount () |
void | decreaseUserCount () |
unsigned int | getUserCount () |
MediaInfoType & | getMedia () |
void | setMedia (MediaInfoType &mediaArg) |
bool | operator> (const MediaInfo &info) |
bool | operator< (const MediaInfo &info) |
bool | operator== (const MediaInfo &info) |
bool | operator!= (const MediaInfo &info) |
Protected Attributes | |
unsigned int | userCount |
MediaInfoType | media |
std::string | mediaPath |
Definition at line 13 of file TextureUtils.h.
MediaInfo< MediaInfoType >::MediaInfo | ( | const std::string & | mediaPath_, | |
MediaInfoType | mediaArg = 0 | |||
) | [inline] |
Definition at line 17 of file TextureUtils.h.
References MediaInfo< MediaInfoType >::media, MediaInfo< MediaInfoType >::mediaPath, and MediaInfo< MediaInfoType >::userCount.
MediaInfo& MediaInfo< MediaInfoType >::operator= | ( | const MediaInfo< MediaInfoType > & | copy | ) | [inline] |
Definition at line 29 of file TextureUtils.h.
References MediaInfo< MediaInfoType >::media, MediaInfo< MediaInfoType >::mediaPath, and MediaInfo< MediaInfoType >::userCount.
Referenced by MediaInfo< MediaInfoType >::MediaInfo().
void MediaInfo< MediaInfoType >::setMediaPath | ( | const char * | mediaPath_ | ) | [inline] |
const std::string& MediaInfo< MediaInfoType >::getMediaPath | ( | ) | const [inline] |
void MediaInfo< MediaInfoType >::increaseUserCount | ( | ) | [inline] |
Definition at line 50 of file TextureUtils.h.
References MediaInfo< MediaInfoType >::userCount.
Referenced by Texture::setID().
void MediaInfo< MediaInfoType >::decreaseUserCount | ( | ) | [inline] |
Definition at line 55 of file TextureUtils.h.
References MediaInfo< MediaInfoType >::userCount.
Referenced by Texture::destroy().
unsigned int MediaInfo< MediaInfoType >::getUserCount | ( | ) | [inline] |
MediaInfoType& MediaInfo< MediaInfoType >::getMedia | ( | ) | [inline] |
Definition at line 65 of file TextureUtils.h.
References MediaInfo< MediaInfoType >::media.
Referenced by Texture::checkForRepeat().
void MediaInfo< MediaInfoType >::setMedia | ( | MediaInfoType & | mediaArg | ) | [inline] |
bool MediaInfo< MediaInfoType >::operator== | ( | const MediaInfo< MediaInfoType > & | info | ) | [inline] |
Definition at line 85 of file TextureUtils.h.
References MediaInfo< MediaInfoType >::media, MediaInfo< MediaInfoType >::mediaPath, and MediaInfo< MediaInfoType >::userCount.
Referenced by MediaInfo< MediaInfoType >::operator!=().
Definition at line 98 of file TextureUtils.h.
Referenced by MediaInfo< MediaInfoType >::decreaseUserCount(), MediaInfo< MediaInfoType >::getUserCount(), MediaInfo< MediaInfoType >::increaseUserCount(), MediaInfo< MediaInfoType >::MediaInfo(), MediaInfo< MediaInfoType >::operator=(), and MediaInfo< MediaInfoType >::operator==().
Definition at line 99 of file TextureUtils.h.
Referenced by MediaInfo< MediaInfoType >::getMedia(), MediaInfo< MediaInfoType >::MediaInfo(), MediaInfo< MediaInfoType >::operator=(), MediaInfo< MediaInfoType >::operator==(), and MediaInfo< MediaInfoType >::setMedia().
Definition at line 100 of file TextureUtils.h.
Referenced by MediaInfo< MediaInfoType >::getMediaPath(), MediaInfo< MediaInfoType >::MediaInfo(), MediaInfo< MediaInfoType >::operator<(), MediaInfo< MediaInfoType >::operator=(), MediaInfo< MediaInfoType >::operator==(), MediaInfo< MediaInfoType >::operator>(), and MediaInfo< MediaInfoType >::setMediaPath().