Overloaded methods

Examples of calls to SIDL overloaded methods are based on the overload_sample.sidl file shown in Section 5.7. Recall that the file describes three versions of the getValue method. The first takes no arguments, the second takes an integer argument, and the third takes a boolean. Each is called in the code snippet below$:$


  b1 = 1
  i1 = 1

  t = Overload.Sample.Sample()
  
  nresult = t.getValue()
  iresult = t.getValueInt(i1) 
  bresult = t.getValueBool(b1)





babel-1.4.0
users_guide Last Modified 2008-10-16

http://www.llnl.gov/CASC/components
components@llnl.gov