certi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-dev] []operator and ParameterHandleValueMap or VariableLengthData


From: Pierre Siron
Subject: [certi-dev] []operator and ParameterHandleValueMap or VariableLengthData implementation
Date: Tue, 02 May 2017 14:06:13 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

Hello,
I have a little problem with the following line
(preceding a sendInteraction call). It provokes an execution error:

   phvm[paramHandle] = varData;

The debugger finds a problem in the VariableLengthData implementation,
this is not clear for me.
The following alternative line seems ok:

phvm.insert(std::pair<rti1516::ParameterHandle, rti1516::VariableLengthData>(paramHandle, varData));

I am currently using:
- Fedora 20
- g++ (GCC) 4.8.3
- CERTI RTIG 3.5.0git
- 1516-2000 binding

Two attached files: test_map.cc, Makefile
If you have the CERTI working environment, to run and crash:
make
./test_map

The advice of a C++ expert ?
Thanks a lot
Pierre

Attachment: test_map.cc
Description: Text document

Attachment: Makefile
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]