Function get_array_qualified

Synopsis

#include <include/cpptoml.h>

std::shared_ptr< array > get_array_qualified(const std::string &key) const

Description

Obtains an array for a given key. Will resolve "qualified keys".

Source

Lines 1407-1412 in include/cpptoml.h.

std::shared_ptr<array> get_array_qualified(const std::string& key) const
{
    if (!contains_qualified(key))
        return nullptr;
    return get_qualified(key)->as_array();
}





Add Discussion as Guest

Log in