libmonaa  0.5.2
Public Types | Public Member Functions | List of all members
PrintContainer Class Reference

A pseudo-container class to print the given zone to stdout. This is given to AnsContainer. More...

#include <ans_vec.hh>

Public Types

using value_type = Zone
 

Public Member Functions

 PrintContainer (bool isQuiet)
 Constructor. More...
 
std::size_t size () const
 Returns the count of output zones.
 
void push_back (const Zone &ans)
 
void clear ()
 Resets the count of output zones.
 
void reserve (std::size_t)
 Does nothing.
 

Detailed Description

A pseudo-container class to print the given zone to stdout. This is given to AnsContainer.

Note
This class does not contain any zones, but just print to stdout and counts the number.

Constructor & Destructor Documentation

◆ PrintContainer()

PrintContainer::PrintContainer ( bool  isQuiet)
inline

Constructor.

Parameters
[in]isQuietIf isQuiet is true, this class does not print anything.

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