Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct pdu_base_t

boost::asn1::pdu_base_t —

Synopsis

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 &) ;
};

Description

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/destruct

  1. pdu_base_t();
  2. pdu_base_t(const pdu_base_t & pdu_object);
  3. pdu_base_t& operator=(const pdu_base_t & pdu_object);
  4. ~pdu_base_t();

pdu_base_t public member functions

  1. void assign(const pdu_base_t & pdu_object) ;
Copyright © 2007 Andreas Haberstroh

PrevUpHomeNext