Lines Matching refs:DictionaryValue
36 DictionaryValue* dict = static_cast<DictionaryValue*>(node);
37 DictionaryValue* copy = new DictionaryValue;
38 for (DictionaryValue::key_iterator it = dict->begin_keys();
311 ///////////////////// DictionaryValue ////////////////////
313 DictionaryValue::DictionaryValue()
317 DictionaryValue::~DictionaryValue() {
321 bool DictionaryValue::HasKey(const std::string& key) const {
328 void DictionaryValue::Clear() {
338 void DictionaryValue::Set(const std::string& path, Value* in_value) {
343 DictionaryValue* current_dictionary = this;
349 DictionaryValue* child_dictionary = NULL;
351 child_dictionary = new DictionaryValue;
362 void DictionaryValue::SetBoolean(const std::string& path, bool in_value) {
366 void DictionaryValue::SetInteger(const std::string& path, int in_value) {
370 void DictionaryValue::SetDouble(const std::string& path, double in_value) {
374 void DictionaryValue::SetString(const std::string& path,
379 void DictionaryValue::SetString(const std::string& path,
384 void DictionaryValue::SetWithoutPathExpansion(const std::string& key,
396 bool DictionaryValue::Get(const std::string& path, Value** out_value) const {
399 const DictionaryValue* current_dictionary = this;
403 DictionaryValue* child_dictionary = NULL;
415 bool DictionaryValue::GetBoolean(const std::string& path,
424 bool DictionaryValue::GetInteger(const std::string& path,
433 bool DictionaryValue::GetDouble(const std::string& path,
442 bool DictionaryValue::GetString(const std::string& path,
451 bool DictionaryValue::GetString(const std::string& path,
460 bool DictionaryValue::GetStringASCII(const std::string& path,
475 bool DictionaryValue::GetBinary(const std::string& path,
488 bool DictionaryValue::GetDictionary(const std::string& path,
489 DictionaryValue** out_value) const {
496 *out_value = static_cast<DictionaryValue*>(value);
501 bool DictionaryValue::GetList(const std::string& path,
514 bool DictionaryValue::GetWithoutPathExpansion(const std::string& key,
527 bool DictionaryValue::GetIntegerWithoutPathExpansion(const std::string& key,
536 bool DictionaryValue::GetDoubleWithoutPathExpansion(const std::string& key,
545 bool DictionaryValue::GetStringWithoutPathExpansion(
555 bool DictionaryValue::GetStringWithoutPathExpansion(
565 bool DictionaryValue::GetDictionaryWithoutPathExpansion(
567 DictionaryValue** out_value) const {
574 *out_value = static_cast<DictionaryValue*>(value);
579 bool DictionaryValue::GetListWithoutPathExpansion(const std::string& key,
592 bool DictionaryValue::Remove(const std::string& path, Value** out_value) {
595 DictionaryValue* current_dictionary = this;
608 bool DictionaryValue::RemoveWithoutPathExpansion(const std::string& key,
624 DictionaryValue* DictionaryValue::DeepCopyWithoutEmptyChildren() {
626 return copy ? static_cast<DictionaryValue*>(copy) : new DictionaryValue;
629 void DictionaryValue::MergeDictionary(const DictionaryValue* dictionary) {
630 for (DictionaryValue::key_iterator key(dictionary->begin_keys());
636 DictionaryValue* sub_dict;
639 static_cast<const DictionaryValue*>(merge_value));
649 DictionaryValue* DictionaryValue::DeepCopy() const {
650 DictionaryValue* result = new DictionaryValue;
661 bool DictionaryValue::Equals(const Value* other) const {
665 const DictionaryValue* other_dict =
666 static_cast<const DictionaryValue*>(other);
781 bool ListValue::GetDictionary(size_t index, DictionaryValue** out_value) const {
788 *out_value = static_cast<DictionaryValue*>(value);