core coding style changes

This commit is contained in:
Josh Pelkey
2011-05-13 14:52:27 -04:00
parent f6beada3cb
commit 86379fa5b5
111 changed files with 2361 additions and 2298 deletions

View File

@@ -23,30 +23,32 @@ namespace ns3 {
PointerValue::PointerValue ()
: m_value ()
{}
{
}
PointerValue::PointerValue (Ptr<Object> object)
: m_value (object)
{}
{
}
void
void
PointerValue::SetObject (Ptr<Object> object)
{
m_value = object;
}
Ptr<Object>
Ptr<Object>
PointerValue::GetObject (void) const
{
return m_value;
}
Ptr<AttributeValue>
Ptr<AttributeValue>
PointerValue::Copy (void) const
{
return Create<PointerValue> (*this);
}
std::string
std::string
PointerValue::SerializeToString (Ptr<const AttributeChecker> checker) const
{
std::ostringstream oss;