#include <cpptoml.h>
◆ const_iterator
arrays can be iterated over. Const version.
◆ iterator
arrays can be iterated over
◆ size_type
◆ table_array() [1/2]
cpptoml::table_array::table_array |
( |
bool |
is_inline = false | ) |
|
|
inlineprivate |
◆ table_array() [2/2]
cpptoml::table_array::table_array |
( |
const table_array & |
obj | ) |
|
|
privatedelete |
◆ begin() [1/2]
iterator cpptoml::table_array::begin |
( |
| ) |
|
|
inline |
◆ begin() [2/2]
◆ clear()
void cpptoml::table_array::clear |
( |
| ) |
|
|
inline |
◆ clone()
std::shared_ptr< base > cpptoml::table_array::clone |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ end() [1/2]
◆ end() [2/2]
◆ erase()
Erase an element from the array
◆ get() [1/2]
std::vector<std::shared_ptr<table> >& cpptoml::table_array::get |
( |
| ) |
|
|
inline |
◆ get() [2/2]
const std::vector<std::shared_ptr<table> >& cpptoml::table_array::get |
( |
| ) |
const |
|
inline |
◆ insert()
Insert a table into the array
◆ is_inline()
bool cpptoml::table_array::is_inline |
( |
| ) |
const |
|
inline |
Whether or not the table array is declared inline. This mostly matters for parsing, where statically defined arrays cannot be appended to using the array-of-table syntax.
◆ is_table_array()
virtual bool cpptoml::table_array::is_table_array |
( |
| ) |
const |
|
inlineoverridevirtual |
Determines if the given TOML element is an array of tables.
Reimplemented from cpptoml::base.
◆ operator=()
◆ push_back()
void cpptoml::table_array::push_back |
( |
const std::shared_ptr< table > & |
val | ) |
|
|
inline |
Add a table to the end of the array
◆ reserve()
void cpptoml::table_array::reserve |
( |
size_type |
n | ) |
|
|
inline |
Reserve space for n tables.
◆ make_table_array
std::shared_ptr<table_array> make_table_array |
( |
bool |
is_inline = false | ) |
|
|
friend |
◆ table
◆ array_
std::vector<std::shared_ptr<table> > cpptoml::table_array::array_ |
|
private |
◆ is_inline_
const bool cpptoml::table_array::is_inline_ = false |
|
private |
The documentation for this class was generated from the following file: