Type.h revision c9410c7e62a33fd7599b2f3e025093a2d171577e
1c9410c7e62a33fd7599b2f3e025093a2d171577eAndreas Huber#ifndef TYPE_H_
2c9410c7e62a33fd7599b2f3e025093a2d171577eAndreas Huber
3c9410c7e62a33fd7599b2f3e025093a2d171577eAndreas Huber#define TYPE_H_
4c9410c7e62a33fd7599b2f3e025093a2d171577eAndreas Huber
5c9410c7e62a33fd7599b2f3e025093a2d171577eAndreas Huber#include <android-base/macros.h>
6c9410c7e62a33fd7599b2f3e025093a2d171577eAndreas Huber
7c9410c7e62a33fd7599b2f3e025093a2d171577eAndreas Hubernamespace android {
8c9410c7e62a33fd7599b2f3e025093a2d171577eAndreas Huber
9c9410c7e62a33fd7599b2f3e025093a2d171577eAndreas Huberstruct Formatter;
10c9410c7e62a33fd7599b2f3e025093a2d171577eAndreas Huber
11c9410c7e62a33fd7599b2f3e025093a2d171577eAndreas Huberstruct Type {
12c9410c7e62a33fd7599b2f3e025093a2d171577eAndreas Huber    Type();
13c9410c7e62a33fd7599b2f3e025093a2d171577eAndreas Huber    virtual ~Type();
14c9410c7e62a33fd7599b2f3e025093a2d171577eAndreas Huber
15c9410c7e62a33fd7599b2f3e025093a2d171577eAndreas Huber    virtual void dump(Formatter &out) const = 0;
16c9410c7e62a33fd7599b2f3e025093a2d171577eAndreas Huber
17c9410c7e62a33fd7599b2f3e025093a2d171577eAndreas Huberprivate:
18c9410c7e62a33fd7599b2f3e025093a2d171577eAndreas Huber    DISALLOW_COPY_AND_ASSIGN(Type);
19c9410c7e62a33fd7599b2f3e025093a2d171577eAndreas Huber};
20c9410c7e62a33fd7599b2f3e025093a2d171577eAndreas Huber
21c9410c7e62a33fd7599b2f3e025093a2d171577eAndreas Huber}  // namespace android
22c9410c7e62a33fd7599b2f3e025093a2d171577eAndreas Huber
23c9410c7e62a33fd7599b2f3e025093a2d171577eAndreas Huber#endif  // TYPE_H_
24c9410c7e62a33fd7599b2f3e025093a2d171577eAndreas Huber
25