# Gecode::Advisors< A > Class Template Reference

[Programming actors]

Class to iterate over advisors of a council. More...

`#include <core.hpp>`

## Public Member Functions | |

Advisors (const Council< A > &c) | |

Initialize. | |

bool | operator() (void) const |

Test whether there advisors left. | |

void | operator++ (void) |

Move iterator to next advisor. | |

A & | advisor (void) const |

Return advisor. |

## Detailed Description

### template<class A>

class Gecode::Advisors< A >

Class to iterate over advisors of a council.

Definition at line 1266 of file core.hpp.

## Constructor & Destructor Documentation

template<class A >

Gecode::Advisors< A >::Advisors | ( | const Council< A > & | c |
) | ` [inline]` |

## Member Function Documentation

template<class A >

bool Gecode::Advisors< A >::operator() | ( | void | ) | const` [inline]` |

template<class A >

void Gecode::Advisors< A >::operator++ | ( | void | ) | ` [inline]` |

template<class A >

A & Gecode::Advisors< A >::advisor | ( | void | ) | const` [inline]` |

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

- gecode/kernel/core.hpp