wrapper for imc::object, include imc::object in imc::block

This commit is contained in:
2021-02-09 20:57:44 +01:00
parent a808a001a9
commit 4f3e816dbf
5 changed files with 266 additions and 73 deletions

View File

@@ -175,24 +175,12 @@ int main(int argc, char* argv[])
{
std::cout<<blk.get_key().get_info()<<"\n";
std::cout<<blk.get_info()<<"\n";
// if ( blk.get_key() == std::string("CR") )
// for ( auto prm: blk.get_parameters() ) std::cout<<prm.get_info()<<"\n";
}
std::cout<<"number of blocks: "<<imcraw.blocks().size()<<"\n";
std::cout<<"computational complexity: "<<imcraw.computational_complexity()
<<"/"<<imcraw.buffer_size()<<"\n";
}
// for ( std::map<std::string,imc::key>::iterator it = imc::keys.begin();
// it != imc::keys.end(); ++it )
// {
// std::cout<<it->second.get_info()<<"\n";
// }
//
// std::vector<unsigned char> buff;
// imc::block blk(imc::keys.at("CF"),0,100,"data.raw",&buff);
// std::cout<<blk.get_info()<<"\n";
return 0;
}