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

#include <z120.h>

Inheritance diagram for Z120:
Inheritance graph
Collaboration diagram for Z120:
Collaboration graph

Public Member Functions

virtual std::string get_extension () const
 file extension used to distinguish this format More...
 
virtual std::string get_description () const
 human readable description of this format More...
 
virtual PreconditionList get_preconditions (MscPtr msc) const
 Returns a list of preconditions for this format. More...
 
virtual int save_msc (std::ostream &stream, const std::wstring &name, const MscPtr &selected_msc, const std::vector< MscPtr > &msc=std::vector< MscPtr >())
 export MSC document More...
 
void print_keyword_warning (const std::string &name)
 
- Public Member Functions inherited from Formatter
virtual ~Formatter ()
 
- 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 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 ExportFormatter
virtual ~ExportFormatter ()
 

Protected Member Functions

int save_msc (std::ostream &stream, const MscPtr &msc)
 
int save_bmsc (std::ostream &stream, const BMscPtr &bmsc)
 export a basic MSC drawing More...
 
int save_hmsc (std::ostream &stream, const HMscPtr &hmsc)
 export a HMSC drawing More...
 
template<class OutputStreamType >
void print_element_attributes (OutputStreamType &stream, const MscElementPtr &element)
 
template<class C >
void print_texts (std::ostream &stream, const boost::intrusive_ptr< C > &commentable)
 
template<class C >
void print_comments (std::ostream &stream, const boost::intrusive_ptr< C > &commentable)
 
void print_event (std::ostream &stream, PtrIDMap< MscMessagePtr > &message_id_map, const EventPtr &event)
 
void print_time_relations (std::ostream &stream, PtrIDMap< EventPtr > &event_id_map, const EventPtr &event)
 
void print_time_relations1 (std::ostream &stream, const ReferenceNodePtr &reference_node, TimeRelationRefNodePtrSet relations)
 
void print_time_relations2 (std::ostream &stream, PtrIDMap< HMscNodePtr > &node_id_map, const std::string &title, const ReferenceNodePtr &reference_node, TimeRelationRefNodePtrSet relations)
 

Protected Attributes

std::list< MscPtrm_printing
 
std::set< std::stringm_warned_names
 

Additional Inherited Members

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

Detailed Description

Definition at line 43 of file z120.h.

Member Function Documentation

virtual std::string Z120::get_description ( ) const
inlinevirtual

human readable description of this format

Implements Formatter.

Definition at line 56 of file z120.h.

virtual std::string Z120::get_extension ( ) const
inlinevirtual

file extension used to distinguish this format

Implements Formatter.

Definition at line 53 of file z120.h.

ExportFormatter::PreconditionList Z120::get_preconditions ( MscPtr  msc) const
virtual

Returns a list of preconditions for this format.

Implements ExportFormatter.

Definition at line 274 of file z120_save.cpp.

References result.

template<class C >
void Z120::print_comments ( std::ostream &  stream,
const boost::intrusive_ptr< C > &  commentable 
)
inlineprotected

Definition at line 109 of file z120.h.

Referenced by save_bmsc(), and save_hmsc().

template<class OutputStreamType >
void Z120::print_element_attributes ( OutputStreamType &  stream,
const MscElementPtr element 
)
protected
void Z120::print_event ( std::ostream &  stream,
PtrIDMap< MscMessagePtr > &  message_id_map,
const EventPtr event 
)
protected
void Z120::print_keyword_warning ( const std::string name)
inline

Definition at line 71 of file z120.h.

References Reporter::print_report(), RS_WARNING, and TOWSTRING().

template<class C >
void Z120::print_texts ( std::ostream &  stream,
const boost::intrusive_ptr< C > &  commentable 
)
inlineprotected

Definition at line 96 of file z120.h.

Referenced by save_bmsc(), and save_hmsc().

void Z120::print_time_relations ( std::ostream &  stream,
PtrIDMap< EventPtr > &  event_id_map,
const EventPtr event 
)
protected
void Z120::print_time_relations1 ( std::ostream &  stream,
const ReferenceNodePtr reference_node,
TimeRelationRefNodePtrSet  relations 
)
protected
void Z120::print_time_relations2 ( std::ostream &  stream,
PtrIDMap< HMscNodePtr > &  node_id_map,
const std::string title,
const ReferenceNodePtr reference_node,
TimeRelationRefNodePtrSet  relations 
)
protected
int Z120::save_bmsc ( std::ostream &  stream,
const BMscPtr bmsc 
)
protected
int Z120::save_hmsc ( std::ostream &  stream,
const HMscPtr hmsc 
)
protected
int Z120::save_msc ( std::ostream &  stream,
const std::wstring &  name,
const MscPtr selected_msc,
const std::vector< MscPtr > &  msc = std::vector<MscPtr>() 
)
virtual

export MSC document

Implements ExportFormatter.

Definition at line 281 of file z120_save.cpp.

References m_printing, m_warned_names, result, and VALID_NAME.

Referenced by call_checker(), call_diff(), call_find_flow(), call_tighten_time(), and import_pcap().

int Z120::save_msc ( std::ostream &  stream,
const MscPtr msc 
)
protected

Definition at line 314 of file z120_save.cpp.

References save_bmsc(), and save_hmsc().

Member Data Documentation

std::list<MscPtr> Z120::m_printing
protected

Definition at line 83 of file z120.h.

Referenced by save_hmsc(), and save_msc().

std::set<std::string> Z120::m_warned_names
protected

Definition at line 128 of file z120.h.

Referenced by save_msc().


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

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