#include <interface.hh>
This class is used for temporary gathering information about the interface needed for actually building it. It is used be class Interface as functor for InterfaceBuilder::build.
Public Member Functions | |
size_t | size () const |
Get the number of entries in the interface. | |
uint32_t & | operator[] (size_t i) |
Get the local index for an entry. | |
uint32_t | operator[] (size_t i) const |
Get the local index for an entry. | |
void | reserve (size_t size) |
Reserve space for a number of entries. | |
void | free () |
void | add (uint32_t index) |
Add a new index to the interface. |
uint32_t& Dune::InterfaceInformation::operator[] | ( | size_t | i | ) | [inline] |
Get the local index for an entry.
i | The index of the entry. |
uint32_t Dune::InterfaceInformation::operator[] | ( | size_t | i | ) | const [inline] |
Get the local index for an entry.
i | The index of the entry. |
void Dune::InterfaceInformation::reserve | ( | size_t | size | ) | [inline] |
Reserve space for a number of entries.
size | The maximum number of entries to hold. |
void Dune::InterfaceInformation::free | ( | ) | [inline] |
brief Frees allocated memory.