Re: [sv-ec] Query on class

From: Mehdi Mohtashemi <Mehdi.Mohtashemi@synopsys.com>
Date: Wed Apr 07 2004 - 09:22:24 PDT

Kausik,
 Function overloading is not allowed.
- Mehdi

> Date: Wed, 07 Apr 2004 21:46:42 +0530
> User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1) Gecko/20020920
Netscape/7.0
> X-Accept-Language: en-us, en
> To: sv-ec@eda.org
> Subject: [sv-ec] Query on class
> X-Scan-Signature: 81d8cc297895204938878d6f388b1c3e
> X-pstn-levels: (S:99.90000/99.90000 R:95.9108 P:95.9108 M:98.0742 C:79.5348 )
>
> Hi,
> Is it possible to declare one method multiple times outside the class
> declaration using extern qualifier.
> For example
> class packet;
> extern protected function int send(int value);
> endclass
>
> function int packet::send(int value);
> ...
> endfunction
>
> function int packet::send(int value);
> ...
> endfunction
>
> If this is allowed is there any way I can bind one function to the
> actual function declaration.
>
> Thanks
> Kausik
>
Received on Wed Apr 7 09:22:31 2004

This archive was generated by hypermail 2.1.8 : Wed Apr 07 2004 - 09:22:34 PDT