libe3 0.6.1
C++ library for E3AP RAN vendor integration
Loading...
Searching...
No Matches
libe3::e2sm_dapp::enumerated< EnumType, Ext > Class Template Reference

Mirrors OCUDU's enumerated<Opts, Ext>: derives from the options struct and converts to its enum. More...

#include <e2sm_dapp.hpp>

Inheritance diagram for libe3::e2sm_dapp::enumerated< EnumType, Ext >:

Public Member Functions

 enumerated ()
 Holds nulltype, no alternative.
 enumerated (typename EnumType::options v)
 operator typename EnumType::options () const

Static Public Attributes

static const bool has_ext = Ext
 true when the ASN.1 enumeration is extensible

Detailed Description

template<class EnumType, bool Ext = false>
class libe3::e2sm_dapp::enumerated< EnumType, Ext >

Mirrors OCUDU's enumerated<Opts, Ext>: derives from the options struct and converts to its enum.

Definition at line 62 of file e2sm_dapp.hpp.

Constructor & Destructor Documentation

◆ enumerated() [1/2]

template<class EnumType, bool Ext = false>
libe3::e2sm_dapp::enumerated< EnumType, Ext >::enumerated ( )
inline

Holds nulltype, no alternative.

Definition at line 68 of file e2sm_dapp.hpp.

◆ enumerated() [2/2]

template<class EnumType, bool Ext = false>
libe3::e2sm_dapp::enumerated< EnumType, Ext >::enumerated ( typename EnumType::options v)
inline
Parameters
vvalue to hold

Definition at line 70 of file e2sm_dapp.hpp.

Member Function Documentation

◆ operator typename EnumType::options()

template<class EnumType, bool Ext = false>
libe3::e2sm_dapp::enumerated< EnumType, Ext >::operator typename EnumType::options ( ) const
inline
Returns
the held value

Definition at line 72 of file e2sm_dapp.hpp.

Member Data Documentation

◆ has_ext

template<class EnumType, bool Ext = false>
const bool libe3::e2sm_dapp::enumerated< EnumType, Ext >::has_ext = Ext
static

true when the ASN.1 enumeration is extensible

Definition at line 65 of file e2sm_dapp.hpp.


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