RE: [sv-bc] Query regarding constant class property

From: Rich, Dave <Dave_Rich_at_.....>
Date: Sun Jan 11 2009 - 17:08:52 PST
I believe enum constants should be treated as localparams in the scope
where they are declared.



> -----Original Message-----
> From: owner-sv-bc@server.eda.org [mailto:owner-sv-bc@server.eda.org]
On
> Behalf Of Bresticker, Shalom
> Sent: Sunday, January 11, 2009 6:49 AM
> To: Steven Sharp; sv-bc@eda.org; ighosh@cal.interrasystems.com
> Subject: RE: [sv-bc] Query regarding constant class property
> 
> In general, what enum constants *are* is not well defined in the LRM,
and
> thus their characteristics and attributes are not well defined either.
> 
> Shalom
> 
> 
> > This LRM rule does not apply to the enum constants, because
> > the enum constants are not members of the class.  A member of
> > the class is either a property or a method of the class.
> > These enum constants are names declared inside the scope of
> > the class, but they are neither properties nor methods.  The
> > LRM rule only applies to nonstatic *members*, so it does not
> > apply to these enum constants.
> ---------------------------------------------------------------------
> Intel Israel (74) Limited
> 
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
> 
> 
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Sun Jan 11 17:09:22 2009

This archive was generated by hypermail 2.1.8 : Sun Jan 11 2009 - 17:10:10 PST