CrystalSpace

Public API Reference

Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

csRGBVector Class Reference

This is a vector class that expects you to push csRGBcolor structs onto it. More...

#include <csgfx/csrgbvct.h>

Inheritance diagram for csRGBVector:

csArray< csRGBcolor * > List of all members.

Static Public Member Functions

static int Compare (csRGBcolor *const &i1, csRGBcolor *const &i2)
 Compare two csRGBcolor structs.
static int CompareKey (csRGBcolor *const &c, csRGBcolor const &key)
 Compare a key (csRGBcolor struct) with a csRGBcolor struct.

Detailed Description

This is a vector class that expects you to push csRGBcolor structs onto it.

It has overrides for Compare and CompareKey.

Definition at line 31 of file csrgbvct.h.


Member Function Documentation

static int csRGBVector::Compare csRGBcolor *const &  i1,
csRGBcolor *const &  i2
[inline, static]
 

Compare two csRGBcolor structs.

Definition at line 35 of file csrgbvct.h.

References csRGBcolor::blue, csRGBcolor::green, and csRGBcolor::red.

Referenced by CompareKey().

static int csRGBVector::CompareKey csRGBcolor *const &  c,
csRGBcolor const &  key
[inline, static]
 

Compare a key (csRGBcolor struct) with a csRGBcolor struct.

Definition at line 48 of file csrgbvct.h.

References Compare().


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