#include <building-list.h>
Public Types | |
typedef std::vector< Ptr< Building > >::const_iterator | Iterator |
Static Public Member Functions | |
static uint32_t | Add (Ptr< Building > building) |
static Iterator | Begin (void) |
static Iterator | End (void) |
static Ptr< Building > | GetBuilding (uint32_t n) |
static uint32_t | GetNBuildings (void) |
Definition at line 33 of file building-list.h.
typedef std::vector< Ptr<Building> >::const_iterator ns3::BuildingList::Iterator |
Definition at line 36 of file building-list.h.
building | building to add |
This method is called automatically from Building::Building so the user has little reason to call it himself.
Definition at line 168 of file building-list.cc.
References ns3::BuildingListPriv::Get().
Referenced by ns3::Building::Building().
|
static |
Definition at line 173 of file building-list.cc.
References ns3::BuildingListPriv::Get().
Referenced by ns3::BuildingContainer::GetGlobal(), ns3::RandomBuildingPositionAllocator::GetNext(), ns3::RandomRoomPositionAllocator::GetNext(), and ns3::BuildingsHelper::MakeConsistent().
|
static |
Definition at line 178 of file building-list.cc.
References ns3::BuildingListPriv::Get().
Referenced by ns3::BuildingContainer::GetGlobal(), ns3::RandomBuildingPositionAllocator::GetNext(), ns3::RandomRoomPositionAllocator::GetNext(), and ns3::BuildingsHelper::MakeConsistent().
n | index of requested building. |
Definition at line 183 of file building-list.cc.
References ns3::BuildingListPriv::Get().
Referenced by ns3::RandomBuildingPositionAllocator::GetNext().
|
static |
Definition at line 188 of file building-list.cc.
References ns3::BuildingListPriv::Get().
Referenced by ns3::RandomBuildingPositionAllocator::GetNext(), and ns3::RandomRoomPositionAllocator::GetNext().