Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

EtherFrameWithSNAP Class Reference

#include <EtherFrame_m.h>

Inheritance diagram for EtherFrameWithSNAP:

EtherFrame List of all members.

Public Methods

 EtherFrameWithSNAP (const char *name=NULL, int kind=0)
 EtherFrameWithSNAP (const EtherFrameWithSNAP &other)
virtual ~EtherFrameWithSNAP ()
EtherFrameWithSNAP & operator= (const EtherFrameWithSNAP &other)
virtual cObject * dup () const
virtual long getOrgCode () const
virtual void setOrgCode (long orgCode_var)
virtual int getLocalcode () const
virtual void setLocalcode (int localcode_var)

Protected Attributes

long orgCode_var
int localcode_var

Constructor & Destructor Documentation

EtherFrameWithSNAP::EtherFrameWithSNAP const char *    name = NULL,
int    kind = 0
 

Definition at line 589 of file EtherFrame_m.cc.

References localcode_var, and orgCode_var.

Referenced by dup().

00589                                                                  : EtherFrame(name,kind)
00590 {
00591     unsigned int i;
00592     this->orgCode_var = 0;
00593     this->localcode_var = 0;
00594 }

EtherFrameWithSNAP::EtherFrameWithSNAP const EtherFrameWithSNAP &    other
 

Definition at line 596 of file EtherFrame_m.cc.

References operator=().

00596                                                                       : EtherFrame()
00597 {
00598     unsigned int i;
00599     setName(other.name());
00600     operator=(other);
00601 }

EtherFrameWithSNAP::~EtherFrameWithSNAP   [virtual]
 

Definition at line 603 of file EtherFrame_m.cc.

00604 {
00605     unsigned int i;
00606 }


Member Function Documentation

virtual cObject* EtherFrameWithSNAP::dup   const [inline, virtual]
 

Reimplemented from EtherFrame.

Definition at line 85 of file EtherFrame_m.h.

References EtherFrameWithSNAP().

00085 {return new EtherFrameWithSNAP(*this);}

int EtherFrameWithSNAP::getLocalcode   const [virtual]
 

Definition at line 628 of file EtherFrame_m.cc.

References localcode_var.

Referenced by EtherFrameWithSNAPDescriptor::getFieldAsString().

00629 {
00630     return localcode_var;
00631 }

long EtherFrameWithSNAP::getOrgCode   const [virtual]
 

Definition at line 618 of file EtherFrame_m.cc.

References orgCode_var.

Referenced by EtherFrameWithSNAPDescriptor::getFieldAsString().

00619 {
00620     return orgCode_var;
00621 }

EtherFrameWithSNAP & EtherFrameWithSNAP::operator= const EtherFrameWithSNAP &    other
 

Definition at line 608 of file EtherFrame_m.cc.

References localcode_var, EtherFrame::operator=(), and orgCode_var.

Referenced by EtherFrameWithSNAP().

00609 {
00610     if (this==&other) return *this;
00611     unsigned int i;
00612     EtherFrame::operator=(other);
00613     this->orgCode_var = other.orgCode_var;
00614     this->localcode_var = other.localcode_var;
00615     return *this;
00616 }

void EtherFrameWithSNAP::setLocalcode int    localcode_var [virtual]
 

Definition at line 633 of file EtherFrame_m.cc.

References localcode_var.

Referenced by EtherFrameWithSNAPDescriptor::setFieldAsString().

00634 {
00635     this->localcode_var = localcode_var;
00636 }

void EtherFrameWithSNAP::setOrgCode long    orgCode_var [virtual]
 

Definition at line 623 of file EtherFrame_m.cc.

References orgCode_var.

Referenced by EtherFrameWithSNAPDescriptor::setFieldAsString().

00624 {
00625     this->orgCode_var = orgCode_var;
00626 }


Member Data Documentation

int EtherFrameWithSNAP::localcode_var [protected]
 

Definition at line 79 of file EtherFrame_m.h.

Referenced by EtherFrameWithSNAP(), getLocalcode(), operator=(), and setLocalcode().

long EtherFrameWithSNAP::orgCode_var [protected]
 

Definition at line 78 of file EtherFrame_m.h.

Referenced by EtherFrameWithSNAP(), getOrgCode(), operator=(), and setOrgCode().


The documentation for this class was generated from the following files:
Generated on Sat May 15 20:30:47 2004 for Ethernet by doxygen1.2.17