Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TextureCollection Class Reference

#include <textureCollection.h>

List of all members.

Private Member Functions

 TextureCollection (const TextureCollection &copy)
void operator= (const TextureCollection &copy)
INLINE ~TextureCollection ()
void add_texture (Texture *node_texture)
bool remove_texture (Texture *node_texture)
void add_textures_from (const TextureCollection &other)
void remove_textures_from (const TextureCollection &other)
void remove_duplicate_textures ()
bool has_texture (Texture *texture) const
void clear ()
Texturefind_texture (const string &name) const
int get_num_textures () const
Textureget_texture (int index) const
Textureoperator[] (int index) const
void output (ostream &out) const
void write (ostream &out, int indent_level=0) const
typedef PTA (PT(Texture)) Textures

Private Attributes

PUBLISHED __pad0__: TextureCollection()
Textures _textures


Constructor & Destructor Documentation

TextureCollection::TextureCollection const TextureCollection &  copy  )  [private]
 

Definition at line 38 of file textureCollection.cxx.

INLINE TextureCollection::~TextureCollection  )  [private]
 


Member Function Documentation

void TextureCollection::add_texture Texture node_texture  )  [private]
 

Definition at line 59 of file textureCollection.cxx.

References _textures.

Referenced by add_textures_from().

void TextureCollection::add_textures_from const TextureCollection &  other  )  [private]
 

Definition at line 119 of file textureCollection.cxx.

References add_texture(), get_num_textures(), and get_texture().

void TextureCollection::clear  )  [private]
 

Definition at line 197 of file textureCollection.cxx.

References _textures.

Texture * TextureCollection::find_texture const string &  name  )  const [private]
 

Definition at line 209 of file textureCollection.cxx.

References get_num_textures(), get_texture(), NULL, and texture.

int TextureCollection::get_num_textures  )  const [private]
 

Definition at line 226 of file textureCollection.cxx.

References _textures.

Referenced by add_textures_from(), find_texture(), has_texture(), output(), remove_duplicate_textures(), remove_textures_from(), and write().

Texture * TextureCollection::get_texture int  index  )  const [private]
 

Definition at line 236 of file textureCollection.cxx.

References _textures, index, and NULL.

Referenced by add_textures_from(), find_texture(), has_texture(), remove_duplicate_textures(), remove_textures_from(), and write().

bool TextureCollection::has_texture Texture texture  )  const [private]
 

Definition at line 182 of file textureCollection.cxx.

References get_num_textures(), get_texture(), and texture.

Referenced by remove_textures_from().

void TextureCollection::operator= const TextureCollection &  copy  )  [private]
 

Definition at line 49 of file textureCollection.cxx.

References _textures.

Texture * TextureCollection::operator[] int  index  )  const [private]
 

Definition at line 250 of file textureCollection.cxx.

References _textures, index, and NULL.

void TextureCollection::output ostream &  out  )  const [private]
 

Definition at line 263 of file textureCollection.cxx.

References get_num_textures().

Referenced by operator<<().

typedef TextureCollection::PTA PT(Texture  )  [private]
 

void TextureCollection::remove_duplicate_textures  )  [private]
 

Definition at line 155 of file textureCollection.cxx.

References _textures, get_num_textures(), get_texture(), PT, and texture.

bool TextureCollection::remove_texture Texture node_texture  )  [private]
 

Definition at line 82 of file textureCollection.cxx.

References _textures.

void TextureCollection::remove_textures_from const TextureCollection &  other  )  [private]
 

Definition at line 134 of file textureCollection.cxx.

References _textures, get_num_textures(), get_texture(), has_texture(), PT, and texture.

void TextureCollection::write ostream &  out,
int  indent_level = 0
const [private]
 

Definition at line 278 of file textureCollection.cxx.

References get_num_textures(), get_texture(), and indent().


Member Data Documentation

PUBLISHED TextureCollection::__pad0__ [private]
 

Definition at line 31 of file textureCollection.h.

Textures TextureCollection::_textures [private]
 

Definition at line 55 of file textureCollection.h.

Referenced by add_texture(), clear(), get_num_textures(), get_texture(), operator=(), operator[](), remove_duplicate_textures(), remove_texture(), and remove_textures_from().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:13:41 2003 for Panda by doxygen1.3