Sequence Chart Studio  svn HEAD revision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Member Functions | Private Attributes | List of all members
PrintHmsc Class Reference
Collaboration diagram for PrintHmsc:
Collaboration graph

Public Member Functions

 PrintHmsc (std::ostream &ostream, const HMscPtr &ohmsc)
 
int print (std::list< MscPtr > *list)
 

Private Member Functions

void print_color (const MscColor &color)
 
void find_size ()
 
Coordinate get_pos_x (Coordinate cor)
 
Coordinate get_pos_y (Coordinate cor)
 
void print_configuration_header ()
 
void print_time_relations1 (TimeRelationRefNodePtrSet relations)
 
void print_time_relations2 (const ReferenceNodePtr &reference_node, TimeRelationRefNodePtrSet relations)
 

Private Attributes

std::ostream m_stream
 
HMscPtr m_hmsc
 
Coordinate m_width
 
Coordinate m_height
 
Coordinate m_margin
 
MscPoint m_llCorner
 
MscPoint m_urCorner
 
DistanceMap m_global_comment_width
 
DistanceMap m_reference_height
 
DistanceMap m_reference_width
 
DistanceMap m_condition_height
 
DistanceMap m_condition_width
 
DistanceMap m_conection_radius
 
DistanceMap m_comment_width
 
DistanceMap m_time_interval_width
 
DistanceMap m_start_symbol_width
 
ColorMap m_colors
 
MarkType m_last_mark
 
PtrIDMap< HMscNodePtrnode_id_map
 

Detailed Description

Definition at line 1897 of file exportTex.cpp.

Constructor & Destructor Documentation

PrintHmsc::PrintHmsc ( std::ostream &  ostream,
const HMscPtr ohmsc 
)
inline

Member Function Documentation

void PrintHmsc::find_size ( )
inlineprivate
Coordinate PrintHmsc::get_pos_x ( Coordinate  cor)
inlineprivate

Definition at line 2017 of file exportTex.cpp.

References MscPoint::get_x(), m_llCorner, m_margin, result, Compare::round(), and TOCM.

Referenced by print().

Coordinate PrintHmsc::get_pos_y ( Coordinate  cor)
inlineprivate

Definition at line 2028 of file exportTex.cpp.

References MscPoint::get_y(), m_height, m_llCorner, m_margin, result, Compare::round(), and TOCM.

Referenced by print().

int PrintHmsc::print ( std::list< MscPtr > *  list)
inline
void PrintHmsc::print_color ( const MscColor color)
inlineprivate

Definition at line 1922 of file exportTex.cpp.

References m_colors, m_stream, and ColorMap::printColor().

Referenced by print(), print_time_relations1(), and print_time_relations2().

void PrintHmsc::print_configuration_header ( )
inlineprivate
void PrintHmsc::print_time_relations1 ( TimeRelationRefNodePtrSet  relations)
inlineprivate
void PrintHmsc::print_time_relations2 ( const ReferenceNodePtr reference_node,
TimeRelationRefNodePtrSet  relations 
)
inlineprivate

Member Data Documentation

ColorMap PrintHmsc::m_colors
private

Definition at line 1918 of file exportTex.cpp.

Referenced by print_color(), print_configuration_header(), and PrintHmsc().

DistanceMap PrintHmsc::m_comment_width
private

Definition at line 1915 of file exportTex.cpp.

Referenced by find_size(), print(), print_configuration_header(), and PrintHmsc().

DistanceMap PrintHmsc::m_condition_height
private

Definition at line 1912 of file exportTex.cpp.

Referenced by print_configuration_header(), and PrintHmsc().

DistanceMap PrintHmsc::m_condition_width
private

Definition at line 1913 of file exportTex.cpp.

Referenced by print_configuration_header(), and PrintHmsc().

DistanceMap PrintHmsc::m_conection_radius
private

Definition at line 1914 of file exportTex.cpp.

Referenced by print_configuration_header(), and PrintHmsc().

DistanceMap PrintHmsc::m_global_comment_width
private

Definition at line 1909 of file exportTex.cpp.

Referenced by find_size(), print(), print_configuration_header(), and PrintHmsc().

Coordinate PrintHmsc::m_height
private

Definition at line 1905 of file exportTex.cpp.

Referenced by find_size(), get_pos_y(), and print().

HMscPtr PrintHmsc::m_hmsc
private

Definition at line 1903 of file exportTex.cpp.

Referenced by find_size(), print(), and PrintHmsc().

MarkType PrintHmsc::m_last_mark
private

Definition at line 1919 of file exportTex.cpp.

Referenced by PrintHmsc().

MscPoint PrintHmsc::m_llCorner
private

Definition at line 1907 of file exportTex.cpp.

Referenced by find_size(), get_pos_x(), and get_pos_y().

Coordinate PrintHmsc::m_margin
private

Definition at line 1906 of file exportTex.cpp.

Referenced by find_size(), get_pos_x(), and get_pos_y().

DistanceMap PrintHmsc::m_reference_height
private

Definition at line 1910 of file exportTex.cpp.

Referenced by print_configuration_header(), and PrintHmsc().

DistanceMap PrintHmsc::m_reference_width
private

Definition at line 1911 of file exportTex.cpp.

Referenced by print_configuration_header(), and PrintHmsc().

DistanceMap PrintHmsc::m_start_symbol_width
private

Definition at line 1917 of file exportTex.cpp.

Referenced by PrintHmsc().

std::ostream PrintHmsc::m_stream
private
DistanceMap PrintHmsc::m_time_interval_width
private
MscPoint PrintHmsc::m_urCorner
private

Definition at line 1908 of file exportTex.cpp.

Referenced by find_size().

Coordinate PrintHmsc::m_width
private

Definition at line 1904 of file exportTex.cpp.

Referenced by find_size(), and print().

PtrIDMap<HMscNodePtr> PrintHmsc::node_id_map
private

Definition at line 1920 of file exportTex.cpp.

Referenced by find_size(), print(), print_time_relations1(), and print_time_relations2().


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

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