This commit is contained in:
Jack Andersen 2016-05-13 18:48:20 -10:00
commit e53177e074
1 changed files with 2 additions and 0 deletions

View File

@ -518,6 +518,8 @@ public:
bool operator!=(const FourCC& other) const {return num != other.num;} bool operator!=(const FourCC& other) const {return num != other.num;}
bool operator==(const char* other) const {return num == *(uint32_t*)other;} bool operator==(const char* other) const {return num == *(uint32_t*)other;}
bool operator!=(const char* other) const {return num != *(uint32_t*)other;} bool operator!=(const char* other) const {return num != *(uint32_t*)other;}
bool operator==(int32_t other) const { return num == other;}
bool operator!=(int32_t other) const { return num != other;}
bool operator==(uint32_t other) const {return num == other;} bool operator==(uint32_t other) const {return num == other;}
bool operator!=(uint32_t other) const {return num != other;} bool operator!=(uint32_t other) const {return num != other;}
std::string toString() const {return std::string(fcc, 4);} std::string toString() const {return std::string(fcc, 4);}