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 | 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 |
Definition at line 216 of file asn1c_wrapper.hpp.
|
inherited |
Definition at line 47 of file asn1c_wrapper.hpp.
| using vanetza::asn1::asn1c_oer_wrapper< T >::base = asn1c_wrapper_common<T> |
Definition at line 219 of file asn1c_wrapper.hpp.
|
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.
|
inline |
Definition at line 242 of file asn1c_wrapper.hpp.
|
inline |
Try to decode ASN.1 struct from byte buffer
| buffer | input data |
Definition at line 237 of file asn1c_wrapper.hpp.
|
inline |
Definition at line 247 of file asn1c_wrapper.hpp.
|
inline |
Encode ASN.1 struct into byte buffer
Definition at line 226 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.
|
inline |
Get size of encoded ASN.1 struct
Definition at line 256 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.