Function GetValueByPointerWithDefault

Summary

#include <include/rapidjson/pointer.h>

(1) template <typename T>
    T::ValueType & GetValueByPointerWithDefault(T &root, const GenericPointer< typename T::ValueType > &pointer, const typename T::ValueType &defaultValue, typename T::AllocatorType &a)

(2) template <typename T>
    T::ValueType & GetValueByPointerWithDefault(T &root, const GenericPointer< typename T::ValueType > &pointer, const typename T::Ch *defaultValue, typename T::AllocatorType &a)

(3) template <typename T>
    T::ValueType & GetValueByPointerWithDefault(T &root, const GenericPointer< typename T::ValueType > &pointer, const std::basic_string< typename T::Ch > &defaultValue, typename T::AllocatorType &a)

(4) template <typename T, typename T2>
    T::ValueType & GetValueByPointerWithDefault(T &root, const GenericPointer< typename T::ValueType > &pointer, T2 defaultValue, typename T::AllocatorType &a)

(5) template <typename T, typename CharType, size_t N>
    T::ValueType & GetValueByPointerWithDefault(T &root, const CharType(&source)[N], const typename T::ValueType &defaultValue, typename T::AllocatorType &a)

(6) template <typename T, typename CharType, size_t N>
    T::ValueType & GetValueByPointerWithDefault(T &root, const CharType(&source)[N], const typename T::Ch *defaultValue, typename T::AllocatorType &a)

(7) template <typename T, typename CharType, size_t N>
    T::ValueType & GetValueByPointerWithDefault(T &root, const CharType(&source)[N], const std::basic_string< typename T::Ch > &defaultValue, typename T::AllocatorType &a)

(8) template <typename T, typename CharType, size_t N, typename T2>
    T::ValueType & GetValueByPointerWithDefault(T &root, const CharType(&source)[N], T2 defaultValue, typename T::AllocatorType &a)

(9) template <typename DocumentType>
    DocumentType::ValueType & GetValueByPointerWithDefault(DocumentType &document, const GenericPointer< typename DocumentType::ValueType > &pointer, const typename DocumentType::ValueType &defaultValue)

(10) template <typename DocumentType>
     DocumentType::ValueType & GetValueByPointerWithDefault(DocumentType &document, const GenericPointer< typename DocumentType::ValueType > &pointer, const typename DocumentType::Ch *defaultValue)

(11) template <typename DocumentType>
     DocumentType::ValueType & GetValueByPointerWithDefault(DocumentType &document, const GenericPointer< typename DocumentType::ValueType > &pointer, const std::basic_string< typename DocumentType::Ch > &defaultValue)

(12) template <typename DocumentType, typename T2>
     DocumentType::ValueType & GetValueByPointerWithDefault(DocumentType &document, const GenericPointer< typename DocumentType::ValueType > &pointer, T2 defaultValue)

(13) template <typename DocumentType, typename CharType, size_t N>
     DocumentType::ValueType & GetValueByPointerWithDefault(DocumentType &document, const CharType(&source)[N], const typename DocumentType::ValueType &defaultValue)

(14) template <typename DocumentType, typename CharType, size_t N>
     DocumentType::ValueType & GetValueByPointerWithDefault(DocumentType &document, const CharType(&source)[N], const typename DocumentType::Ch *defaultValue)

(15) template <typename DocumentType, typename CharType, size_t N>
     DocumentType::ValueType & GetValueByPointerWithDefault(DocumentType &document, const CharType(&source)[N], const std::basic_string< typename DocumentType::Ch > &defaultValue)

(16) template <typename DocumentType, typename CharType, size_t N, typename T2>
     DocumentType::ValueType & GetValueByPointerWithDefault(DocumentType &document, const CharType(&source)[N], T2 defaultValue)

Function overload

Synopsis

#include <include/rapidjson/pointer.h>

template <typename T>
T::ValueType & GetValueByPointerWithDefault(T &root, const GenericPointer< typename T::ValueType > &pointer, const typename T::ValueType &defaultValue, typename T::AllocatorType &a)

Description

No description yet.

Mentioned in

Source

Lines 1163-1166 in include/rapidjson/pointer.h.

template <typename T>
typename T::ValueType& GetValueByPointerWithDefault(T& root, const GenericPointer<typename T::ValueType>& pointer, const typename T::ValueType& defaultValue, typename T::AllocatorType& a) {
    return pointer.GetWithDefault(root, defaultValue, a);
}

Synopsis

#include <include/rapidjson/pointer.h>

template <typename T>
T::ValueType & GetValueByPointerWithDefault(T &root, const GenericPointer< typename T::ValueType > &pointer, const typename T::Ch *defaultValue, typename T::AllocatorType &a)

Description

No description yet.

Mentioned in

Source

Lines 1168-1171 in include/rapidjson/pointer.h.

template <typename T>
typename T::ValueType& GetValueByPointerWithDefault(T& root, const GenericPointer<typename T::ValueType>& pointer, const typename T::Ch* defaultValue, typename T::AllocatorType& a) {
    return pointer.GetWithDefault(root, defaultValue, a);
}

Synopsis

#include <include/rapidjson/pointer.h>

template <typename T>
T::ValueType & GetValueByPointerWithDefault(T &root, const GenericPointer< typename T::ValueType > &pointer, const std::basic_string< typename T::Ch > &defaultValue, typename T::AllocatorType &a)

Description

No description yet.

Mentioned in

Source

Lines 1174-1177 in include/rapidjson/pointer.h.

template <typename T>
typename T::ValueType& GetValueByPointerWithDefault(T& root, const GenericPointer<typename T::ValueType>& pointer, const std::basic_string<typename T::Ch>& defaultValue, typename T::AllocatorType& a) {
    return pointer.GetWithDefault(root, defaultValue, a);
}

Synopsis

#include <include/rapidjson/pointer.h>

template <typename T, typename T2>
T::ValueType & GetValueByPointerWithDefault(T &root, const GenericPointer< typename T::ValueType > &pointer, T2 defaultValue, typename T::AllocatorType &a)

Description

No description yet.

Mentioned in

Source

Lines 1180-1184 in include/rapidjson/pointer.h.

template <typename T, typename T2>
RAPIDJSON_DISABLEIF_RETURN((internal::OrExpr<internal::IsPointer<T2>, internal::IsGenericValue<T2> >), (typename T::ValueType&))
GetValueByPointerWithDefault(T& root, const GenericPointer<typename T::ValueType>& pointer, T2 defaultValue, typename T::AllocatorType& a) {
    return pointer.GetWithDefault(root, defaultValue, a);
}

Synopsis

#include <include/rapidjson/pointer.h>

template <typename T, typename CharType, size_t N>
T::ValueType & GetValueByPointerWithDefault(T &root, const CharType(&source)[N], const typename T::ValueType &defaultValue, typename T::AllocatorType &a)

Description

No description yet.

Mentioned in

Source

Lines 1186-1189 in include/rapidjson/pointer.h.

template <typename T, typename CharType, size_t N>
typename T::ValueType& GetValueByPointerWithDefault(T& root, const CharType(&source)[N], const typename T::ValueType& defaultValue, typename T::AllocatorType& a) {
    return GenericPointer<typename T::ValueType>(source, N - 1).GetWithDefault(root, defaultValue, a);
}

Synopsis

#include <include/rapidjson/pointer.h>

template <typename T, typename CharType, size_t N>
T::ValueType & GetValueByPointerWithDefault(T &root, const CharType(&source)[N], const typename T::Ch *defaultValue, typename T::AllocatorType &a)

Description

No description yet.

Mentioned in

Source

Lines 1191-1194 in include/rapidjson/pointer.h.

template <typename T, typename CharType, size_t N>
typename T::ValueType& GetValueByPointerWithDefault(T& root, const CharType(&source)[N], const typename T::Ch* defaultValue, typename T::AllocatorType& a) {
    return GenericPointer<typename T::ValueType>(source, N - 1).GetWithDefault(root, defaultValue, a);
}

Synopsis

#include <include/rapidjson/pointer.h>

template <typename T, typename CharType, size_t N>
T::ValueType & GetValueByPointerWithDefault(T &root, const CharType(&source)[N], const std::basic_string< typename T::Ch > &defaultValue, typename T::AllocatorType &a)

Description

No description yet.

Mentioned in

Source

Lines 1197-1200 in include/rapidjson/pointer.h.

template <typename T, typename CharType, size_t N>
typename T::ValueType& GetValueByPointerWithDefault(T& root, const CharType(&source)[N], const std::basic_string<typename T::Ch>& defaultValue, typename T::AllocatorType& a) {
    return GenericPointer<typename T::ValueType>(source, N - 1).GetWithDefault(root, defaultValue, a);
}

Synopsis

#include <include/rapidjson/pointer.h>

template <typename T, typename CharType, size_t N, typename T2>
T::ValueType & GetValueByPointerWithDefault(T &root, const CharType(&source)[N], T2 defaultValue, typename T::AllocatorType &a)

Description

No description yet.

Mentioned in

Source

Lines 1203-1207 in include/rapidjson/pointer.h.

template <typename T, typename CharType, size_t N, typename T2>
RAPIDJSON_DISABLEIF_RETURN((internal::OrExpr<internal::IsPointer<T2>, internal::IsGenericValue<T2> >), (typename T::ValueType&))
GetValueByPointerWithDefault(T& root, const CharType(&source)[N], T2 defaultValue, typename T::AllocatorType& a) {
    return GenericPointer<typename T::ValueType>(source, N - 1).GetWithDefault(root, defaultValue, a);
}

Synopsis

#include <include/rapidjson/pointer.h>

template <typename DocumentType>
DocumentType::ValueType & GetValueByPointerWithDefault(DocumentType &document, const GenericPointer< typename DocumentType::ValueType > &pointer, const typename DocumentType::ValueType &defaultValue)

Description

No description yet.

Mentioned in

Source

Lines 1211-1214 in include/rapidjson/pointer.h.

template <typename DocumentType>
typename DocumentType::ValueType& GetValueByPointerWithDefault(DocumentType& document, const GenericPointer<typename DocumentType::ValueType>& pointer, const typename DocumentType::ValueType& defaultValue) {
    return pointer.GetWithDefault(document, defaultValue);
}

Synopsis

#include <include/rapidjson/pointer.h>

template <typename DocumentType>
DocumentType::ValueType & GetValueByPointerWithDefault(DocumentType &document, const GenericPointer< typename DocumentType::ValueType > &pointer, const typename DocumentType::Ch *defaultValue)

Description

No description yet.

Mentioned in

Source

Lines 1216-1219 in include/rapidjson/pointer.h.

template <typename DocumentType>
typename DocumentType::ValueType& GetValueByPointerWithDefault(DocumentType& document, const GenericPointer<typename DocumentType::ValueType>& pointer, const typename DocumentType::Ch* defaultValue) {
    return pointer.GetWithDefault(document, defaultValue);
}

Synopsis

#include <include/rapidjson/pointer.h>

template <typename DocumentType>
DocumentType::ValueType & GetValueByPointerWithDefault(DocumentType &document, const GenericPointer< typename DocumentType::ValueType > &pointer, const std::basic_string< typename DocumentType::Ch > &defaultValue)

Description

No description yet.

Mentioned in

Source

Lines 1222-1225 in include/rapidjson/pointer.h.

template <typename DocumentType>
typename DocumentType::ValueType& GetValueByPointerWithDefault(DocumentType& document, const GenericPointer<typename DocumentType::ValueType>& pointer, const std::basic_string<typename DocumentType::Ch>& defaultValue) {
    return pointer.GetWithDefault(document, defaultValue);
}

Synopsis

#include <include/rapidjson/pointer.h>

template <typename DocumentType, typename T2>
DocumentType::ValueType & GetValueByPointerWithDefault(DocumentType &document, const GenericPointer< typename DocumentType::ValueType > &pointer, T2 defaultValue)

Description

No description yet.

Mentioned in

Source

Lines 1228-1232 in include/rapidjson/pointer.h.

template <typename DocumentType, typename T2>
RAPIDJSON_DISABLEIF_RETURN((internal::OrExpr<internal::IsPointer<T2>, internal::IsGenericValue<T2> >), (typename DocumentType::ValueType&))
GetValueByPointerWithDefault(DocumentType& document, const GenericPointer<typename DocumentType::ValueType>& pointer, T2 defaultValue) {
    return pointer.GetWithDefault(document, defaultValue);
}

Synopsis

#include <include/rapidjson/pointer.h>

template <typename DocumentType, typename CharType, size_t N>
DocumentType::ValueType & GetValueByPointerWithDefault(DocumentType &document, const CharType(&source)[N], const typename DocumentType::ValueType &defaultValue)

Description

No description yet.

Mentioned in

Source

Lines 1234-1237 in include/rapidjson/pointer.h.

template <typename DocumentType, typename CharType, size_t N>
typename DocumentType::ValueType& GetValueByPointerWithDefault(DocumentType& document, const CharType(&source)[N], const typename DocumentType::ValueType& defaultValue) {
    return GenericPointer<typename DocumentType::ValueType>(source, N - 1).GetWithDefault(document, defaultValue);
}

Synopsis

#include <include/rapidjson/pointer.h>

template <typename DocumentType, typename CharType, size_t N>
DocumentType::ValueType & GetValueByPointerWithDefault(DocumentType &document, const CharType(&source)[N], const typename DocumentType::Ch *defaultValue)

Description

No description yet.

Mentioned in

Source

Lines 1239-1242 in include/rapidjson/pointer.h.

template <typename DocumentType, typename CharType, size_t N>
typename DocumentType::ValueType& GetValueByPointerWithDefault(DocumentType& document, const CharType(&source)[N], const typename DocumentType::Ch* defaultValue) {
    return GenericPointer<typename DocumentType::ValueType>(source, N - 1).GetWithDefault(document, defaultValue);
}

Synopsis

#include <include/rapidjson/pointer.h>

template <typename DocumentType, typename CharType, size_t N>
DocumentType::ValueType & GetValueByPointerWithDefault(DocumentType &document, const CharType(&source)[N], const std::basic_string< typename DocumentType::Ch > &defaultValue)

Description

No description yet.

Mentioned in

Source

Lines 1245-1248 in include/rapidjson/pointer.h.

template <typename DocumentType, typename CharType, size_t N>
typename DocumentType::ValueType& GetValueByPointerWithDefault(DocumentType& document, const CharType(&source)[N], const std::basic_string<typename DocumentType::Ch>& defaultValue) {
    return GenericPointer<typename DocumentType::ValueType>(source, N - 1).GetWithDefault(document, defaultValue);
}

Synopsis

#include <include/rapidjson/pointer.h>

template <typename DocumentType, typename CharType, size_t N, typename T2>
DocumentType::ValueType & GetValueByPointerWithDefault(DocumentType &document, const CharType(&source)[N], T2 defaultValue)

Description

No description yet.

Mentioned in

Source

Lines 1251-1255 in include/rapidjson/pointer.h.

template <typename DocumentType, typename CharType, size_t N, typename T2>
RAPIDJSON_DISABLEIF_RETURN((internal::OrExpr<internal::IsPointer<T2>, internal::IsGenericValue<T2> >), (typename DocumentType::ValueType&))
GetValueByPointerWithDefault(DocumentType& document, const CharType(&source)[N], T2 defaultValue) {
    return GenericPointer<typename DocumentType::ValueType>(source, N - 1).GetWithDefault(document, defaultValue);
}





Add Discussion as Guest

Log in