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

#include <exportTex.h>

Inheritance diagram for ExportTex:
Inheritance graph
Collaboration diagram for ExportTex:
Collaboration graph

Public Member Functions

virtual ~ExportTex ()
 
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...
 
virtual PreconditionList get_preconditions (MscPtr msc) const
 Returns a list of preconditions for this format. More...
 
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...
 
- 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 ()
 

Static Public Member Functions

static std::string print_wchar (const std::wstring &name, bool remove_white=false)
 
static std::string print_string (const std::string &name)
 

Protected Member Functions

int print_document_head (std::ostream &stream)
 
int print_document_end (std::ostream &stream)
 
int save_msc (std::ostream &stream, const MscPtr &msc)
 

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 75 of file exportTex.h.

Constructor & Destructor Documentation

virtual ExportTex::~ExportTex ( )
inlinevirtual

Definition at line 78 of file exportTex.h.

Member Function Documentation

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

human readable description of this format

Implements Formatter.

Definition at line 90 of file exportTex.h.

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

file extension used to distinguish this format

Implements Formatter.

Definition at line 87 of file exportTex.h.

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

Returns a list of preconditions for this format.

Implements ExportFormatter.

Definition at line 2369 of file exportTex.cpp.

References result.

int ExportTex::print_document_end ( std::ostream &  stream)
protected

Definition at line 2393 of file exportTex.cpp.

int ExportTex::print_document_head ( std::ostream &  stream)
protected

Definition at line 2376 of file exportTex.cpp.

std::string ExportTex::print_string ( const std::string name)
static

Definition at line 2614 of file exportTex.cpp.

References print_wchar().

Referenced by PrintHmsc::print().

std::string ExportTex::print_wchar ( const std::wstring &  name,
bool  remove_white = false 
)
static
virtual int ExportTex::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.

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

Definition at line 2444 of file exportTex.cpp.

References m_printing, PrintBmsc::print(), PrintHmsc::print(), printer, and result.

Member Data Documentation

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

Definition at line 102 of file exportTex.h.

Referenced by save_msc().

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

Definition at line 104 of file exportTex.h.


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

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