Author Topic: Direct entry of data into tables  (Read 8443 times)

Offline mbedward

  • Newbie
  • *
  • Posts: 7
    • View Profile
Direct entry of data into tables
« on: March 12, 2014, 08:53:56 »
The API manual states that direct entry of data into a node's table should be followed by a call to a function tonotify the node that data have changed (p40, C function h_node_touch_table).

There doesn't seem to be an equivalent method in the Java API. Is notification not required or am I missing it ?

cheers
Michael

Offline Frank Jensen

  • HUGIN Expert
  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Re: Direct entry of data into tables
« Reply #1 on: March 12, 2014, 17:03:12 »
In the Java API, you must use a function to change the data in a CPT.  That function handles this notification.  (In C it is possible to use a pointer to change the data without the rest of the API knowing about it.)

I hope this helps.

Offline mbedward

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Direct entry of data into tables
« Reply #2 on: March 13, 2014, 00:15:30 »
Thanks Frank - that makes sense