Inheritance diagram for EtherFrameWithLLCDescriptor:

Public Methods | |
| EtherFrameWithLLCDescriptor (void *p=NULL) | |
| virtual | ~EtherFrameWithLLCDescriptor () |
| EtherFrameWithLLCDescriptor & | operator= (const EtherFrameWithLLCDescriptor &other) |
| virtual cObject * | dup () const |
| virtual int | getFieldCount () |
| virtual const char * | getFieldName (int field) |
| virtual int | getFieldType (int field) |
| virtual const char * | getFieldTypeString (int field) |
| virtual const char * | getFieldEnumName (int field) |
| virtual int | getArraySize (int field) |
| virtual bool | getFieldAsString (int field, int i, char *resultbuf, int bufsize) |
| virtual bool | setFieldAsString (int field, int i, const char *value) |
| virtual const char * | getFieldStructName (int field) |
| virtual void * | getFieldStructPointer (int field, int i) |
| virtual sFieldWrapper * | getFieldWrapper (int field, int i) |
|
|
Definition at line 460 of file EtherFrame_m.cc. Referenced by dup().
00460 : EtherFrameDescriptor(p) 00461 { 00462 } |
|
|
Definition at line 464 of file EtherFrame_m.cc.
00465 {
00466 }
|
|
|
Reimplemented from EtherFrameDescriptor. Definition at line 441 of file EtherFrame_m.cc. References EtherFrameWithLLCDescriptor().
00441 {return new EtherFrameWithLLCDescriptor(*this);}
|
|
|
Reimplemented from EtherFrameDescriptor. Definition at line 522 of file EtherFrame_m.cc. References EtherFrameDescriptor::getArraySize(), and EtherFrameDescriptor::getFieldCount().
00523 {
00524 if (field < EtherFrameDescriptor::getFieldCount())
00525 return EtherFrameDescriptor::getArraySize(field);
00526 field -= EtherFrameDescriptor::getFieldCount();
00527 EtherFrameWithLLC *pp = (EtherFrameWithLLC *)p;
00528 switch (field) {
00529 default: return 0;
00530 }
00531 }
|
|
||||||||||||||||||||
|
Reimplemented from EtherFrameDescriptor. Definition at line 533 of file EtherFrame_m.cc. References EtherFrameWithLLC::getControl(), EtherFrameWithLLC::getDsap(), EtherFrameDescriptor::getFieldAsString(), EtherFrameDescriptor::getFieldCount(), and EtherFrameWithLLC::getSsap().
00534 {
00535 if (field < EtherFrameDescriptor::getFieldCount())
00536 return EtherFrameDescriptor::getFieldAsString(field,i,resultbuf,bufsize);
00537 field -= EtherFrameDescriptor::getFieldCount();
00538 EtherFrameWithLLC *pp = (EtherFrameWithLLC *)p;
00539 switch (field) {
00540 case 0: long2string(pp->getSsap(),resultbuf,bufsize); return true;
00541 case 1: long2string(pp->getDsap(),resultbuf,bufsize); return true;
00542 case 2: long2string(pp->getControl(),resultbuf,bufsize); return true;
00543 default: return false;
00544 }
00545 }
|
|
|
Reimplemented from EtherFrameDescriptor. Definition at line 468 of file EtherFrame_m.cc. References EtherFrameDescriptor::getFieldCount().
00469 {
00470 return EtherFrameDescriptor::getFieldCount() + 3;
00471 }
|
|
|
Reimplemented from EtherFrameDescriptor. Definition at line 512 of file EtherFrame_m.cc. References EtherFrameDescriptor::getFieldCount(), and EtherFrameDescriptor::getFieldEnumName().
00513 {
00514 if (field < EtherFrameDescriptor::getFieldCount())
00515 return EtherFrameDescriptor::getFieldEnumName(field);
00516 field -= EtherFrameDescriptor::getFieldCount();
00517 switch (field) {
00518 default: return NULL;
00519 }
00520 }
|
|
|
Reimplemented from EtherFrameDescriptor. Definition at line 486 of file EtherFrame_m.cc. References EtherFrameDescriptor::getFieldCount(), and EtherFrameDescriptor::getFieldName().
00487 {
00488 if (field < EtherFrameDescriptor::getFieldCount())
00489 return EtherFrameDescriptor::getFieldName(field);
00490 field -= EtherFrameDescriptor::getFieldCount();
00491 switch (field) {
00492 case 0: return "ssap";
00493 case 1: return "dsap";
00494 case 2: return "control";
00495 default: return NULL;
00496 }
00497 }
|
|
|
Reimplemented from EtherFrameDescriptor. Definition at line 561 of file EtherFrame_m.cc. References EtherFrameDescriptor::getFieldCount(), and EtherFrameDescriptor::getFieldStructName().
00562 {
00563 if (field < EtherFrameDescriptor::getFieldCount())
00564 return EtherFrameDescriptor::getFieldStructName(field);
00565 field -= EtherFrameDescriptor::getFieldCount();
00566 switch (field) {
00567 default: return NULL;
00568 }
00569 }
|
|
||||||||||||
|
Reimplemented from EtherFrameDescriptor. Definition at line 571 of file EtherFrame_m.cc. References EtherFrameDescriptor::getFieldCount(), and EtherFrameDescriptor::getFieldStructPointer().
00572 {
00573 if (field < EtherFrameDescriptor::getFieldCount())
00574 return EtherFrameDescriptor::getFieldStructPointer(field, i);
00575 field -= EtherFrameDescriptor::getFieldCount();
00576 EtherFrameWithLLC *pp = (EtherFrameWithLLC *)p;
00577 switch (field) {
00578 default: return NULL;
00579 }
00580 }
|
|
|
Reimplemented from EtherFrameDescriptor. Definition at line 473 of file EtherFrame_m.cc. References EtherFrameDescriptor::getFieldCount(), and EtherFrameDescriptor::getFieldType().
00474 {
00475 if (field < EtherFrameDescriptor::getFieldCount())
00476 return EtherFrameDescriptor::getFieldType(field);
00477 field -= EtherFrameDescriptor::getFieldCount();
00478 switch (field) {
00479 case 0: return FT_BASIC;
00480 case 1: return FT_BASIC;
00481 case 2: return FT_BASIC;
00482 default: return FT_INVALID;
00483 }
00484 }
|
|
|
Reimplemented from EtherFrameDescriptor. Definition at line 499 of file EtherFrame_m.cc. References EtherFrameDescriptor::getFieldCount(), and EtherFrameDescriptor::getFieldTypeString().
00500 {
00501 if (field < EtherFrameDescriptor::getFieldCount())
00502 return EtherFrameDescriptor::getFieldTypeString(field);
00503 field -= EtherFrameDescriptor::getFieldCount();
00504 switch (field) {
00505 case 0: return "int";
00506 case 1: return "int";
00507 case 2: return "int";
00508 default: return NULL;
00509 }
00510 }
|
|
||||||||||||
|
Reimplemented from EtherFrameDescriptor. Definition at line 582 of file EtherFrame_m.cc.
00583 {
00584 return NULL;
00585 }
|
|
|
|
|
||||||||||||||||
|
Reimplemented from EtherFrameDescriptor. Definition at line 547 of file EtherFrame_m.cc. References EtherFrameDescriptor::getFieldCount(), EtherFrameWithLLC::setControl(), EtherFrameWithLLC::setDsap(), EtherFrameDescriptor::setFieldAsString(), and EtherFrameWithLLC::setSsap().
00548 {
00549 if (field < EtherFrameDescriptor::getFieldCount())
00550 return EtherFrameDescriptor::setFieldAsString(field,i,value);
00551 field -= EtherFrameDescriptor::getFieldCount();
00552 EtherFrameWithLLC *pp = (EtherFrameWithLLC *)p;
00553 switch (field) {
00554 case 0: pp->setSsap(string2long(value)); return true;
00555 case 1: pp->setDsap(string2long(value)); return true;
00556 case 2: pp->setControl(string2long(value)); return true;
00557 default: return false;
00558 }
00559 }
|
1.2.17