|
| 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 |
Definition at line 29 of file denm.hpp.
◆ asn1c_type
◆ base
◆ wrapper
◆ Denm()
| vanetza::asn1::r2::Denm::Denm |
( |
| ) |
|
|
inline |
◆ compare()
Compare ASN.1 types
- Parameters
-
| other | Other ASN.1 type to compare with |
- Returns
- 0 if equal, <0 if other is "greater", >0 if other is "smaller"
Definition at line 119 of file asn1c_wrapper.hpp.
◆ content() [1/2]
◆ content() [2/2]
◆ decode() [1/3]
◆ decode() [2/3]
Try to decode ASN.1 struct from byte buffer
- Parameters
-
- Returns
- true if decoding has been successful
Definition at line 186 of file asn1c_wrapper.hpp.
◆ decode() [3/3]
◆ encode()
Encode ASN.1 struct into byte buffer
- Returns
- byte buffer containing serialized ASN.1 struct
Definition at line 176 of file asn1c_wrapper.hpp.
◆ operator!=()
◆ operator*() [1/2]
◆ operator*() [2/2]
◆ operator->() [1/2]
◆ operator->() [2/2]
◆ operator==()
◆ print() [1/2]
Print ASN.1 type to standard output
- Returns
- 0 on success, -1 on error
Definition at line 128 of file asn1c_wrapper.hpp.
◆ print() [2/2]
Print ASN.1 type to some file stream
- Parameters
-
- Returns
- 0 on success, -1 on error
Definition at line 138 of file asn1c_wrapper.hpp.
◆ size()
Get size of encoded ASN.1 struct
- Returns
- size in bytes
Definition at line 205 of file asn1c_wrapper.hpp.
◆ swap()
◆ validate() [1/2]
Check ASN.1 constraints
- Parameters
-
| error | (optional) copy of error message |
- Returns
- true if valid
Definition at line 99 of file asn1c_wrapper.hpp.
◆ validate() [2/2]
Check ASN.1 constraints
- Parameters
-
| error | Error message if any constraint failed |
- Returns
- true if valid
Definition at line 109 of file asn1c_wrapper.hpp.
◆ m_struct
◆ m_type
The documentation for this class was generated from the following file: