#include <PacketAttribute.h>
Inheritance diagram for PacketAttributeValue:
Public Member Functions | |
PacketAttributeValue (const PacketAttributeValue &toCopy) | |
virtual PacketAttributeValue * | clone (void) const =0 |
int | getValueType (void) const |
virtual bool | operator== (const PacketAttributeValue &rhs) const |
virtual bool | operator< (const PacketAttributeValue &rhs) const |
virtual bool | operator<= (const PacketAttributeValue &rhs) const |
virtual bool | operator> (const PacketAttributeValue &rhs) const |
virtual bool | operator>= (const PacketAttributeValue &rhs) const |
virtual std::string | toString (void) const =0 |
Static Public Attributes | |
static const int | NONE = 0 |
static const int | INT = 1 |
static const int | DOUBLE = 2 |
static const int | STRING = 3 |
static const int | TIME = 17 |
static const PacketAttributeValue *const | TRUE = new ConcretePacketAttributeValue<int>(1) |
Protected Attributes | |
int | valType |
Friends | |
std::ostream & | operator<< (std::ostream &os, const PacketAttributeValue &value) |
Attribute values can have different types, so this is an abstract class representing all types of value.