#include <vector>
#include <iostream>
#include <exception>
int main()
{
try
{
rdb.
open(
"pointcloud.rdbx", settings);
for (auto it = attributes.cbegin(); it != attributes.cend(); it++)
{
static std::string current_group;
std::string group; uint32_t index(0);
if (current_group != group)
{
std::cout << group << ":" << std::endl;
current_group = group;
}
);
std::cout << " -"
<<
" " << details.
title <<
" " << "(" << details.name << ")"
<< std::endl;
}
return 0;
}
{
std::cerr << error.
what() <<
" (" << error.
details() <<
")" << std::endl;
return 1;
}
catch(const std::exception &error)
{
std::cerr << error.what() << std::endl;
return 1;
}
}