INET Framework for OMNeT++/OMNEST
|
Namespaces | |
inet | |
Copyright (c) 2005 Jan Ringo�, www.ringos.cz. | |
inet::utils | |
Functions | |
std::string | inet::utils::ltostr (long i) |
Converts an integer to string. More... | |
std::string | inet::utils::dtostr (double d) |
Converts a double to string. More... | |
double | inet::utils::atod (const char *s) |
Converts string to double. More... | |
unsigned long | inet::utils::atoul (const char *s) |
Converts string to unsigned long. More... | |
std::string | inet::utils::stripnonalnum (const char *s) |
Removes non-alphanumeric characters from the given string. More... | |
std::string | inet::utils::stringf (const char *fmt,...) |
Accepts a printf-like argument list, and returns the result in a string. More... | |
std::string | inet::utils::vstringf (const char *fmt, va_list &args) |
Accepts a vprintf-like argument list, and returns the result in a string. More... | |
int | inet::utils::roundUp (int numToRound, int multiple) |
Rounding up to the nearest multiple of a number. More... | |
cObject * | inet::utils::createOneIfClassIsKnown (const char *className, const char *defaultNamespace=getSimulation() ->getContext() ->getClassName()) |
Like cObjectFactory::createOneIfClassIsKnown(), except it starts searching for the class in the given namespace. More... | |
cObject * | inet::utils::createOne (const char *className, const char *defaultNamespace=getSimulation() ->getContext() ->getClassName()) |
Like cObjectFactory::createOne(), except it starts searching for the class in the given namespace. More... | |
template<typename T > | |
T * | inet::utils::dupPacketAndControlInfo (T *packet) |
Duplicate a packet together with its control info. More... | |