Sequence Chart Studio  svn HEAD revision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Beautify Class Reference

#include <beautify.h>

Inheritance diagram for Beautify:
Inheritance graph
Collaboration diagram for Beautify:
Collaboration graph

Public Member Functions

 Beautify ()
 
virtual ~Beautify ()
 
virtual std::wstring get_name () const
 Human readable name of the transformation. More...
 
virtual PreconditionList get_preconditions (MscPtr msc) const
 Returns a list of preconditions for this transformation. More...
 
virtual MscPtr transform (MscPtr msc)
 Transform a MSC drawing. More...
 
virtual void set_is_imported (bool is_imported)
 
bool get_is_imported (void)
 
- Public Member Functions inherited from Transformer
virtual ~Transformer ()
 
- Public Member Functions inherited from ConfigReader
 ConfigReader ()
 
 ConfigReader (ConfigProvider *config_provider)
 
virtual ~ConfigReader ()
 
void set_config_provider (ConfigProvider *config_provider)
 
ConfigProviderget_config_provider () const
 
long get_config_long (const std::wstring &section, const std::wstring &parameter, long def=0) const
 
float get_config_float (const std::wstring &section, const std::wstring &parameter, float def=0.0f) const
 
std::wstring get_config_string (const std::wstring &section, const std::wstring &parameter, std::wstring def=L"") const
 
- Public Member Functions inherited from Reporter
 Reporter ()
 
 Reporter (ReportPrinter *printer)
 
virtual ~Reporter ()
 
void set_printer (ReportPrinter *printer)
 
int print_report (TReportSeverity severity, const std::wstring &message)
 

Public Attributes

bool m_is_imported
 

Protected Member Functions

int transform_bmsc (BMscPtr bmsc)
 
int transform_hmsc (HMscPtr hmsc)
 

Protected Attributes

std::list< MscPtrm_processing
 

Additional Inherited Members

- Public Types inherited from Transformer
typedef std::vector
< PrerequisiteCheck
PreconditionList
 List of properties that must be satisfied before executing the transformation. More...
 

Detailed Description

Definition at line 28 of file beautify.h.

Constructor & Destructor Documentation

Beautify::Beautify ( )

Definition at line 27 of file beautify.cpp.

References m_is_imported.

virtual Beautify::~Beautify ( )
inlinevirtual

Definition at line 32 of file beautify.h.

Member Function Documentation

bool Beautify::get_is_imported ( void  )
inline

if document is imported or not

Definition at line 52 of file beautify.h.

Referenced by transform_bmsc().

virtual std::wstring Beautify::get_name ( ) const
inlinevirtual

Human readable name of the transformation.

Implements Transformer.

Definition at line 35 of file beautify.h.

Transformer::PreconditionList Beautify::get_preconditions ( MscPtr  msc) const
virtual

Returns a list of preconditions for this transformation.

Implements Transformer.

Definition at line 32 of file beautify.cpp.

References PrerequisiteCheck::PP_REQUIRED.

virtual void Beautify::set_is_imported ( bool  is_imported)
inlinevirtual

Definition at line 44 of file beautify.h.

Referenced by CDocumentMonitor::ImportDocument(), and transform_bmsc().

MscPtr Beautify::transform ( MscPtr  msc)
virtual

Transform a MSC drawing.

Implements Transformer.

Definition at line 42 of file beautify.cpp.

References m_processing, result, transform_bmsc(), and transform_hmsc().

Referenced by AbsoluteTimeConsistencyChecker::check(), and TimeRelevantOrdering::transform_bmsc().

int Beautify::transform_bmsc ( BMscPtr  bmsc)
protected
int Beautify::transform_hmsc ( HMscPtr  hmsc)
protected

Member Data Documentation

bool Beautify::m_is_imported

Definition at line 57 of file beautify.h.

Referenced by Beautify().

std::list<MscPtr> Beautify::m_processing
protected

Definition at line 62 of file beautify.h.

Referenced by transform(), and transform_hmsc().


The documentation for this class was generated from the following files:

SourceForge.net Logo
Generated on Fri Jan 15 2016 16:26:57 for Sequence Chart Studio by  doxygen