CGAL 6.1 - Geometric Object Generators
Loading...
Searching...
No Matches
CombinationElement Class Reference

#include <Concepts/CombinationElement.h>

Definition

A CombinationElement can be used as template parameter for the class Combination_enumerator<CombinationElement>.

Has models
Any integer type (char, short, int, long, etc.)
Pointers
Random access iterators
See also
CGAL::Combination_enumerator<CombinationElement>

Types

typedef unspecified_type value_type
 the type of point being generated.
 

Creation

 CombinationElement (const CombinationElement &e2)
 Copy constructor.
 

Operations

void operator++ ()
 Incrementation.
 
void operator-- ()
 Decrementation.
 
bool operator< (const CombinationElement &e2)
 Total order comparison.
 
bool operator== (const CombinationElement &e2)
 Equality test.
 
CombinationElement operator+ (int i)
 Equivalent to calling ++(*this) i times if i is positive.
 
int operator- (const CombinationElement &e2)
 Equivalent to calling ++(*this) i times if i is positive.
 

Member Typedef Documentation

◆ value_type

typedef unspecified_type CombinationElement::value_type

the type of point being generated.

Constructor & Destructor Documentation

◆ CombinationElement()

CombinationElement::CombinationElement ( const CombinationElement e2)

Copy constructor.

Member Function Documentation

◆ operator+()

CombinationElement CombinationElement::operator+ ( int  i)

Equivalent to calling ++(*this) i times if i is positive.

Equivalent to calling --(*this) -i times if i is negative.

◆ operator++()

void CombinationElement::operator++ ( )

Incrementation.

◆ operator-()

int CombinationElement::operator- ( const CombinationElement e2)

Equivalent to calling ++(*this) i times if i is positive.

Equivalent to calling –(*this) -i times if i is negative.

◆ operator--()

void CombinationElement::operator-- ( )

Decrementation.

◆ operator<()

bool CombinationElement::operator< ( const CombinationElement e2)

Total order comparison.

◆ operator==()

bool CombinationElement::operator== ( const CombinationElement e2)

Equality test.