|
dune-common 2.10
|
Loading...
Searching...
No Matches
Dune::InterfaceInformation Class Reference
Information describing an interface. More...
#include <dune/common/parallel/interface.hh>
Public Member Functions | |
| size_t | size () const |
| Get the number of entries in the interface. | |
| std::size_t & | operator[] (size_t i) |
| Get the local index for an entry. | |
| std::size_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 (std::size_t index) |
| Add a new index to the interface. | |
| InterfaceInformation () | |
| virtual | ~InterfaceInformation () |
| bool | operator!= (const InterfaceInformation &o) const |
| bool | operator== (const InterfaceInformation &o) const |
Detailed Description
Information describing an interface.
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.
Constructor & Destructor Documentation
◆ InterfaceInformation()
|
inline |
◆ ~InterfaceInformation()
|
inlinevirtual |
Member Function Documentation
◆ add()
|
inline |
Add a new index to the interface.
◆ free()
|
inline |
brief Frees allocated memory.
◆ operator!=()
|
inline |
◆ operator==()
|
inline |
◆ operator[]() [1/2]
|
inline |
Get the local index for an entry.
- Parameters
-
i The index of the entry.
◆ operator[]() [2/2]
|
inline |
Get the local index for an entry.
- Parameters
-
i The index of the entry.
◆ reserve()
|
inline |
Reserve space for a number of entries.
- Parameters
-
size The maximum number of entries to hold.
◆ size()
|
inline |
Get the number of entries in the interface.
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8