Author Topic: code completion  (Read 3489 times)

Offline wally

  • Multiple posting newcomer
  • *
  • Posts: 14
code completion
« on: April 11, 2009, 12:45:03 pm »

is there a way to get the methods and properties of an
object during coding, similar as code completion does ?

regs wally

   

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: code completion
« Reply #1 on: April 11, 2009, 02:14:36 pm »

is there a way to get the methods and properties of an
object during coding, similar as code completion does ?

regs wally

   

Which do you mean by "Get the methods and properties of an object".
Can you give more detail?
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline wally

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: code completion
« Reply #2 on: April 11, 2009, 03:14:29 pm »

similar to VB or Gambas ...
e.g. gauge->SetValue()
SetValue is an method of gauge object, right ?