sptk2 logo
SPTK Home Page

sptk::CFontsVector Class Reference
[GUI Classes]

CFontsVector is a map font names to fonts. More...

#include <CFont.h>

List of all members.

Public Member Functions

 CFontsVector ()
 Constructor.
 ~CFontsVector ()
 Destructor.
CFontoperator[] (uint32_t index)
 Returns font by index.
const CFontoperator[] (uint32_t index) const
 Returns font by index.
CFontfind (std::string fontName) const
 Returns font by its name.
void push_back (CFont *font)
 Appends a font to fonts vector.
uint32_t size () const
void clear ()
 Clears the fonts.


Detailed Description

CFontsVector is a map font names to fonts.

Member Function Documentation

void sptk::CFontsVector::clear (  ) 

Clears the fonts.

All the memory allocated for CFont objects is released

Referenced by ~CFontsVector().

void sptk::CFontsVector::push_back ( CFont font  ) 

Appends a font to fonts vector.

Parameters:
font CFont*, font to append

uint32_t sptk::CFontsVector::size (  )  const [inline]

Returns:
the size of the fonts vector


The documentation for this class was generated from the following file:

Mon Mar 5 11:56:14 2012: SPTK 3.5.7