#include <iostream>
int main(void)
{
try {
const char *name, *value;
if (!value) {
}
else if (value[0] == '\0') {
}
else {
}
}
}
catch (std::exception &e) {
std::cerr << e.what() << std::endl;
return 1;
}
return 0;
}
void set(const char *name, const char *value)
Set a tag.
Definition gta.hpp:325
void unset_all()
Unset all tags.
Definition gta.hpp:354
const char * get(const char *name) const
Get a tag value by its name.
Definition gta.hpp:311
void unset(const char *name)
Unset a tag.
Definition gta.hpp:340
const char * value(uintmax_t i) const
Get a tag value.
Definition gta.hpp:301
const char * name(uintmax_t i) const
Get a tag name.
Definition gta.hpp:291
The libgta C++ interface.
@ float32
IEEE 754 single precision floating point (on many platforms: float)
Definition gta.hpp:132
@ uint16
uint16_t
Definition gta.hpp:125
@ cfloat64
complex (re,im) based on two gta::float64
Definition gta.hpp:136