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

Class entry

tools/aapt/StringPool.h:41–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39{
40public:
41 struct entry {
42 entry() : offset(0) { }
43 entry(const String16& _value) : value(_value), offset(0), hasStyles(false) { }
44 entry(const entry& o) : value(o.value), offset(o.offset),
45 hasStyles(o.hasStyles), indices(o.indices),
46 configTypeName(o.configTypeName), configs(o.configs) { }
47
48 String16 value;
49 size_t offset;
50 bool hasStyles;
51 Vector<size_t> indices;
52 String8 configTypeName;
53 Vector<ResTable_config> configs;
54
55 String8 makeConfigsString() const;
56
57 int compare(const entry& o) const;
58
59 inline bool operator<(const entry& o) const { return compare(o) < 0; }
60 inline bool operator<=(const entry& o) const { return compare(o) <= 0; }
61 inline bool operator==(const entry& o) const { return compare(o) == 0; }
62 inline bool operator!=(const entry& o) const { return compare(o) != 0; }
63 inline bool operator>=(const entry& o) const { return compare(o) >= 0; }
64 inline bool operator>(const entry& o) const { return compare(o) > 0; }
65 };
66
67 struct entry_style_span {
68 String16 name;

Callers 1

addMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected