Public Types | |
using | base = asn1c_wrapper_common< T > |
typedef T | asn1c_type |
Public Member Functions | |
ByteBuffer | encode () const |
bool | decode (const ByteBuffer &buffer) |
bool | decode (ByteBuffer::const_iterator begin, ByteBuffer::const_iterator end) |
bool | decode (const void *buffer, std::size_t len) |
std::size_t | size () const |
asn1c_type & | operator* () |
const asn1c_type & | operator* () const |
asn1c_type * | operator-> () |
const asn1c_type * | operator-> () const |
const asn1c_type * | content () const |
asn1c_type * | content () |
bool | validate () const |
bool | validate (std::string &error) const |
void | swap (asn1c_wrapper_common &other) noexcept |
Protected Attributes | |
asn1c_type * | m_struct |
asn_TYPE_descriptor_t & | m_type |
Definition at line 119 of file asn1c_wrapper.hpp.
|
inherited |
Definition at line 41 of file asn1c_wrapper.hpp.
using vanetza::asn1::asn1c_per_wrapper< T >::base = asn1c_wrapper_common<T> |
Definition at line 122 of file asn1c_wrapper.hpp.
|
inlineinherited |
Definition at line 74 of file asn1c_wrapper.hpp.
|
inlineinherited |
Definition at line 73 of file asn1c_wrapper.hpp.
|
inline |
Definition at line 144 of file asn1c_wrapper.hpp.
|
inline |
Try to decode ASN.1 struct from byte buffer
buffer | input data |
Definition at line 139 of file asn1c_wrapper.hpp.
|
inline |
Definition at line 149 of file asn1c_wrapper.hpp.
|
inline |
Encode ASN.1 struct into byte buffer
Definition at line 129 of file asn1c_wrapper.hpp.
|
inlineinherited |
Definition at line 67 of file asn1c_wrapper.hpp.
|
inlineinherited |
Definition at line 69 of file asn1c_wrapper.hpp.
|
inlineinherited |
Definition at line 68 of file asn1c_wrapper.hpp.
|
inlineinherited |
Definition at line 70 of file asn1c_wrapper.hpp.
|
inline |
Get size of encoded ASN.1 struct
Definition at line 158 of file asn1c_wrapper.hpp.
|
inlinenoexceptinherited |
Swap ASN.1 wrapper content
other | wrapper |
Definition at line 100 of file asn1c_wrapper.hpp.
|
inlineinherited |
Check ASN.1 constraints
error | (optional) copy of error message |
Definition at line 81 of file asn1c_wrapper.hpp.
|
inlineinherited |
Check ASN.1 constraints
error | Error message if any constraint failed |
Definition at line 91 of file asn1c_wrapper.hpp.
|
protectedinherited |
Definition at line 107 of file asn1c_wrapper.hpp.
|
protectedinherited |
Definition at line 108 of file asn1c_wrapper.hpp.