|
| 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...
|
| |
| std::string | inet::utils::hex (int16_t l) |
| |
| std::string | inet::utils::hex (uint16_t l) |
| |
| std::string | inet::utils::hex (int32_t l) |
| |
| std::string | inet::utils::hex (uint32_t l) |
| |
| std::string | inet::utils::hex (int64_t l) |
| |
| std::string | inet::utils::hex (uint64_t l) |
| |
| long | inet::utils::hex (const char *s) |
| |
| unsigned long | inet::utils::uhex (const char *s) |
| |
| 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...
|
| |
| bool | inet::utils::fileExists (const char *pathname) |
| |
| void | inet::utils::splitFileName (const char *pathname, std::string &dir, std::string &fnameonly) |
| |
| void | inet::utils::makePath (const char *pathname) |
| |
| void | inet::utils::makePathForFile (const char *filename) |
| |