mirror of
https://github.com/nasa/trick.git
synced 2025-06-21 16:39:37 +00:00
Refactor ICG
Hey buddy. I wanted to tell you this before you heard it from someone else... I refactored ICG. Now, it's gonna look a little scary at first. But I promise you'll like it when you get used to it. It'll be fine. You can trust me. #341
This commit is contained in:
@ -55,21 +55,8 @@ class PrintFileContentsBase {
|
||||
/* internal function determines if a particular field is printable */
|
||||
bool determinePrintAttr(ClassValues * c , FieldDescription *fdes) ;
|
||||
|
||||
/** Prints namespace containers of a class delimited by delim */
|
||||
void printNamespaces(std::ostream & ostream, ConstructValues * c , const char * delim ) ;
|
||||
|
||||
/** Prints namespace open block */
|
||||
void printOpenNamespaceBlocks( std::ostream & ostream, ClassValues * c ) ;
|
||||
|
||||
/** Prints namespace close block */
|
||||
void printCloseNamespaceBlocks( std::ostream & ostream, ClassValues * c ) ;
|
||||
|
||||
/* Note: There are no open/close namespace blocks for enums. The
|
||||
enum attributes do not have anything that needs to be enclosed in
|
||||
namespaces */
|
||||
|
||||
/** Prints class containers of a class delimited by delim */
|
||||
void printContainerClasses(std::ostream & ostream, ConstructValues * c , const char * delim ) ;
|
||||
/* gets a vector of fields that can be printed */
|
||||
std::vector<FieldDescription*> getPrintableFields(ClassValues& classValues);
|
||||
|
||||
} ;
|
||||
|
||||
|
Reference in New Issue
Block a user