MCPcopy Create free account
hub / github.com/CyanogenMod/android_frameworks_base / ErrorPos

Class ErrorPos

tools/aapt/SourcePos.cpp:11–27  ·  view source on GitHub ↗

ErrorPos =============================================================================

Source from the content-addressed store, hash-verified

9// ErrorPos
10// =============================================================================
11struct ErrorPos
12{
13 String8 file;
14 int line;
15 String8 error;
16 bool fatal;
17
18 ErrorPos();
19 ErrorPos(const ErrorPos& that);
20 ErrorPos(const String8& file, int line, const String8& error, bool fatal);
21 ~ErrorPos();
22 bool operator<(const ErrorPos& rhs) const;
23 bool operator==(const ErrorPos& rhs) const;
24 ErrorPos& operator=(const ErrorPos& rhs);
25
26 void print(FILE* to) const;
27};
28
29static vector<ErrorPos> g_errors;
30

Callers 2

errorMethod · 0.85
warningMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected