INET Framework for OMNeT++/OMNEST
PacketDrillOption Class Reference

#include <PacketDrillUtils.h>

Inheritance diagram for PacketDrillOption:

Public Member Functions

 PacketDrillOption (char *name, char *value)
 
const char * getName () const
 
void setName (char *name_)
 
const char * getValue () const
 
void setValue (char *value_)
 

Private Attributes

char * name
 
char * value
 

Constructor & Destructor Documentation

PacketDrillOption::PacketDrillOption ( char *  name,
char *  value 
)
386 {
387  name = strdup(v1);
388  value = strdup(v2);
389 }
char * value
Definition: PacketDrillUtils.h:663
char * name
Definition: PacketDrillUtils.h:659

Member Function Documentation

const char* PacketDrillOption::getName ( ) const
inline
656 { return name; };
char * name
Definition: PacketDrillUtils.h:659
const char* PacketDrillOption::getValue ( ) const
inline
658 { return value; };
char * value
Definition: PacketDrillUtils.h:663
void PacketDrillOption::setName ( char *  name_)
inline
657 { free(name); name = strdup(name_); };
void free(void *)
char * name
Definition: PacketDrillUtils.h:659
void PacketDrillOption::setValue ( char *  value_)
inline
659 { free(value); value = strdup(value_); };
char * value
Definition: PacketDrillUtils.h:663
void free(void *)

Member Data Documentation

char* PacketDrillOption::name
private
char* PacketDrillOption::value
private

The documentation for this class was generated from the following files: