Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-12-23 23:25:44 +01:00
parent 95daf7998f
commit 928443d899
245 changed files with 5711 additions and 5714 deletions

View File

@@ -35,7 +35,7 @@ class ByteBufferException
void PrintPosError() const
{
sLog.outError("Attempted to %s in ByteBuffer (pos: " SIZEFMTD " size: "SIZEFMTD") value with size: " SIZEFMTD,
sLog->outError("Attempted to %s in ByteBuffer (pos: " SIZEFMTD " size: "SIZEFMTD") value with size: " SIZEFMTD,
(add ? "put" : "get"), pos, size, esize);
}
private:
@@ -413,33 +413,33 @@ class ByteBuffer
void print_storage() const
{
if(!sLog.IsOutDebug()) // optimize disabled debug output
if(!sLog->IsOutDebug()) // optimize disabled debug output
return;
sLog.outDebug("STORAGE_SIZE: %lu", (unsigned long)size() );
sLog->outDebug("STORAGE_SIZE: %lu", (unsigned long)size() );
for (uint32 i = 0; i < size(); ++i)
sLog.outDebugInLine("%u - ", read<uint8>(i) );
sLog.outDebug(" ");
sLog->outDebugInLine("%u - ", read<uint8>(i) );
sLog->outDebug(" ");
}
void textlike() const
{
if(!sLog.IsOutDebug()) // optimize disabled debug output
if(!sLog->IsOutDebug()) // optimize disabled debug output
return;
sLog.outDebug("STORAGE_SIZE: %lu", (unsigned long)size() );
sLog->outDebug("STORAGE_SIZE: %lu", (unsigned long)size() );
for (uint32 i = 0; i < size(); ++i)
sLog.outDebugInLine("%c", read<uint8>(i) );
sLog.outDebug(" ");
sLog->outDebugInLine("%c", read<uint8>(i) );
sLog->outDebug(" ");
}
void hexlike() const
{
if(!sLog.IsOutDebug()) // optimize disabled debug output
if(!sLog->IsOutDebug()) // optimize disabled debug output
return;
uint32 j = 1, k = 1;
sLog.outDebug("STORAGE_SIZE: %lu", (unsigned long)size() );
sLog->outDebug("STORAGE_SIZE: %lu", (unsigned long)size() );
for (uint32 i = 0; i < size(); ++i)
{
@@ -447,11 +447,11 @@ class ByteBuffer
{
if (read<uint8>(i) < 0x10)
{
sLog.outDebugInLine("| 0%X ", read<uint8>(i) );
sLog->outDebugInLine("| 0%X ", read<uint8>(i) );
}
else
{
sLog.outDebugInLine("| %X ", read<uint8>(i) );
sLog->outDebugInLine("| %X ", read<uint8>(i) );
}
++j;
}
@@ -459,15 +459,15 @@ class ByteBuffer
{
if (read<uint8>(i) < 0x10)
{
sLog.outDebugInLine("\n");
sLog->outDebugInLine("\n");
sLog.outDebugInLine("0%X ", read<uint8>(i) );
sLog->outDebugInLine("0%X ", read<uint8>(i) );
}
else
{
sLog.outDebugInLine("\n");
sLog->outDebugInLine("\n");
sLog.outDebugInLine("%X ", read<uint8>(i) );
sLog->outDebugInLine("%X ", read<uint8>(i) );
}
++k;
@@ -477,15 +477,15 @@ class ByteBuffer
{
if (read<uint8>(i) < 0x10)
{
sLog.outDebugInLine("0%X ", read<uint8>(i) );
sLog->outDebugInLine("0%X ", read<uint8>(i) );
}
else
{
sLog.outDebugInLine("%X ", read<uint8>(i) );
sLog->outDebugInLine("%X ", read<uint8>(i) );
}
}
}
sLog.outDebugInLine("\n");
sLog->outDebugInLine("\n");
}
protected: