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
InstanceIdMarker Class Reference

#include <utils.h>

Inheritance diagram for InstanceIdMarker:
Inheritance graph
Collaboration diagram for InstanceIdMarker:
Collaboration graph

Public Member Functions

 InstanceIdMarker (const std::string &instance_id_attribute="instance_id")
virtual void on_white_node_found (ReferenceNode *node)
size_t get_instance_id (Instance *i)
void cleanup_attributes ()
size_t get_count ()
- Public Member Functions inherited from WhiteRefNodeFoundListener
virtual ~WhiteRefNodeFoundListener ()
virtual void on_white_node_found (HMscNode *n)
- Public Member Functions inherited from WhiteNodeFoundListener
virtual ~WhiteNodeFoundListener ()

Private Member Functions

void set_instance_id (Instance *i)

Private Attributes

std::string m_instance_id_attribute
StringSizeTMap m_identifiers
std::list< Instance * > m_modified_instances

Detailed Description

Marks Instances with apropriate identifiers

Definition at line 60 of file utils.h.

Constructor & Destructor Documentation

InstanceIdMarker::InstanceIdMarker ( const std::string instance_id_attribute = "instance_id")

Definition at line 101 of file utils.cpp.

References m_instance_id_attribute.

Member Function Documentation

void InstanceIdMarker::cleanup_attributes ( void  )

Definition at line 127 of file utils.cpp.

References m_identifiers, m_instance_id_attribute, and m_modified_instances.

Referenced by RaceChecker::cleanup_attributes().

size_t InstanceIdMarker::get_count ( )
size_t InstanceIdMarker::get_instance_id ( Instance i)
void InstanceIdMarker::on_white_node_found ( ReferenceNode node)

Implements WhiteRefNodeFoundListener.

Definition at line 106 of file utils.cpp.

References ReferenceNode::get_bmsc(), and set_instance_id().

void InstanceIdMarker::set_instance_id ( Instance i)

Member Data Documentation

StringSizeTMap InstanceIdMarker::m_identifiers

Definition at line 66 of file utils.h.

Referenced by cleanup_attributes(), get_count(), and set_instance_id().

std::string InstanceIdMarker::m_instance_id_attribute

Definition at line 64 of file utils.h.

Referenced by cleanup_attributes(), get_instance_id(), InstanceIdMarker(), and set_instance_id().

std::list<Instance*> InstanceIdMarker::m_modified_instances

Definition at line 68 of file utils.h.

Referenced by cleanup_attributes(), and set_instance_id().

The documentation for this class was generated from the following files: Logo
Generated on Fri Jan 15 2016 16:26:58 for Sequence Chart Studio by  doxygen