h o m e d o c u m e n t a t i o n c l a s s h i e r a r c h y

ShapeUP1D Class Reference

#include <Predicates1D.h>

Inheritance diagram for ShapeUP1D:

UnaryPredicate1D List of all members.

Detailed Description

Returns true if the shape to which the Interface1D belongs to has the same Id as the one specified by the user.


Public Member Functions

 ShapeUP1D (unsigned idFirst, unsigned idSecond=0)
string getName () const
bool operator() (Interface1D &inter)

Constructor & Destructor Documentation

ShapeUP1D unsigned  idFirst,
unsigned  idSecond = 0
[inline]
 

Builds the Predicate.

Parameters:
idFirst The first Id component.
idSecond The second Id component.

Member Function Documentation

string getName  )  const [inline, virtual]
 

Returns the string "ShapeUP1D"

Reimplemented from UnaryPredicate1D.

bool operator() Interface1D inter  )  [inline, virtual]
 

The () operator.

Reimplemented from UnaryPredicate1D.


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