Container class for the output zones.
More...
#include <ans_vec.hh>
|
Container | vec |
| The actual container of the zones.
|
|
template<class Container>
class AnsContainer< Container >
Container class for the output zones.
- Note
- This class just defines the interface of the container. The actual definition must be done in the class Container passed by template argument. An example is PrintContainer.
-
This class does not require to contain the zones but just have the interface to push_back.
◆ push_back()
template<class Container >
void AnsContainer< Container >::push_back |
( |
typename Container::value_type |
in | ) |
|
|
inline |
Append a zone to the container.
- Parameters
-
[in] | in | A zone to be appended. |
◆ reserve()
template<class Container >
Reserve the space to contain zones.
- Note
- If the container does not need to reserve its space, this function does nothing.
- Parameters
-
[in] | n | The size of the reserved space of the container. |
◆ size()
template<class Container >
Returns the number of the contained zones.
- Returns
- The number of the contained zones.
The documentation for this class was generated from the following file: