Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

util.h

Go to the documentation of this file.
00001 
00012 #ifndef UTIL_H
00013 #define UTIL_H
00014 
00015 #include <stdexcept>
00016 #include <string>
00017 #include <iostream>
00018 
00019 #include <ft2build.h>
00020 #include FT_FREETYPE_H
00021 #include <freetype/ftglyph.h>
00022 
00023 std::ostream& operator<<(std::ostream&, const FT_Library);
00024 std::ostream& operator<<(std::ostream&, const FT_Face);
00025 std::ostream& operator<<(std::ostream&, const FT_Glyph);
00026 std::ostream& operator<<(std::ostream&, const FT_Outline);
00027 
00030 inline void evalReturnCode(const int errCode, const char* funcName) throw (std::runtime_error) {
00031   if (errCode)
00032     throw std::runtime_error(std::string("Error returned from ") + funcName);
00033 }
00034 #endif

Generated on Thu Dec 23 03:58:33 2004 for LASi by  doxygen 1.3.9.1