|
static std::string | ns3::GetNodeIdFromToken (std::string str) |
| Gets nodeId number in string format from the string like $node_(4) More...
|
|
static int | ns3::GetNodeIdInt (ParseResult pr) |
| Get node id number in int format. More...
|
|
static std::string | ns3::GetNodeIdString (ParseResult pr) |
| Get node id number in string format. More...
|
|
static bool | ns3::HasNodeIdNumber (std::string str) |
| Checks if the value between brackets is a correct nodeId number. More...
|
|
static bool | ns3::IsNumber (const std::string &s) |
| Checks if a string represents a number or it has others characters than digits and point. More...
|
|
static bool | ns3::IsSchedMobilityPos (ParseResult pr) |
| Check if this corresponds to a line like this: $ns_ at 1 "$node_(0) set X_ 2". More...
|
|
static bool | ns3::IsSchedSetPos (ParseResult pr) |
| Check if this corresponds to a line like this: $ns_ at 1 "$node_(0) setdest 2 3 4". More...
|
|
static bool | ns3::IsSetInitialPos (ParseResult pr) |
| Check if this corresponds to a line like this: $node_(0) set X_ 123. More...
|
|
template<class T > |
static bool | ns3::IsVal (const std::string &str, T &ret) |
| Check if s string represents a numeric value. More...
|
|
template<class T > |
bool | ns3::IsVal (const std::string &str, T &ret) |
| Check if s string represents a numeric value. More...
|
|
static ParseResult | ns3::ParseNs2Line (const std::string &str) |
| Parses a line of ns2 mobility. More...
|
|
static Vector | ns3::SetInitialPosition (Ptr< ConstantVelocityMobilityModel > model, std::string coord, double coordVal) |
| Set initial position for a node. More...
|
|
static DestinationPoint | ns3::SetMovement (Ptr< ConstantVelocityMobilityModel > model, Vector lastPos, double at, double xFinalPosition, double yFinalPosition, double speed) |
| Set waypoints and speed for movement. More...
|
|
static Vector | ns3::SetOneInitialCoord (Vector actPos, std::string &coord, double value) |
| Add one coord to a vector position. More...
|
|
static Vector | ns3::SetSchedPosition (Ptr< ConstantVelocityMobilityModel > model, double at, std::string coord, double coordVal) |
| Schedule a set of position for a node. More...
|
|
static std::string | ns3::TrimNs2Line (const std::string &str) |
| Put out blank spaces at the start and end of a line. More...
|
|