//------------------------------------------------------------------------------------------------- bool DictionaryProperty::exists(const UserObject& object, const camp::Value& key) const { // Check if the property is readable if (!readable(object)) CAMP_ERROR(ForbiddenRead(name())); return queryExists(object,key); }
//------------------------------------------------------------------------------------------------- DictionaryIteratorPtr DictionaryProperty::iterator(const UserObject& object) const { // Check if the property is readable if (!readable(object)) CAMP_ERROR(ForbiddenRead(name())); return getIterator(object); }
//------------------------------------------------------------------------------------------------- std::size_t DictionaryProperty::size(const UserObject& object) const { // Check if the property is readable if (!readable(object)) CAMP_ERROR(ForbiddenRead(name())); return getSize(object); }
Value Property::get(const UserObject& object) const { // Check if the property is readable if (!readable(object)) PONDER_ERROR(ForbiddenRead(name())); return getValue(object); }