#include <annotation.hpp>
|
static const google::protobuf::Struct & | get (const T &t) |
| Get the immutable annotations Struct. More...
|
|
static google::protobuf::Struct * | get_mutable (T *t) |
| Get the mutable annotations struct. More...
|
|
template<typename T, typename Enabled = typename enable_if<!is_pointer<T>::value>::type>
struct vg::Annotation< T, Enabled >
We define an adapter for things that are annotated to let us get at the annotation struct. It is only defined for the actual types (Alignment, MultipathAlignment) and not pointers to them. This keeps the API overloads that are supposed to be for references to the types from operating on references to pointers to the types instead.
◆ clear()
template<typename T , typename Enabled >
◆ get()
template<typename T , typename Enabled >
const google::protobuf::Struct & vg::Annotation< T, Enabled >::get |
( |
const T & |
t | ) |
|
|
static |
Get the immutable annotations Struct.
◆ get_mutable()
template<typename T , typename Enabled >
google::protobuf::Struct * vg::Annotation< T, Enabled >::get_mutable |
( |
T * |
t | ) |
|
|
static |
Get the mutable annotations struct.
The documentation for this struct was generated from the following file: