Global function and UML diagram


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Global function and UML diagram

  1. #1
    Manish Agarwal Guest

    Global function and UML diagram


    How we can show global function in UML diagrams?



  2. #2
    Roger Guest

    Re: Global function and UML diagram


    "Manish Agarwal" <mkag@rediffmail.com> wrote:
    >
    >How we can show global function in UML diagrams?
    >
    >


    It must be an method of an object or a class

  3. #3
    Aurene Guest

    Re: Global function and UML diagram


    "Manish Agarwal" <mkag@rediffmail.com> wrote:
    >
    >How we can show global function in UML diagrams?
    >
    >

    Manish,

    Make an abstract class say GObject and stuff these public gfunctions there


    GoodLuck


    Aurene

  4. #4
    Sudhir Guest

    Re: Global function and UML diagram


    "Manish Agarwal" <mkag@rediffmail.com> wrote:
    >
    >How we can show global function in UML diagrams?
    >
    >


    UML is used to denote Object oriented design. SO there can be no gobal functions.
    In case you still need a global function, you need to put the global function
    as a method to a class that has no members, make an object of this class
    as global/Static and then use this. This global object can be represented
    in your diagram.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center