CrystalSpace

Public API Reference

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

csWSTexVector Class Reference
[Crystal Space Windowing System]

This class is a vector of csWSTexture's. More...

#include <cswstex.h>

Inheritance diagram for csWSTexVector:

csVector csBasicVector List of all members.

Public Methods

 csWSTexVector ()
 Initialize the texture vector. More...

virtual ~csWSTexVector ()
 Destroy the object. More...

virtual bool FreeItem (void *Item)
 Free a texture element. More...

virtual int CompareKey (void *Item, const void *Key, int Mode) const
 Compare texture with name; used in FindKey (). More...

csWSTexture * Get (int idx)
 Get texture by index. More...

csWSTexture * FindTexture (const char *iName)
 Find a texture by name. More...


Detailed Description

This class is a vector of csWSTexture's.

Definition at line 114 of file cswstex.h.


Constructor & Destructor Documentation

csWSTexVector::csWSTexVector (    ) 
 

Initialize the texture vector.

virtual csWSTexVector::~csWSTexVector (    )  [virtual]
 

Destroy the object.


Member Function Documentation

virtual int csWSTexVector::CompareKey (  void *    Item,
const void *    Key,
int    Mode
)  const [virtual]
 

Compare texture with name; used in FindKey ().

Reimplemented from csVector.

csWSTexture* csWSTexVector::FindTexture (  const char *    iName )  [inline]
 

Find a texture by name.

Definition at line 129 of file cswstex.h.

References csVector::FindKey, and Get.

Referenced by csApp::GetTexture.

virtual bool csWSTexVector::FreeItem (  void *    Item )  [virtual]
 

Free a texture element.

Reimplemented from csVector.

csWSTexture* csWSTexVector::Get (  int    idx )  [inline]
 

Get texture by index.

Definition at line 126 of file cswstex.h.

References csBasicVector::Get.

Referenced by FindTexture.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14