Game Develop C++ Platform: CompilerMessagesParser.h Source File

| Game Develop C++ Platform Platform for developing native games based on OpenGL and SFML with Game Develop

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Groups Pages
CompilerMessagesParser.h
Go to the documentation of this file.
1
6 #if defined(GD_IDE_ONLY)
7
8 #ifndef COMPILERERRORSPARSER_H
9 #define COMPILERERRORSPARSER_H
10 #include <string>
11 #include <vector>
12
13 namespace GDpriv
14 {
15
19 class GD_API CompilerMessage
20 {
21 public:
22 CompilerMessage() : line(std::string::npos), column(std::string::npos) {};
23
24 std::string file;
25 size_t line;
26 size_t column;
27 std::string message;
28 enum MessageType
29 {
30 simple,
31 error
32 } messageType;
33 };
34
38 class GD_API CompilerMessagesParser
39 {
40 public:
41 CompilerMessagesParser() {};
42 virtual ~CompilerMessagesParser() {};
43
44 void ParseOutput(std::string output);
45
46 std::vector < CompilerMessage > parsedMessages;
47
48 private:
49 };
50
51 }
52
53 #endif // COMPILERERRORSPARSER_H
54
55 #endif
56