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

#include <diff_impl.h>

Collaboration diagram for Difference:
Collaboration graph

Public Member Functions

 Difference ()
 
void setPrevious (DifferencePtr diff)
 
DifferencePtr getPrevious ()
 
void setOperation (enum Operation operation)
 
enum Operation getOperation ()
 
void setAttribute (int i)
 
int getAttribute ()
 
void setLine1 (int row)
 
int getLine1 ()
 
void setLine2 (int col)
 
int getLine2 ()
 
void setLocation (MessageEventPtr e)
 
MessageEventPtr getLocation ()
 
void setMessage (MscMessagePtr m, bool send)
 
MscMessagePtr getMessage ()
 
enum Direction getDirection ()
 

Private Attributes

DifferencePtr previous
 
MessageEventPtr location
 
MessageEventPtr original_location
 
MscMessagePtr message
 in case operation is REMOVE More...
 
enum Direction dir
 
enum Operation op
 
int attribute
 
int line1
 ATTRIBUTE part, INSERT operation: attribute of matching event of missing event. More...
 
int line2
 
size_t m_counter
 Number of references to this object. More...
 

Friends

void intrusive_ptr_add_ref (const Difference *ptr)
 
void intrusive_ptr_release (const Difference *ptr)
 

Detailed Description

Definition at line 114 of file diff_impl.h.

Constructor & Destructor Documentation

Difference::Difference ( )
inline

Definition at line 146 of file diff_impl.h.

References m_counter, and previous.

Member Function Documentation

int Difference::getAttribute ( )
inline

Definition at line 177 of file diff_impl.h.

References attribute.

enum Direction Difference::getDirection ( )
inline

Definition at line 233 of file diff_impl.h.

References dir.

int Difference::getLine1 ( )
inline

Definition at line 187 of file diff_impl.h.

References line1.

int Difference::getLine2 ( )
inline

Definition at line 197 of file diff_impl.h.

References line2.

MessageEventPtr Difference::getLocation ( )
inline

Definition at line 207 of file diff_impl.h.

References location.

MscMessagePtr Difference::getMessage ( )
inline

Definition at line 228 of file diff_impl.h.

References message.

enum Operation Difference::getOperation ( )
inline

Definition at line 167 of file diff_impl.h.

References op.

DifferencePtr Difference::getPrevious ( )
inline

Definition at line 157 of file diff_impl.h.

References previous.

void Difference::setAttribute ( int  i)
inline

Definition at line 172 of file diff_impl.h.

References attribute.

void Difference::setLine1 ( int  row)
inline

Definition at line 182 of file diff_impl.h.

References line1.

void Difference::setLine2 ( int  col)
inline

Definition at line 192 of file diff_impl.h.

References line2.

void Difference::setLocation ( MessageEventPtr  e)
inline

Definition at line 202 of file diff_impl.h.

References location.

void Difference::setMessage ( MscMessagePtr  m,
bool  send 
)
inline

parameter m - message connected with the event (REMOVE - message of deleted event) (ADD - message which is supposed to add) send - bool whether the event is supposed to be send.

Definition at line 218 of file diff_impl.h.

References dir, message, RECEIVE, and SEND.

void Difference::setOperation ( enum Operation  operation)
inline

Definition at line 162 of file diff_impl.h.

References op.

void Difference::setPrevious ( DifferencePtr  diff)
inline

Definition at line 152 of file diff_impl.h.

References diff(), and previous.

Friends And Related Function Documentation

void intrusive_ptr_add_ref ( const Difference ptr)
friend

Definition at line 239 of file diff_impl.h.

void intrusive_ptr_release ( const Difference ptr)
friend

Definition at line 245 of file diff_impl.h.

Member Data Documentation

int Difference::attribute
private

Definition at line 134 of file diff_impl.h.

Referenced by getAttribute(), and setAttribute().

enum Direction Difference::dir
private

Definition at line 132 of file diff_impl.h.

Referenced by getDirection(), and setMessage().

int Difference::line1
private

ATTRIBUTE part, INSERT operation: attribute of matching event of missing event.

Definition at line 135 of file diff_impl.h.

Referenced by getLine1(), and setLine1().

int Difference::line2
private

Definition at line 136 of file diff_impl.h.

Referenced by getLine2(), and setLine2().

MessageEventPtr Difference::location
private

in case operation is REMOVE: store event which is supposed to be removed ADD: it is the last predecessor of the event which is supposed to be added

Definition at line 123 of file diff_impl.h.

Referenced by getLocation(), and setLocation().

size_t Difference::m_counter
mutableprivate

Number of references to this object.

Definition at line 139 of file diff_impl.h.

Referenced by Difference(), intrusive_ptr_add_ref(), and intrusive_ptr_release().

MscMessagePtr Difference::message
private

in case operation is REMOVE

Definition at line 131 of file diff_impl.h.

Referenced by getMessage(), and setMessage().

enum Operation Difference::op
private

Definition at line 133 of file diff_impl.h.

Referenced by getOperation(), and setOperation().

MessageEventPtr Difference::original_location
private

in case operation is REMOVE: event in the specification which coresponds with the last event in the flow which is supposed to be removed. ADD: event is not set

Definition at line 130 of file diff_impl.h.

DifferencePtr Difference::previous
private

Definition at line 117 of file diff_impl.h.

Referenced by Difference(), getPrevious(), and setPrevious().


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

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