[Clam-devel] CLAM::Network::StoreOn(Storage &). What am I missing?

Natanael Olaiz nolaiz at gmail.com
Fri May 30 11:03:55 PDT 2008


El 05/30/2008 08:05 AM, David García Garzón escribió:
> Natanael, you are using the wrong entry poing for xml storage.
>
> CLAM::XmlStorage::Dump(object,"toplevelitemname", stream);
>
>   
My first attempts was using that. But I did something wrong and doesn't 
worked, so then I tried with this other method.
I'll return to the Dump.

Thanks. :)


Regards,
Natanael.

> El Friday 30 May 2008 11:34:50 Natanael Olaiz va escriure:
>   
>> I feel that I'm falling in some very stupid mistake... but I don't
>> understand what am I doing wrong.
>> <http://www.wordreference.com/es/en/translation.asp?spen=amante>
>> When I try to do:
>>
>>     CLAM::XmlStorage storage;
>>     _network->StoreOn(storage);
>>
>> (on NetworkCanvas -i.e., _network = used CLAM::Network *-)
>> It gaves a segmentation fault.
>>
>> If I try with a new empty network:
>>
>>     CLAM::XmlStorage storage;
>>     CLAM::Network newnetwork;
>>     const std::string strr="testing";
>>     storage.Create(strr);
>>     newnetwork.StoreOn(storage);
>>
>> is the same.
>>
>> Now I'm going to sleep. I think that later I would be able to solve
>> that... but if someone knows what is my mistake, I'll appreciate some
>> clues. I know David and Pau are busy right now, so you don't worry. I just
>> ask because I think this could be a simple misconception.
>> Is it?
>>
>>
>> Regards,
>> Natanael.
>>     
>
>
>
>   





More information about the clam-devel mailing list