3 #ifndef GEODE_PROPERTIES_H_ 4 #define GEODE_PROPERTIES_H_ 26 #include "geode_globals.hpp" 73 void insert(
const char* key,
const char* value);
80 void insert(
const char* key,
const int value);
94 void remove(
const char* key);
107 void foreach (Visitor& visitor)
const;
110 uint32_t getSize()
const;
123 void load(
const char* fileName);
128 virtual void toData(
DataOutput& output)
const;
139 virtual int32_t classId()
const;
142 virtual int8_t typeId()
const;
164 #endif // GEODE_PROPERTIES_H_ Each enum represents a predefined RegionAttributes in a Cache.
Definition: Assert.hpp:31
#define CPPCACHE_EXPORT
Defines a Geode CPPCACHE export.
Definition: geode_base.hpp:58
Contains a set of (key, value) pair properties with key being the name of the property; value...
Definition: Properties.hpp:46
Provide operations for writing primitive data values, byte arrays, strings, Serializable objects to a...
Definition: DataOutput.hpp:74
virtual uint32_t objectSize() const
return the size in bytes of the instance being serialized.
Definition: Properties.hpp:144
This abstract base class is the superclass of all user objects in the cache that can be serialized...
Definition: Serializable.hpp:53
Provide operations for reading primitive data values, byte arrays, strings, Serializable objects from...
Definition: DataInput.hpp:56
This namespace contains all the Geode C++ API classes, enumerations and globals.