Add isUseful.

This commit is contained in:
JoelKatz
2012-11-26 11:18:16 -08:00
parent 4093f8a7a9
commit 90ff46ff77

View File

@@ -92,6 +92,7 @@ public:
bool isGeneric() const { return fieldCode == 0; }
bool isInvalid() const { return fieldCode == -1; }
bool isUseful() const { return fieldCode > 0; }
bool isKnown() const { return fieldType != STI_UNKNOWN; }
bool isBinary() const { return fieldValue < 256; }
bool isDiscardable() const { return fieldValue > 256; }