Improve printable field detection

Renamed determinePrintAttr to isPrintable.
Different callers need to filter on different IO specs, so I added an
ioMask parameter.
Additional refactoring.
Refs #427
This commit is contained in:
Derek Bankieris
2017-05-17 09:37:22 -05:00
parent 353905c1ed
commit fe79aa81a5
4 changed files with 46 additions and 52 deletions

View File

@ -53,7 +53,7 @@ class PrintFileContents10 : public PrintFileContentsBase {
void print_enum_attr(std::ostream & outfile , EnumValues * in_enum) ;
/** Prints attributes for a field */
void print_field_attr(std::ostream & outfile , FieldDescription * fdes ) ;
void print_field_attr(std::ostream & outfile , FieldDescription & fdes ) ;
/** Prints class attributes */
void print_class_attr(std::ostream & outfile , ClassValues * in_class) ;