<div dir="ltr">Dear Users,<br><div><br></div><div>I want to make a little change in cache-with-probability class that if a node has certain number of interfaces it should add a content. For this I want to know number of interfaces to which the node is attached.<br><br></div><div>but when I try to get a node as follows<br><br></div><div>Ptr<Node> n = This->GetObject<Node>();<br><br></div><div>it gives error that the function is defined out of scope. it is the problem due to virtual or inline function calls...<br><br></div><div>can any one kindly help me on this.. If I want to get information related to a node while using policy traits. how can I do this..<br><br></div><div>regards,<br><br></div><div>Shahneela <br></div></div>