MediaInfo< MediaInfoType > Class Template Reference

#include <TextureUtils.h>

Collaboration diagram for MediaInfo< MediaInfoType >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 MediaInfo (const std::string &mediaPath_, MediaInfoType mediaArg=0)
 MediaInfo (const MediaInfo &copy)
MediaInfooperator= (const MediaInfo &copy)
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


Detailed Description

template<class MediaInfoType>
class MediaInfo< MediaInfoType >

Definition at line 13 of file TextureUtils.h.


Constructor & Destructor Documentation

template<class MediaInfoType>
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.

template<class MediaInfoType>
MediaInfo< MediaInfoType >::MediaInfo ( const MediaInfo< MediaInfoType > &  copy  )  [inline]

Definition at line 24 of file TextureUtils.h.

References MediaInfo< MediaInfoType >::operator=().


Member Function Documentation

template<class MediaInfoType>
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().

template<class MediaInfoType>
void MediaInfo< MediaInfoType >::setMediaPath ( const char *  mediaPath_  )  [inline]

Definition at line 40 of file TextureUtils.h.

References MediaInfo< MediaInfoType >::mediaPath.

template<class MediaInfoType>
const std::string& MediaInfo< MediaInfoType >::getMediaPath (  )  const [inline]

Definition at line 45 of file TextureUtils.h.

References MediaInfo< MediaInfoType >::mediaPath.

template<class MediaInfoType>
void MediaInfo< MediaInfoType >::increaseUserCount (  )  [inline]

Definition at line 50 of file TextureUtils.h.

References MediaInfo< MediaInfoType >::userCount.

Referenced by Texture::setID().

template<class MediaInfoType>
void MediaInfo< MediaInfoType >::decreaseUserCount (  )  [inline]

Definition at line 55 of file TextureUtils.h.

References MediaInfo< MediaInfoType >::userCount.

Referenced by Texture::destroy().

template<class MediaInfoType>
unsigned int MediaInfo< MediaInfoType >::getUserCount (  )  [inline]

Definition at line 60 of file TextureUtils.h.

References MediaInfo< MediaInfoType >::userCount.

template<class MediaInfoType>
MediaInfoType& MediaInfo< MediaInfoType >::getMedia (  )  [inline]

Definition at line 65 of file TextureUtils.h.

References MediaInfo< MediaInfoType >::media.

Referenced by Texture::checkForRepeat().

template<class MediaInfoType>
void MediaInfo< MediaInfoType >::setMedia ( MediaInfoType &  mediaArg  )  [inline]

Definition at line 70 of file TextureUtils.h.

References MediaInfo< MediaInfoType >::media.

template<class MediaInfoType>
bool MediaInfo< MediaInfoType >::operator> ( const MediaInfo< MediaInfoType > &  info  )  [inline]

Definition at line 75 of file TextureUtils.h.

References MediaInfo< MediaInfoType >::mediaPath.

template<class MediaInfoType>
bool MediaInfo< MediaInfoType >::operator< ( const MediaInfo< MediaInfoType > &  info  )  [inline]

Definition at line 80 of file TextureUtils.h.

References MediaInfo< MediaInfoType >::mediaPath.

template<class MediaInfoType>
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!=().

template<class MediaInfoType>
bool MediaInfo< MediaInfoType >::operator!= ( const MediaInfo< MediaInfoType > &  info  )  [inline]

Definition at line 92 of file TextureUtils.h.

References MediaInfo< MediaInfoType >::operator==().


Member Data Documentation

template<class MediaInfoType>
unsigned int MediaInfo< MediaInfoType >::userCount [protected]

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==().

template<class MediaInfoType>
MediaInfoType MediaInfo< MediaInfoType >::media [protected]

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().

template<class MediaInfoType>
std::string MediaInfo< MediaInfoType >::mediaPath [protected]

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().


The documentation for this class was generated from the following file:
Generated on Wed Dec 5 20:32:03 2007 for GLWX by  doxygen 1.5.3