Comprehensive iC example focusing on XML serialization.
#include <cstdio>
#include <iostream>
#include <tobiic/ICClass.hpp>
#include <tobiic/ICClassifier.hpp>
#include <tobiic/ICSerializerRapid.hpp>
#include <tobicore/TCException.hpp>
int main(void) {
std::string buffer1;
std::string buffer2;
char buffer3[4800];
std::cout << "[1]>> " << buffer1 << std::endl;
std::cout << "[2]>> " << buffer2 << std::endl;
std::cout << "[3]>> " << buffer3 << std::endl;
std::cout <<
"[s,s] This will work >> " << class_s.
GetLabel() << std::endl;
std::cout <<
"[s,i] This will fail >> " << class_s.
GetLabelUInt() << std::endl;
std::cout <<
"[i,s] This will work >> " << class_i.
GetLabel() << std::endl;
std::cout <<
"[i,s] This will work >> " << class_i.
GetLabelUInt() << std::endl;
return 0;
}