Function loadValue

Summary

#include <include/nvp.h>

(1) template <class Stmt, class Arg>
    void loadValue(Stmt &res, Arg &arg)

#include <include/some_types.h>

(2) void loadValue(Stmt &res, Arg &arg)

(3) void loadValue(Stmt &res, Arg &arg)

Function overload

Synopsis

#include <include/nvp.h>

template <class Stmt, class Arg>
void loadValue(Stmt &res, Arg &arg)

Description

No description yet.

Mentioned in

Source

Line 42 in include/nvp.h.

Synopsis

#include <include/some_types.h>

void loadValue(Stmt &res, Arg &arg)

Description

No description yet.

Mentioned in

Source

Lines 142-145 in include/some_types.h.

template<> template<class Stmt,class Arg>
void db_atom<std::string>::loadValue(Stmt& res, Arg& arg) {
    val = std::string((const char*)(res.get_text(arg)));
}

Synopsis

#include <include/some_types.h>

void loadValue(Stmt &res, Arg &arg)

Description

No description yet.

Mentioned in

Source

Lines 164-168 in include/some_types.h.

template<> template<class Stmt,class Arg>
void db_atom<std::vector<uint8_t>>::loadValue(Stmt& res, Arg& arg) {
    const uint8_t* tmp = static_cast<const uint8_t*>(res.get_blob(arg));
    val.assign(tmp, tmp + res.get_bytes(arg));
}





Add Discussion as Guest

Log in