Lines Matching defs:ResourceId
122 struct ResourceId {
125 ResourceId();
126 ResourceId(const ResourceId& rhs);
127 ResourceId(uint32_t resId);
128 ResourceId(uint8_t p, uint8_t t, uint16_t e);
186 // ResourceId implementation.
189 inline ResourceId::ResourceId() : id(0) {
192 inline ResourceId::ResourceId(const ResourceId& rhs) : id(rhs.id) {
195 inline ResourceId::ResourceId(uint32_t resId) : id(resId) {
198 inline ResourceId::ResourceId(uint8_t p, uint8_t t, uint16_t e) : id((p << 24) | (t << 16) | e) {
201 inline bool ResourceId::isValid() const {
205 inline uint8_t ResourceId::packageId() const {
209 inline uint8_t ResourceId::typeId() const {
213 inline uint16_t ResourceId::entryId() const {
217 inline bool operator<(const ResourceId& lhs, const ResourceId& rhs) {
221 inline bool operator>(const ResourceId& lhs, const ResourceId& rhs) {
225 inline bool operator==(const ResourceId& lhs, const ResourceId& rhs) {
229 inline bool operator!=(const ResourceId& lhs, const ResourceId& rhs) {
233 inline ::std::ostream& operator<<(::std::ostream& out, const ResourceId& resId) {