DynamicData sequence

3 posts / 0 new
Last post
Offline
Last seen: 6 years 4 months ago
Joined: 08/30/2013
Posts: 2
Problem setting sequence elements dynamically

Hi,

I have a found a problem with dynamically setting individual sequence elements. The attached file demonstates the problem, where an unrelated change in the structure's type code changes the behaviour from working as expected to not working.

Organization:
7 posts / 0 new
Last post
Offline
Last seen: 8 years 2 months ago
Joined: 04/25/2013
Posts: 6
DynamicData

hi everybody,

I want to

 
struct task  {
    long a;
    long b;
    sequence<double> cSeq;
};

struct entity {
    long id;
    long num;
    sequence<task> myTaskSeq;
};

struct myType {
    double speed;
    sequence<entity> myEntity; 
};

but in task struct,the cSeq's length is not sure,even for 0.

it will lead to takeup too much memory.

Subscribe to RSS - DynamicData sequence