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

#include <shapeutils.h>

Collaboration diagram for CShapeComparator:
Collaboration graph

Public Member Functions

 CShapeComparator (TOrderingDirection direction=ORDER_ASC)
 
bool operator() (const Visio::IVShapePtr shapeOne, const Visio::IVShapePtr shapeTwo)
 

Private Attributes

TOrderingDirection direction
 

Detailed Description

Shape comparator suitable for sorting. Allows for ascending or descending order.

Definition at line 143 of file shapeutils.h.

Constructor & Destructor Documentation

CShapeComparator::CShapeComparator ( TOrderingDirection  direction = ORDER_ASC)
inline

Definition at line 147 of file shapeutils.h.

Member Function Documentation

bool CShapeComparator::operator() ( const Visio::IVShapePtr  shapeOne,
const Visio::IVShapePtr  shapeTwo 
)

Definition at line 603 of file shapeutils.cpp.

References direction, CShapeUtils::GetShapeBeginX(), and ORDER_ASC.

Member Data Documentation

TOrderingDirection CShapeComparator::direction
private

Definition at line 145 of file shapeutils.h.

Referenced by operator()().


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