* @brief Function to print the values of all the attributes for one * index of this array. * * @param a Attribute a's value. * @param b Attribute b's value. * @param c Attribute c's value. * @param d Attribute d's value. */
| 53 | * @param d Attribute d's value. |
| 54 | */ |
| 55 | void print_elem(std::optional<int> a, std::string b, int32_t c, float d) { |
| 56 | if (a == std::nullopt) { |
| 57 | std::cout << "{null, " << b << ", " << c << ", " << d << "}\n"; |
| 58 | } else { |
| 59 | std::cout << "{" << a.value() << ", " << b << ", " << c << ", " << d |
| 60 | << "}\n"; |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | /** |
| 65 | * @brief Function to create the TileDB array used in this example. |
no test coverage detected