Function GetValueByPointer

Summary

#include <include/rapidjson/pointer.h>

(1) template <typename T>
    T::ValueType * GetValueByPointer(T &root, const GenericPointer< typename T::ValueType > &pointer, size_t *unresolvedTokenIndex=0)

(2) template <typename T>
    const T::ValueType * GetValueByPointer(const T &root, const GenericPointer< typename T::ValueType > &pointer, size_t *unresolvedTokenIndex=0)

(3) template <typename T, typename CharType, size_t N>
    T::ValueType * GetValueByPointer(T &root, const CharType(&source)[N], size_t *unresolvedTokenIndex=0)

(4) template <typename T, typename CharType, size_t N>
    const T::ValueType * GetValueByPointer(const T &root, const CharType(&source)[N], size_t *unresolvedTokenIndex=0)

Function overload

Synopsis

#include <include/rapidjson/pointer.h>

template <typename T>
T::ValueType * GetValueByPointer(T &root, const GenericPointer< typename T::ValueType > &pointer, size_t *unresolvedTokenIndex=0)

Description

No description yet.

Mentioned in

Source

Lines 1141-1144 in include/rapidjson/pointer.h.

template <typename T>
typename T::ValueType* GetValueByPointer(T& root, const GenericPointer<typename T::ValueType>& pointer, size_t* unresolvedTokenIndex = 0) {
    return pointer.Get(root, unresolvedTokenIndex);
}

Synopsis

#include <include/rapidjson/pointer.h>

template <typename T>
const T::ValueType * GetValueByPointer(const T &root, const GenericPointer< typename T::ValueType > &pointer, size_t *unresolvedTokenIndex=0)

Description

No description yet.

Mentioned in

Source

Lines 1146-1149 in include/rapidjson/pointer.h.

template <typename T>
const typename T::ValueType* GetValueByPointer(const T& root, const GenericPointer<typename T::ValueType>& pointer, size_t* unresolvedTokenIndex = 0) {
    return pointer.Get(root, unresolvedTokenIndex);
}

Synopsis

#include <include/rapidjson/pointer.h>

template <typename T, typename CharType, size_t N>
T::ValueType * GetValueByPointer(T &root, const CharType(&source)[N], size_t *unresolvedTokenIndex=0)

Description

No description yet.

Mentioned in

Source

Lines 1151-1154 in include/rapidjson/pointer.h.

template <typename T, typename CharType, size_t N>
typename T::ValueType* GetValueByPointer(T& root, const CharType (&source)[N], size_t* unresolvedTokenIndex = 0) {
    return GenericPointer<typename T::ValueType>(source, N - 1).Get(root, unresolvedTokenIndex);
}

Synopsis

#include <include/rapidjson/pointer.h>

template <typename T, typename CharType, size_t N>
const T::ValueType * GetValueByPointer(const T &root, const CharType(&source)[N], size_t *unresolvedTokenIndex=0)

Description

No description yet.

Mentioned in

Source

Lines 1156-1159 in include/rapidjson/pointer.h.

template <typename T, typename CharType, size_t N>
const typename T::ValueType* GetValueByPointer(const T& root, const CharType(&source)[N], size_t* unresolvedTokenIndex = 0) {
    return GenericPointer<typename T::ValueType>(source, N - 1).Get(root, unresolvedTokenIndex);
}





Add Discussion as Guest

Log in