Added sequence diagram model cleanup step to remove empty block statements
This commit is contained in:
@@ -124,12 +124,24 @@ public:
|
||||
void set_complete(bool complete);
|
||||
|
||||
/**
|
||||
* Whether the diagram is complete.
|
||||
* @brief Whether the diagram is complete.
|
||||
*
|
||||
* This flag is set to true, when all translation units for this diagram
|
||||
* have been visited.
|
||||
*
|
||||
* @return Diagram completion status.
|
||||
*/
|
||||
bool complete() const;
|
||||
|
||||
/**
|
||||
* @brief Once the diagram is complete, run any final processing.
|
||||
*
|
||||
* This method should be overriden by specific diagram models to do some
|
||||
* final tasks like cleaning up the model (e.g. some filters only work
|
||||
* on completed diagrams).
|
||||
*/
|
||||
virtual void finalize();
|
||||
|
||||
// TODO: refactor to a template method
|
||||
bool should_include(const element &e) const;
|
||||
bool should_include(const namespace_ &ns) const;
|
||||
|
||||
Reference in New Issue
Block a user