Remove extraneous ' ' around ::
This commit is contained in:
@@ -62,7 +62,7 @@ class Scheduler;
|
||||
* expire first.
|
||||
*
|
||||
* A simple example of how to use the Simulator class to schedule events
|
||||
* is shown in sample-simulator.cc ::
|
||||
* is shown in sample-simulator.cc:
|
||||
* \include src/core/examples/sample-simulator.cc
|
||||
*
|
||||
* \todo Define what the simulation or event context means.
|
||||
|
||||
@@ -45,7 +45,7 @@ private:
|
||||
virtual void DoRun (void);
|
||||
}; // class HashTestCase
|
||||
|
||||
HashTestCase::HashTestCase (const std:: string name)
|
||||
HashTestCase::HashTestCase (const std::string name)
|
||||
: TestCase (name),
|
||||
key ("The quick brown fox jumped over the lazy dogs.")
|
||||
{
|
||||
|
||||
@@ -393,7 +393,7 @@ public:
|
||||
* \brief Send a Router Solicitation.
|
||||
* \param src link-local source address
|
||||
* \param dst destination address (usealy ff02::2 i.e all-routers)
|
||||
* \param hardwareAddress link-layer address (SHOULD be included if src is not ::
|
||||
* \param hardwareAddress link-layer address (SHOULD be included if src is not ::)
|
||||
*/
|
||||
void SendRS (Ipv6Address src, Ipv6Address dst, Address hardwareAddress);
|
||||
|
||||
|
||||
@@ -111,7 +111,7 @@ private:
|
||||
/**
|
||||
* \brief Container of the IPv6 PMTU data (Ipv6 destination address and expiration event).
|
||||
*/
|
||||
typedef std::map<Ipv6Address, EventId> ::iterator pathMtuTimerIter;
|
||||
typedef std::map<Ipv6Address, EventId>::iterator pathMtuTimerIter;
|
||||
|
||||
/**
|
||||
* \brief Path MTU Expiration table
|
||||
|
||||
@@ -56,7 +56,7 @@ LteHarqPhy::SubframeIndication (uint32_t frameNo, uint32_t subframeNo)
|
||||
NS_LOG_FUNCTION (this);
|
||||
|
||||
// left shift UL HARQ buffers
|
||||
std::map <uint16_t, std::vector <HarqProcessInfoList_t> >:: iterator it;
|
||||
std::map <uint16_t, std::vector <HarqProcessInfoList_t> >::iterator it;
|
||||
for (it = m_miUlHarqProcessesInfoMap.begin (); it != m_miUlHarqProcessesInfoMap.end (); it++)
|
||||
{
|
||||
(*it).second.erase ((*it).second.begin ());
|
||||
|
||||
@@ -100,12 +100,12 @@ protected:
|
||||
Ptr<Packet> packet;
|
||||
};
|
||||
|
||||
RrcHeaderTestCase :: RrcHeaderTestCase (std::string s) : TestCase (s)
|
||||
RrcHeaderTestCase::RrcHeaderTestCase (std::string s) : TestCase (s)
|
||||
{
|
||||
}
|
||||
|
||||
LteRrcSap::RadioResourceConfigDedicated
|
||||
RrcHeaderTestCase :: CreateRadioResourceConfigDedicated ()
|
||||
RrcHeaderTestCase::CreateRadioResourceConfigDedicated ()
|
||||
{
|
||||
LteRrcSap::RadioResourceConfigDedicated rrd;
|
||||
|
||||
@@ -159,7 +159,7 @@ RrcHeaderTestCase :: CreateRadioResourceConfigDedicated ()
|
||||
}
|
||||
|
||||
void
|
||||
RrcHeaderTestCase :: AssertEqualRadioResourceConfigDedicated (LteRrcSap::RadioResourceConfigDedicated rrcd1, LteRrcSap::RadioResourceConfigDedicated rrcd2)
|
||||
RrcHeaderTestCase::AssertEqualRadioResourceConfigDedicated (LteRrcSap::RadioResourceConfigDedicated rrcd1, LteRrcSap::RadioResourceConfigDedicated rrcd2)
|
||||
{
|
||||
NS_TEST_ASSERT_MSG_EQ (rrcd1.srbToAddModList.size (), rrcd2.srbToAddModList.size (),"SrbToAddModList different sizes");
|
||||
|
||||
|
||||
@@ -80,9 +80,9 @@ AsciiFile::Read (std::string& line)
|
||||
}
|
||||
|
||||
bool
|
||||
AsciiFile:: Diff (std::string const & f1,
|
||||
std::string const & f2,
|
||||
uint64_t & lineNumber)
|
||||
AsciiFile::Diff (std::string const & f1,
|
||||
std::string const & f2,
|
||||
uint64_t & lineNumber)
|
||||
{
|
||||
AsciiFile ascii1, ascii2;
|
||||
ascii1.Open (f1, std::ios::in);
|
||||
|
||||
@@ -39,13 +39,13 @@ SpectrumValue::SpectrumValue (Ptr<const SpectrumModel> sof)
|
||||
}
|
||||
|
||||
double&
|
||||
SpectrumValue:: operator[] (size_t index)
|
||||
SpectrumValue::operator[] (size_t index)
|
||||
{
|
||||
return m_values.at (index);
|
||||
}
|
||||
|
||||
const double&
|
||||
SpectrumValue:: operator[] (size_t index) const
|
||||
SpectrumValue::operator[] (size_t index) const
|
||||
{
|
||||
return m_values.at (index);
|
||||
}
|
||||
@@ -598,28 +598,28 @@ Log (const SpectrumValue& arg)
|
||||
}
|
||||
|
||||
SpectrumValue&
|
||||
SpectrumValue:: operator+= (const SpectrumValue& rhs)
|
||||
SpectrumValue::operator+= (const SpectrumValue& rhs)
|
||||
{
|
||||
Add (rhs);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SpectrumValue&
|
||||
SpectrumValue:: operator-= (const SpectrumValue& rhs)
|
||||
SpectrumValue::operator-= (const SpectrumValue& rhs)
|
||||
{
|
||||
Subtract (rhs);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SpectrumValue&
|
||||
SpectrumValue:: operator*= (const SpectrumValue& rhs)
|
||||
SpectrumValue::operator*= (const SpectrumValue& rhs)
|
||||
{
|
||||
Multiply (rhs);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SpectrumValue&
|
||||
SpectrumValue:: operator/= (const SpectrumValue& rhs)
|
||||
SpectrumValue::operator/= (const SpectrumValue& rhs)
|
||||
{
|
||||
Divide (rhs);
|
||||
return *this;
|
||||
@@ -627,28 +627,28 @@ SpectrumValue:: operator/= (const SpectrumValue& rhs)
|
||||
|
||||
|
||||
SpectrumValue&
|
||||
SpectrumValue:: operator+= (double rhs)
|
||||
SpectrumValue::operator+= (double rhs)
|
||||
{
|
||||
Add (rhs);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SpectrumValue&
|
||||
SpectrumValue:: operator-= (double rhs)
|
||||
SpectrumValue::operator-= (double rhs)
|
||||
{
|
||||
Subtract (rhs);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SpectrumValue&
|
||||
SpectrumValue:: operator*= (double rhs)
|
||||
SpectrumValue::operator*= (double rhs)
|
||||
{
|
||||
Multiply (rhs);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SpectrumValue&
|
||||
SpectrumValue:: operator/= (double rhs)
|
||||
SpectrumValue::operator/= (double rhs)
|
||||
{
|
||||
Divide (rhs);
|
||||
return *this;
|
||||
@@ -656,7 +656,7 @@ SpectrumValue:: operator/= (double rhs)
|
||||
|
||||
|
||||
SpectrumValue&
|
||||
SpectrumValue:: operator= (double rhs)
|
||||
SpectrumValue::operator= (double rhs)
|
||||
{
|
||||
Values::iterator it1 = m_values.begin ();
|
||||
|
||||
@@ -671,7 +671,7 @@ SpectrumValue:: operator= (double rhs)
|
||||
|
||||
|
||||
SpectrumValue
|
||||
SpectrumValue:: operator<< (int n) const
|
||||
SpectrumValue::operator<< (int n) const
|
||||
{
|
||||
SpectrumValue res = *this;
|
||||
res.ShiftLeft (n);
|
||||
@@ -679,7 +679,7 @@ SpectrumValue:: operator<< (int n) const
|
||||
}
|
||||
|
||||
SpectrumValue
|
||||
SpectrumValue:: operator>> (int n) const
|
||||
SpectrumValue::operator>> (int n) const
|
||||
{
|
||||
SpectrumValue res = *this;
|
||||
res.ShiftRight (n);
|
||||
|
||||
@@ -189,7 +189,7 @@ ChannelCoordinationTestCase::DoRun ()
|
||||
Simulator::Schedule (MilliSeconds (5), &ChannelCoordinationTestCase::TestIntervalAfter, this, true, false, false);
|
||||
Simulator::Schedule (MilliSeconds (50), &ChannelCoordinationTestCase::TestIntervalAfter, this, false, true, true);
|
||||
Simulator::Schedule (MilliSeconds (51), &ChannelCoordinationTestCase::TestIntervalAfter, this, false, true, true);
|
||||
Simulator::Schedule (MilliSeconds (53), &ChannelCoordinationTestCase:: TestIntervalAfter, this, false, true, true);
|
||||
Simulator::Schedule (MilliSeconds (53), &ChannelCoordinationTestCase::TestIntervalAfter, this, false, true, true);
|
||||
Simulator::Schedule (MilliSeconds (54), &ChannelCoordinationTestCase::TestIntervalAfter, this, false, true, false);
|
||||
Simulator::Schedule (MilliSeconds (55), &ChannelCoordinationTestCase::TestIntervalAfter, this, false, true, false);
|
||||
Simulator::Schedule (MilliSeconds (100), &ChannelCoordinationTestCase::TestIntervalAfter, this, true, false, true);
|
||||
@@ -200,7 +200,7 @@ ChannelCoordinationTestCase::DoRun ()
|
||||
Simulator::Schedule (MilliSeconds (205), &ChannelCoordinationTestCase::TestIntervalAfter, this, true, false, false);
|
||||
Simulator::Schedule (MilliSeconds (250), &ChannelCoordinationTestCase::TestIntervalAfter, this, false, true, true);
|
||||
Simulator::Schedule (MilliSeconds (251), &ChannelCoordinationTestCase::TestIntervalAfter, this, false, true, true);
|
||||
Simulator::Schedule (MilliSeconds (253), &ChannelCoordinationTestCase:: TestIntervalAfter, this, false, true, true);
|
||||
Simulator::Schedule (MilliSeconds (253), &ChannelCoordinationTestCase::TestIntervalAfter, this, false, true, true);
|
||||
Simulator::Schedule (MilliSeconds (254), &ChannelCoordinationTestCase::TestIntervalAfter, this, false, true, false);
|
||||
Simulator::Schedule (MilliSeconds (255), &ChannelCoordinationTestCase::TestIntervalAfter, this, false, true, false);
|
||||
Simulator::Schedule (MilliSeconds (300), &ChannelCoordinationTestCase::TestIntervalAfter, this, true, false, true);
|
||||
|
||||
Reference in New Issue
Block a user