mirror of
https://github.com/nasa/trick.git
synced 2025-06-21 08:29:39 +00:00
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:
@ -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 ;
|
||||
}
|
||||
|
Reference in New Issue
Block a user