17 #ifndef EMPTYDELTATYPE_HPP_
18 #define EMPTYDELTATYPE_HPP_
22 #ifdef KAA_USE_CONFIGURATION
26 #include <avro/Generic.hh>
32 class EmptyDeltaType :
public IDeltaType {
38 virtual bool isDefault() {
46 virtual bool isReset() {
54 virtual const DeltaValue& getNewValue() {
55 static DeltaValue empty;
63 virtual const RemovedItems& getRemovedItems() {
64 static RemovedItems emptyHandlerIdList;
65 return emptyHandlerIdList;
72 virtual const AddedItems& getAddedItems() {
73 static AddedItems emptyAddedItemsList;
74 return emptyAddedItemsList;
81 virtual std::string toString()
const {
82 return std::string(
"null");