RegisterLogin  
Update Profile
   
You are here: Forum  
Minimize 
SVUG Community Forum
Subject: Acessing derived class variables
Prev Next
You are not authorized to post a reply.

Author Messages
V VINAYUser is Offline

Posts:2

11/10/2009 6:49 PM  
How can we access derived class variables from base class, for methods we can declare them as virtual but what about variables ?

MANISHUser is Offline

Posts:2

07/24/2010 8:11 AM  
I don't think you will have separate copies of same variables in parent and child classes. Derived class should contain the same set of variables of parent class, even if you don't declare them inside derived class.
You are not authorized to post a reply.
Forums > General Discussion > Main Discussion Area > Acessing derived class variables



ActiveForums 3.7
  

 Copyright 2008 by SystemVerilog User Group Contact Us    Privacy Statement