libe3 0.6.1
C++ library for E3AP RAN vendor integration
Loading...
Searching...
No Matches
libe3::e2sm_dapp::e2sm_dapp_action_definition_s Struct Reference

Action definition of a subscription, which selects the report style (ASN.1 E2SM-DAPP-ActionDefinition ::= SEQUENCE (top-level)). More...

#include <e2sm_dapp.hpp>

Classes

struct  action_definition_formats_c_
 Formats of the action definition. More...

Public Member Functions

asn_code pack (std::vector< uint8_t > &out) const
asn_code unpack (const uint8_t *data, size_t len)
bool operator== (const e2sm_dapp_action_definition_s &o) const

Public Attributes

bool ext = false
 ASN.1 extension marker; ignored by pack, false after unpack.
int64_t ric_style_type = 0
 Report style the subscription selects (1 or 2); it selects the indication formats.
action_definition_formats_c_ action_definition_formats
 Format of the element, a CHOICE with one alternative per format.

Detailed Description

Action definition of a subscription, which selects the report style (ASN.1 E2SM-DAPP-ActionDefinition ::= SEQUENCE (top-level)).

Definition at line 255 of file e2sm_dapp.hpp.

Member Function Documentation

◆ operator==()

bool libe3::e2sm_dapp::e2sm_dapp_action_definition_s::operator== ( const e2sm_dapp_action_definition_s & o) const
inline
Parameters
ovalue to compare with
Returns
true when every field is equal

Definition at line 307 of file e2sm_dapp.hpp.

◆ pack()

asn_code libe3::e2sm_dapp::e2sm_dapp_action_definition_s::pack ( std::vector< uint8_t > & out) const

Encode as APER.

Parameters
outreceives the bytes, left empty on failure
Returns
ASN_SUCCESS, or ASN_ERROR_ENCODE_FAIL when a value is outside its constraint

Definition at line 874 of file e2sm_dapp.cpp.

◆ unpack()

asn_code libe3::e2sm_dapp::e2sm_dapp_action_definition_s::unpack ( const uint8_t * data,
size_t len )

Decode APER bytes.

Parameters
databytes to decode
lennumber of bytes
Returns
ASN_SUCCESS, or ASN_ERROR_DECODE_FAIL when the bytes are not a valid encoding

Definition at line 889 of file e2sm_dapp.cpp.

Member Data Documentation

◆ action_definition_formats

action_definition_formats_c_ libe3::e2sm_dapp::e2sm_dapp_action_definition_s::action_definition_formats

Format of the element, a CHOICE with one alternative per format.

Definition at line 294 of file e2sm_dapp.hpp.

◆ ext

bool libe3::e2sm_dapp::e2sm_dapp_action_definition_s::ext = false

ASN.1 extension marker; ignored by pack, false after unpack.

Definition at line 292 of file e2sm_dapp.hpp.

◆ ric_style_type

int64_t libe3::e2sm_dapp::e2sm_dapp_action_definition_s::ric_style_type = 0

Report style the subscription selects (1 or 2); it selects the indication formats.

Definition at line 293 of file e2sm_dapp.hpp.


The documentation for this struct was generated from the following files: