Public Types | |
using | wrapper = asn1c_per_wrapper<CAM_t> |
using | base |
typedef CAM_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 | operator== (const asn1c_wrapper_common &rhs) const |
bool | operator!= (const asn1c_wrapper_common &rhs) const |
bool | validate () const |
bool | validate (std::string &error) const |
int | compare (const asn1c_wrapper_common &other) const |
int | print () const |
int | print (FILE *stream) const |
void | swap (asn1c_wrapper_common &other) noexcept |
Protected Attributes | |
asn1c_type * | m_struct |
asn_TYPE_descriptor_t & | m_type |
|
inherited |
Definition at line 47 of file asn1c_wrapper.hpp.
|
inherited |
Definition at line 169 of file asn1c_wrapper.hpp.
using vanetza::asn1::r1::Cam::wrapper = asn1c_per_wrapper<CAM_t> |
|
inlineinherited |
Compare ASN.1 types
other | Other ASN.1 type to compare with |
Definition at line 119 of file asn1c_wrapper.hpp.
|
inlineinherited |
Definition at line 82 of file asn1c_wrapper.hpp.
|
inlineinherited |
Definition at line 81 of file asn1c_wrapper.hpp.
|
inlineinherited |
Definition at line 191 of file asn1c_wrapper.hpp.
|
inlineinherited |
Try to decode ASN.1 struct from byte buffer
buffer | input data |
Definition at line 186 of file asn1c_wrapper.hpp.
|
inlineinherited |
Definition at line 196 of file asn1c_wrapper.hpp.
|
inlineinherited |
Encode ASN.1 struct into byte buffer
Definition at line 176 of file asn1c_wrapper.hpp.
|
inlineinherited |
Definition at line 89 of file asn1c_wrapper.hpp.
|
inlineinherited |
Definition at line 75 of file asn1c_wrapper.hpp.
|
inlineinherited |
Definition at line 77 of file asn1c_wrapper.hpp.
|
inlineinherited |
Definition at line 76 of file asn1c_wrapper.hpp.
|
inlineinherited |
Definition at line 78 of file asn1c_wrapper.hpp.
|
inlineinherited |
Definition at line 85 of file asn1c_wrapper.hpp.
|
inlineinherited |
Print ASN.1 type to standard output
Definition at line 128 of file asn1c_wrapper.hpp.
|
inlineinherited |
Print ASN.1 type to some file stream
stream | Output stream |
Definition at line 138 of file asn1c_wrapper.hpp.
|
inlineinherited |
Get size of encoded ASN.1 struct
Definition at line 205 of file asn1c_wrapper.hpp.
|
inlinenoexceptinherited |
Swap ASN.1 wrapper content
other | wrapper |
Definition at line 147 of file asn1c_wrapper.hpp.
|
inlineinherited |
Check ASN.1 constraints
error | (optional) copy of error message |
Definition at line 99 of file asn1c_wrapper.hpp.
|
inlineinherited |
Check ASN.1 constraints
error | Error message if any constraint failed |
Definition at line 109 of file asn1c_wrapper.hpp.
|
protectedinherited |
Definition at line 154 of file asn1c_wrapper.hpp.
|
protectedinherited |
Definition at line 155 of file asn1c_wrapper.hpp.