\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.11.2 - Geometric Object Generators
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CombinationElement Concept Reference

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
Combination_enumerator<CombinationElement>

Creation

 CombinationElement (const CombinationElement &e2)
 Copy constructor.
 

Types

typedef unspecified_type value_type
 the type of point being generated.
 

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. More...
 
int operator- (const CombinationElement &e2)
 Equivalent to calling ++(*this) i times if i is positive. More...
 

Member Function Documentation

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.

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.