OpenMS
ExposedVector.h File Reference
#include <cstddef>
#include <vector>
Include dependency graph for ExposedVector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ExposedVector< VectorElement >
 Makes a vector<VectorElement> available in the derived class and exposed commonly used vector member functions at class level. More...
 

Namespaces

 OpenMS
 Main OpenMS namespace.
 

Macros

#define EXPOSED_VECTOR_INTERFACE(InnerElement)
 Macro to expose common dependent types, such as iterator in the derived class. More...
 

Macro Definition Documentation

◆ EXPOSED_VECTOR_INTERFACE

#define EXPOSED_VECTOR_INTERFACE (   InnerElement)
Value:
using ExpVec = ExposedVector< InnerElement >; \
using ExpVec::ExposedVector; \
using value_type = typename ExpVec::value_type; \
using iterator = typename ExpVec::iterator; \
using const_iterator = typename ExpVec::const_iterator; \
using reverse_iterator = typename ExpVec::reverse_iterator; \
using const_reverse_iterator = typename ExpVec::const_reverse_iterator; \
using size_type = typename ExpVec::size_type; \
using pointer = typename ExpVec::pointer; \
using reference = typename ExpVec::reference; \
using const_reference = typename ExpVec::const_reference; \
using difference_type = typename ExpVec::difference_type; \

Macro to expose common dependent types, such as iterator in the derived class.