Function get

Summary

#include <include/cpptoml.h>

(1) std::vector< std::shared_ptr< base > > & get()

(2) const std::vector< std::shared_ptr< base > > & get() const

Function overload

Synopsis

#include <include/cpptoml.h>

std::vector< std::shared_ptr< base > > & get()

Description

Obtains the array (vector) of base values.

Source

Lines 821-824 in include/cpptoml.h.

std::vector<std::shared_ptr<base>>& get()
{
    return values_;
}

Synopsis

#include <include/cpptoml.h>

const std::vector< std::shared_ptr< base > > & get() const

Description

Obtains the array (vector) of base values. Const version.

Source

Lines 829-832 in include/cpptoml.h.

const std::vector<std::shared_ptr<base>>& get() const
{
    return values_;
}





Add Discussion as Guest

Log in