NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
rocketfuel-map-reader.cpp File Reference
#include "rocketfuel-map-reader.hpp"
#include "ns3/nstime.h"
#include "ns3/log.h"
#include "ns3/fatal-error.h"
#include "ns3/assert.h"
#include "ns3/names.h"
#include "ns3/net-device-container.h"
#include "ns3/point-to-point-helper.h"
#include "ns3/point-to-point-net-device.h"
#include "ns3/internet-stack-helper.h"
#include "ns3/ipv4-address-helper.h"
#include "ns3/ipv4-global-routing-helper.h"
#include "ns3/drop-tail-queue.h"
#include "ns3/ipv4-interface.h"
#include "ns3/ipv4.h"
#include "ns3/string.h"
#include "ns3/pointer.h"
#include "ns3/uinteger.h"
#include "ns3/ipv4-address.h"
#include "ns3/node-list.h"
#include "ns3/mobility-model.h"
#include <regex.h>
#include <boost/foreach.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/graph/graphviz.hpp>
#include <boost/graph/connected_components.hpp>
#include <iomanip>
Include dependency graph for rocketfuel-map-reader.cpp:

Go to the source code of this file.

Namespaces

 ns3
 Copyright (c) 2011-2015 Regents of the University of California.
 

Macros

#define REGMATCH_MAX   16
 
#define START   "^"
 
#define END   "$"
 
#define SPACE   "[ \t]+"
 
#define MAYSPACE   "[ \t]*"
 
#define ROCKETFUEL_MAPS_LINE
 

Functions

static void ns3::nodeWriter (std::ostream &os, NodeContainer &m)
 

Variables

 RocketfuelMapReader
 

Macro Definition Documentation

◆ REGMATCH_MAX

#define REGMATCH_MAX   16

Definition at line 84 of file rocketfuel-map-reader.cpp.

◆ START

#define START   "^"

Definition at line 86 of file rocketfuel-map-reader.cpp.

◆ END

#define END   "$"

Definition at line 87 of file rocketfuel-map-reader.cpp.

◆ SPACE

#define SPACE   "[ \t]+"

Definition at line 88 of file rocketfuel-map-reader.cpp.

◆ MAYSPACE

#define MAYSPACE   "[ \t]*"

Definition at line 89 of file rocketfuel-map-reader.cpp.

◆ ROCKETFUEL_MAPS_LINE

#define ROCKETFUEL_MAPS_LINE
Value:
START "(-*[0-9]+)" SPACE "(@[?A-Za-z0-9,+]+)" SPACE "(\\+)*" MAYSPACE "(bb)*" MAYSPACE \
"\\(([0-9]+)\\)" SPACE "(&[0-9]+)*" MAYSPACE "->" MAYSPACE "(<[0-9 \t<>]+>)*" MAYSPACE \
"(\\{-[0-9\\{\\} \t-]+\\})*" SPACE "=([A-Za-z0-9.!-]+)" SPACE "r([0-9])" MAYSPACE END
#define START
#define END
#define SPACE
#define MAYSPACE

Definition at line 91 of file rocketfuel-map-reader.cpp.

Variable Documentation

◆ RocketfuelMapReader

RocketfuelMapReader

Definition at line 59 of file rocketfuel-map-reader.cpp.