#include <TLVOption.h>
inet::TLVOptions::TLVOptions |
( |
| ) |
|
|
inline |
inet::TLVOptions::~TLVOptions |
( |
| ) |
|
|
inline |
void clear()
Makes the container empty.
Definition: TLVOption.cc:75
inet::TLVOptions::TLVOptions |
( |
const TLVOptions & |
other | ) |
|
|
inline |
void copy(const TLVOptions &other)
Definition: TLVOption.cc:27
void inet::TLVOptions::add |
( |
TLVOptionBase * |
option, |
|
|
int |
atPos = -1 |
|
) |
| |
void inet::TLVOptions::clear |
( |
| ) |
|
Makes the container empty.
Contained objects will be deleted.
TLVOptionVector optionVector
Definition: TLVOption.h:34
void inet::TLVOptions::copy |
( |
const TLVOptions & |
other | ) |
|
|
private |
29 for (
auto opt: other.optionVector)
TLVOptionVector optionVector
Definition: TLVOption.h:34
void inet::TLVOptions::deleteOptionByType |
( |
int |
type, |
|
|
bool |
firstOnly = true |
|
) |
| |
64 if ((*it)->getType() == type) {
TLVOptionVector optionVector
Definition: TLVOption.h:34
virtual TLVOptions* inet::TLVOptions::dup |
( |
| ) |
const |
|
inlineoverridevirtual |
int inet::TLVOptions::findByType |
( |
short int |
type, |
|
|
int |
firstPos = 0 |
|
) |
| const |
int inet::TLVOptions::getLength |
( |
| ) |
const |
|
virtual |
virtual TLVOptionBase& inet::TLVOptions::getTlvOption |
( |
unsigned int |
k | ) |
|
|
inlineoverridevirtual |
Implements inet::TLVOptions_Base.
TLVOptionBase & at(int m)
Definition: TLVOption.h:69
const double k
Definition: QAM16Modulation.cc:24
virtual unsigned int inet::TLVOptions::getTlvOptionArraySize |
( |
| ) |
const |
|
inlineoverridevirtual |
TLVOptions_Base & operator=(const TLVOptions_Base &other)
void clear()
Makes the container empty.
Definition: TLVOption.cc:75
void copy(const TLVOptions &other)
Definition: TLVOption.cc:27
TLVOptionBase & at(int m)
Definition: TLVOption.h:69
value< double, units::m > m
Definition: Units.h:1047
void inet::TLVOptions::parsimPack |
( |
cCommBuffer * |
b | ) |
const |
|
overridevirtual |
TLVOptionVector optionVector
Definition: TLVOption.h:34
void doParsimPacking(omnetpp::cCommBuffer *b, const ApplicationPacket &obj)
Definition: ApplicationPacket_m.h:71
virtual void parsimPack(omnetpp::cCommBuffer *b) const override
value< double, units::s > s
Definition: Units.h:1049
value< double, units::m > b
Definition: Units.h:1054
void inet::TLVOptions::parsimUnpack |
( |
cCommBuffer * |
b | ) |
|
|
overridevirtual |
104 for (
int i = 0; i <
s; i++)
105 optionVector.push_back(check_and_cast<TLVOptionBase *>(
b->unpackObject()));
TLVOptionVector optionVector
Definition: TLVOption.h:34
void doParsimUnpacking(omnetpp::cCommBuffer *b, ApplicationPacket &obj)
Definition: ApplicationPacket_m.h:72
value< double, units::s > s
Definition: Units.h:1049
virtual void parsimUnpack(omnetpp::cCommBuffer *b) override
value< double, units::m > b
Definition: Units.h:1054
53 if ((*it) == option) {
TLVOptionVector optionVector
Definition: TLVOption.h:34
virtual void inet::TLVOptions::setTlvOption |
( |
unsigned int |
k, |
|
|
const TLVOptionBase & |
tlvOption |
|
) |
| |
|
inlineoverridevirtual |
virtual void inet::TLVOptions::setTlvOptionArraySize |
( |
unsigned int |
size | ) |
|
|
inlineoverridevirtual |
int inet::TLVOptions::size |
( |
| ) |
const |
|
inline |
TLVOptionVector optionVector
Definition: TLVOption.h:34
The documentation for this class was generated from the following files: