#include <framexmittypes.hh>
Public Member Functions | |
| auto_pkt_ptr (packet *p=0) | |
| Constructor. | |
| auto_pkt_ptr (const auto_pkt_ptr &a) | |
| Assignment operator. | |
| auto_pkt_ptr & | operator= (const auto_pkt_ptr &a) |
| Assignment operator. | |
| ~auto_pkt_ptr () | |
| packet & | operator * () const |
| packet * | operator-> () const |
| packet * | get () const |
| packet * | release () const |
| bool | operator== (const auto_pkt_ptr &a) const |
| bool | operator< (const auto_pkt_ptr &a) const |
| framexmit::auto_pkt_ptr::auto_pkt_ptr | ( | packet * | p = 0 |
) | [inline, explicit] |
Constructor.
Construct a new autopointer and assign it to the specified packet address. The auto-pointer takes ownership if the pointer is valid.
| framexmit::auto_pkt_ptr::auto_pkt_ptr | ( | const auto_pkt_ptr & | a | ) | [inline] |
Assignment operator.
Construct a new autopointer and assign the argument pointer to this. The ownership of the packet is transfered from the argument auto-pointer to this auto-pointer if it was owned by the argument.
| framexmit::auto_pkt_ptr::~auto_pkt_ptr | ( | ) | [inline] |
| auto_pkt_ptr& framexmit::auto_pkt_ptr::operator= | ( | const auto_pkt_ptr & | a | ) | [inline] |
| packet& framexmit::auto_pkt_ptr::operator * | ( | ) | const [inline] |
Dereference pointer
| packet* framexmit::auto_pkt_ptr::operator-> | ( | ) | const [inline] |
Dereference pointer.
| packet* framexmit::auto_pkt_ptr::get | ( | ) | const [inline] |
Get the pointer value.
| bool framexmit::auto_pkt_ptr::operator== | ( | const auto_pkt_ptr & | a | ) | const [inline] |
Equal comparison for auto_pkt_ptr.
| bool framexmit::auto_pkt_ptr::operator< | ( | const auto_pkt_ptr & | a | ) | const [inline] |
Less-than comparison for auto_pkt_ptr.
1.5.4