rename INode to Node
This commit is contained in:
1 parent
3d5b3270fc
commit
fd29e39bee
39 files changed
+195
-195
No files matched your search
@@ -28,29 +28,29 @@
|
||||
|
||||
namespace ns3 {
|
||||
|
||||
class INode;
|
||||
class Node;
|
||||
class TraceResolver;
|
||||
class TraceContext;
|
||||
|
||||
/**
|
||||
* \brief the list of simulation nodes.
|
||||
*
|
||||
* Every INode created is automatically added to this list.
|
||||
* Every Node created is automatically added to this list.
|
||||
*/
|
||||
class NodeList
|
||||
{
|
||||
public:
|
||||
typedef ArrayTraceResolver<INode>::Index NodeIndex;
|
||||
typedef std::vector< Ptr<INode> >::iterator Iterator;
|
||||
typedef ArrayTraceResolver<Node>::Index NodeIndex;
|
||||
typedef std::vector< Ptr<Node> >::iterator Iterator;
|
||||
|
||||
/**
|
||||
* \param node node to add
|
||||
* \returns index of node in list.
|
||||
*
|
||||
* This method is called automatically from INode::INode so
|
||||
* This method is called automatically from Node::Node so
|
||||
* the user has little reason to call it himself.
|
||||
*/
|
||||
static uint32_t Add (Ptr<INode> node);
|
||||
static uint32_t Add (Ptr<Node> node);
|
||||
/**
|
||||
* \returns a C++ iterator located at the beginning of this
|
||||
* list.
|
||||
@@ -71,9 +71,9 @@ public:
|
||||
|
||||
/**
|
||||
* \param n index of requested node.
|
||||
* \returns the INode associated to index n.
|
||||
* \returns the Node associated to index n.
|
||||
*/
|
||||
static Ptr<INode> GetINode (uint32_t n);
|
||||
static Ptr<Node> GetNode (uint32_t n);
|
||||
};
|
||||
|
||||
}//namespace ns3
|
||||
|
||||
Reference in new issue
Block a user