Go to the source code of this file.
Classes | |
class | OpaqueInteger< T, Dummy > |
OpaqueInteger is a wrapper for a primitive integer type. More... | |
Functions | |
template<class T, class Dummy> | |
T | opaqueToInt (OpaqueInteger< T, Dummy > t) |
Use opaqueToInt to explicitly cast an OpaqueInteger back to the wrapped type. | |
template<class T> | |
T | opaqueToInt (T t) |
Alternate definition of opaqueToInt to match the release build definition. | |
template<class T, class Dummy> | |
std::ostream & | operator<< (std::ostream &o, OpaqueInteger< T, Dummy > t) |
T opaqueToInt | ( | T | t | ) | [inline] |
Alternate definition of opaqueToInt to match the release build definition.
Definition at line 282 of file OpaqueInteger.h.
T opaqueToInt | ( | OpaqueInteger< T, Dummy > | t | ) | [inline] |
Use opaqueToInt to explicitly cast an OpaqueInteger back to the wrapped type.
Definition at line 273 of file OpaqueInteger.h.
References OpaqueInteger< T, Dummy >::getWrapped().
Referenced by LbmEntry::addNewMiddleSegment(), LbmEntry::addNewRid(), LbmUnionWorkspace::addSegment(), LbmEntry::adjustEntry(), LbmSegmentReader::advanceToByte(), LbmUnionWorkspace::advanceToByteNum(), LbmByteSegment::advanceToByteNum(), LbmRidReaderBase::advanceToRid(), byteNumberToRid(), LbmMinusExecStream::canSkipMinus(), LbmEntry::closeCurrentSegment(), LogicalTxn::commitSavepoint(), SegmentFactory::deallocateTempDeviceId(), LcsClusterDump::dump(), LbmEntryDump::dump(), LbmEntry::dumpBitmapRID(), LbmEntry::dumpSegRID(), LcsRowScanExecStream::execute(), LbmSplicerExecStream::execute(), SnapshotSegmentTestBase::fillPage(), LcsRowScanExecStream::fillRidRunBuffer(), LbmExecStreamTestBase::generateBitmaps(), LbmGeneratorExecStream::generateMultiKeyBitmaps(), CompoundId::getBlockNum(), CompoundId::getByteOffset(), VersionedRandomAllocationSegment::getDeallocatedTxnId(), CacheImpl< PageT, VictimPolicyT >::getDevice(), CompoundId::getDeviceId(), LcsClusterNodeWriter::getLastClusterPageForWrite(), Segment::getLinearBlockNum(), LcsClusterReader::getNumRows(), CompoundId::getPageId(), CmdInterpreter::StreamGraphHandle::getRoot(), LbmUnionWorkspace::getSegment(), LcsClusterReplaceExecStream::getTupleForLoad(), LbmExecStreamTestBase::initBitmapInput(), LbmLoadBitmapTest::initClusterScanDef(), LbmUnionExecStream::isConsumerSridSet(), VersionedRandomAllocationSegment::isDeallocatedPageOwnerId(), LbmUnionExecStream::isSegmentLimitSet(), VersionedRandomAllocationSegment::makeDeallocatedPageOwnerId(), LbmMinusExecStream::minusSegments(), LcsClusterNodeWriter::moveFromTempToIndex(), TwoQVictimPolicy< PageT >::notifyPageAccess(), TwoQVictimPolicy< PageT >::notifyPageDiscard(), TwoQVictimPolicy< PageT >::notifyPageUnmap(), CacheImpl< PageT, VictimPolicyT >::notifyTransferCompletion(), LcsClusterReplaceExecStream::open(), LbmSplicerExecStream::open(), LbmGeneratorExecStream::open(), LbmBitOpExecStream::open(), BTreeSearchExecStream::open(), std::hash< fennel::OpaqueInteger< T, Dummy > >::operator()(), operator<<(), LcsClusterReader::positionInBlock(), LbmUnionExecStream::prepare(), LbmSplicerExecStream::prepare(), LbmGeneratorExecStream::prepare(), LbmChopperExecStream::prepare(), LbmByteSegment::print(), LbmSegmentReaderBase::readBitmapSegTuple(), CacheImpl< PageT, VictimPolicyT >::registerDevice(), ridToByteNumber(), LogicalTxn::rollback(), LbmSegment::roundToByteBoundary(), LbmRidReaderBase::searchForNextRid(), LbmEntry::segmentContainsRid(), TwoQVictimPolicy< PageT >::setAllocatedPageCount(), LbmSegmentReaderBase::setBitsRead(), CompoundId::setBlockNum(), CompoundId::setByteOffset(), CmdInterpreter::setCsnHandle(), CompoundId::setDeviceId(), CompoundId::setPageId(), LbmEntry::setRID(), LbmEntry::setRIDAdjacentSegByte(), LbmEntry::setRIDSegByte(), CmdInterpreter::setSvptHandle(), LbmEntry::spliceSingleton(), SnapshotSegmentTest::testDeallocateOld(), LbmEntryTest::testldb35(), LbmEntryTest::testler5920(), LbmSplicerExecStreamTest::testLER5968(), LbmSplicerExecStreamTest::testLER6473(), ExecStreamTestSuite::testReshapeExecStream(), LbmSplicerExecStreamTest::testSpliceRids(), LbmSplicerExecStreamTest::testSpliceWithKeys(), LbmEntryTest::testZeroBytes(), LbmEntry::toBitmapString(), LbmEntry::toRIDString(), LbmEntry::toString(), LcsClusterAppendExecStreamTest::verifyClusterPages(), LbmUnionExecStreamTest::verifyMerge(), SnapshotSegmentTestBase::verifyPage(), CmdInterpreter::visit(), LbmChopperExecStream::writeSegment(), and LbmBitOpExecStream::writeStartRidParamValue().
00274 { 00275 return t.getWrapped(); 00276 }
std::ostream& operator<< | ( | std::ostream & | o, | |
OpaqueInteger< T, Dummy > | t | |||
) | [inline] |
Definition at line 303 of file OpaqueInteger.h.
References opaqueToInt().
00304 { 00305 o << opaqueToInt(t); 00306 return o; 00307 }