Ignore privacy

Removed the requirement of passing flags throughout ICG indicating if we are
in an inherited class or not.  Removed the init_attr friends throughout
Trick core headers.
This commit is contained in:
Alex Lin
2016-04-11 08:01:54 -05:00
parent 34090169fb
commit 314e962edf
39 changed files with 75 additions and 262 deletions

View File

@ -15,12 +15,11 @@
#include "trick/units_conv.h"
FieldDescription::FieldDescription(
std::string in_container_class ,
bool in_inherited ) :
std::string in_container_class ) :
container_class(in_container_class) ,
field_offset(0) ,
field_width(0) ,
inherited(in_inherited) ,
inherited(false) ,
units("--") ,
line_no(0) ,
io(3) ,
@ -316,6 +315,10 @@ std::string FieldDescription::getDescription() {
return description ;
}
void FieldDescription::setInherited(bool in_inherited) {
inherited = in_inherited ;
}
bool FieldDescription::isInherited() {
return inherited ;
}