Function CreateValueByPointer

Summary

#include <include/rapidjson/pointer.h>

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

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

(3) template <typename DocumentType>
    DocumentType::ValueType & CreateValueByPointer(DocumentType &document, const GenericPointer< typename DocumentType::ValueType > &pointer)

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

Function overload

Synopsis

#include <include/rapidjson/pointer.h>

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

Description

No description yet.

Mentioned in

Source

Lines 1117-1120 in include/rapidjson/pointer.h.

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

Synopsis

#include <include/rapidjson/pointer.h>

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

Description

No description yet.

Mentioned in

Source

Lines 1122-1125 in include/rapidjson/pointer.h.

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

Synopsis

#include <include/rapidjson/pointer.h>

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

Description

No description yet.

Mentioned in

Source

Lines 1129-1132 in include/rapidjson/pointer.h.

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

Synopsis

#include <include/rapidjson/pointer.h>

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

Description

No description yet.

Mentioned in

Source

Lines 1134-1137 in include/rapidjson/pointer.h.

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





Add Discussion as Guest

Log in