#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:334
void unset_all()
Unset all tags.
Definition: gta.hpp:363
const char * get(const char *name) const
Get a tag value by its name.
Definition: gta.hpp:320
void unset(const char *name)
Unset a tag.
Definition: gta.hpp:349
const char * value(uintmax_t i) const
Get a tag value.
Definition: gta.hpp:310
const char * name(uintmax_t i) const
Get a tag name.
Definition: gta.hpp:300
The libgta C++ interface.
@ float32
IEEE 754 single precision floating point (on many platforms: float)
Definition: gta.hpp:133
@ uint16
uint16_t
Definition: gta.hpp:126
@ cfloat64
complex (re,im) based on two gta::float64
Definition: gta.hpp:137