|
bpp-core
2.1.0
|
#include <Bpp/Graphics/Font/FontManager.h>
Inheritance diagram for bpp::AbstractFontManager< CodeType >:
Collaboration diagram for bpp::AbstractFontManager< CodeType >:Public Member Functions | |
| AbstractFontManager () | |
| CodeType | getCode (const Font &font) const throw (Exception) |
| const Font & | getFont (int &code) const throw (Exception) |
| std::vector< CodeType > | getCodes () const |
| std::vector< Font > | getFonts () const |
| size_t | getNumberOfFonts () const |
| virtual const Font & | getFont (CodeType &code) const =0 throw (Exception) |
Protected Member Functions | |
| void | registerFont_ (const Font &font, int code) |
Private Attributes | |
| std::vector< Font > | fonts_ |
| std::vector< CodeType > | codes_ |
Definition at line 99 of file FontManager.h.
| bpp::AbstractFontManager< CodeType >::AbstractFontManager | ( | ) | [inline] |
Definition at line 107 of file FontManager.h.
| CodeType bpp::AbstractFontManager< CodeType >::getCode | ( | const Font & | font | ) | const throw (Exception) [inline, virtual] |
| font | The font to look for. |
Implements bpp::FontManager< CodeType >.
Definition at line 110 of file FontManager.h.
| std::vector<CodeType> bpp::AbstractFontManager< CodeType >::getCodes | ( | ) | const [inline, virtual] |
Implements bpp::FontManager< CodeType >.
Definition at line 133 of file FontManager.h.
| virtual const Font& bpp::FontManager< CodeType >::getFont | ( | CodeType & | code | ) | const throw (Exception) [pure virtual, inherited] |
| code | The code to look for. |
| exception | if the code is not valid. |
Implemented in bpp::AbstractFontManager< int >.
| const Font& bpp::AbstractFontManager< CodeType >::getFont | ( | int & | code | ) | const throw (Exception) [inline] |
Definition at line 122 of file FontManager.h.
| std::vector<Font> bpp::AbstractFontManager< CodeType >::getFonts | ( | ) | const [inline, virtual] |
Implements bpp::FontManager< CodeType >.
Definition at line 134 of file FontManager.h.
| size_t bpp::AbstractFontManager< CodeType >::getNumberOfFonts | ( | ) | const [inline, virtual] |
Implements bpp::FontManager< CodeType >.
Definition at line 135 of file FontManager.h.
| void bpp::AbstractFontManager< CodeType >::registerFont_ | ( | const Font & | font, |
| int | code | ||
| ) | [inline, protected] |
Definition at line 138 of file FontManager.h.
std::vector<CodeType> bpp::AbstractFontManager< CodeType >::codes_ [private] |
Definition at line 104 of file FontManager.h.
Referenced by bpp::AbstractFontManager< int >::getCode(), bpp::AbstractFontManager< int >::getCodes(), bpp::AbstractFontManager< int >::getFont(), and bpp::AbstractFontManager< int >::registerFont_().
std::vector<Font> bpp::AbstractFontManager< CodeType >::fonts_ [private] |