×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Sep 2006
    Posts
    90

    How to get the classes inherited from a known abstract class provided by the SDK

    Usually, when I test the usage of some API, there will always be some abstract class type parameters, which prevent me constructing instances of these parameters, and then using the API.

    I need to know what classes are inherited from these abstract ones, but I can't find the down tree in the SDK Doc, the only relationship it provide is which one it is inherited from.

    How can I find the information I need?

  2. #2
    Super Contributor
    Join Date
    Jul 2006
    Location
    Oulu, Finland.
    Posts
    1,174

    Re: How to get the classes inherited from a known abstract class provided by the SDK

    Generally it is preferred to have base class as function parameters, it makes life easy, and regarding constructing instances, you will pass one of the derived classes as a function parameter, so that's not an issue.

    Can you tell us which abstract class is creating problem for you?

  3. #3
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: How to get the classes inherited from a known abstract class provided by the SDK

    There are of course tools that can analyze an SDK and build inheritance trees. "Understand for C++" is one that comes to my mind now but I am sure there are many other solutions.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  4. #4
    Super Contributor
    Join Date
    Jul 2004
    Location
    Romania
    Posts
    560

    Re: How to get the classes inherited from a known abstract class provided by the SDK

    Quote Originally Posted by awfulsoul View Post
    Usually, when I test the usage of some API, there will always be some abstract class type parameters, which prevent me constructing instances of these parameters, and then using the API.

    I need to know what classes are inherited from these abstract ones, but I can't find the down tree in the SDK Doc, the only relationship it provide is which one it is inherited from.

    How can I find the information I need?
    In you sdk documentation you should find a c++ class hierarchy. Doesn't help you?

  5. #5
    Regular Contributor
    Join Date
    Sep 2006
    Posts
    90

    Re: How to get the classes inherited from a known abstract class provided by the SDK

    Quote Originally Posted by pirosl View Post
    In you sdk documentation you should find a c++ class hierarchy. Doesn't help you?
    Oh yes, that's what I need, thank you very much.

  6. #6
    Regular Contributor
    Join Date
    Dec 2007
    Posts
    51

    Re: How to get the classes inherited from a known abstract class provided by the SDK

    in metro works code warrior's
    View Menu there... is option for Class Hierarchy....
    it will show u all the Derivation of classes...and Sturctural
    hierarchy....

    Hey buddy i tried to find the same for Carbide but didn't get
    any one if any one know how to do it in Carbide plz... post
    it...

Similar Threads

  1. Replies: 18
    Last Post: 2007-10-25, 12:50
  2. Cannot instantiate abstract class!!!!
    By Tanya in forum Symbian
    Replies: 3
    Last Post: 2007-09-01, 14:10
  3. Is Count() in RSemaphore class removed in S60 3rd SDK?
    By huangkuan in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2007-01-19, 05:47
  4. Problem in NDS 3.0 for J2ME packager and abstract MIDlet base class
    By David Mitchell in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2005-09-16, 19:30
  5. Http connection problem in 6310i
    By teahola in forum Mobile Java General
    Replies: 1
    Last Post: 2002-10-03, 18:46

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×