I have a couple of arrays to save to disk:
SArray1dC<MatrixC> res(2);
res[0] = aaTu;
res[1] = aTb;
using the RavlN::Save(op,res) method, but the Save method complaints about not being able to find the correct format, error message shown as follows:
"Failed to find format to save object to file"
has anyone done this before?
Not every combination of types has a file format registered with the IO mechanism.
To add a new format add something like the following line to one of your files:
#include "Ravl/DP/FileFormatBinStream.hh"
..
static RavlN::FileFormatBinStreamC<RavlN::SArray1dC<RavlN::MatrixC> > FileIO_ArrayOfMatrices;
Hope this helps