![]() |
Home | Libraries | People | FAQ | More |
boost::asn1::pdu_base_t —
struct pdu_base_t : public boost::asn1::asn_base_type_t, public boost::asn1::pdu_abstract_t { // construct/copy/destruct pdu_base_t(); pdu_base_t(const pdu_base_t &); pdu_base_t& operator=(const pdu_base_t &); ~pdu_base_t(); // public member functions void assign(const pdu_base_t &) ; };
The pdu_base_t structure is an interface definition for
templates that require encapsulation of a C++ structure for transmission. This interface is used for population to and from a asn_base_ptr object that is either sent or received.
Every C++ structure that is placed inside a PDU Base template must support the below the following two functions:
void from(asn_base_t* ptr); void to(asn_base_ptr& ptr);
These functions are used by the C++ structure to get or set the values to the ASN1 objects in the PDU transmission packet.
These template types are used in conjuction with the asn_encode and asn_decode templates.
sequence, sequence_unnamed, sequence_of
pdu_base_t construct/copy/destructpdu_base_t();
pdu_base_t(const pdu_base_t & pdu_object);
pdu_base_t& operator=(const pdu_base_t & pdu_object);
~pdu_base_t();
| Copyright © 2007 Andreas Haberstroh |