![](IoManip_8h__incl.png)
![](IoManip_8h__dep__incl.png)
Go to the source code of this file.
Classes | |
class | RawPointerT< Pointer > |
class | AsHex< Integer > |
class | AsList< Container > |
std::ostream manipulator to print containers as flat lists More... | |
class | AtMostOnce< T > |
class | WithExtras< T > |
Helps prints T object using object's T::printWithExtras() method. More... | |
Functions | |
template<class Pointer > | |
RawPointerT< Pointer > | RawPointer (const char *label, const Pointer &ptr) |
convenience wrapper for creating RawPointerT<> objects More... | |
template<class Pointer > | |
RawPointerT< Pointer > | RawPointer (const Pointer &ptr) |
convenience wrapper for creating RawPointerT<> objects without a label More... | |
template<class Pointer > | |
std::ostream & | operator<< (std::ostream &os, const RawPointerT< Pointer > &pd) |
prints RawPointerT<>, dereferencing the io_manip pointer if possible More... | |
template<class Integer > | |
std::ostream & | operator<< (std::ostream &os, const AsHex< Integer > number) |
template<class Integer > | |
AsHex< Integer > | asHex (const Integer n) |
a helper to ease AsHex object creation More... | |
void | PrintHex (std::ostream &, const char *data, size_t n) |
Prints the first n data bytes using hex notation. Does nothing if n is 0. More... | |
template<typename Container > | |
std::ostream & | operator<< (std::ostream &os, const AsList< Container > &manipulator) |
template<typename Container > | |
auto | asList (const Container &c) |
a helper to ease AsList object creation More... | |
template<class T > | |
auto & | operator<< (std::ostream &os, AtMostOnce< T > &a) |
template<class T > | |
auto & | operator<< (std::ostream &os, const WithExtras< T > &a) |
writes T object to the given stream using object's T::printWithExtras() method More... | |
Function Documentation
◆ asHex()
|
inline |
Definition at line 169 of file IoManip.h.
Referenced by Fs::Ufs::UFSSwapDir::addDiskRestore(), asQosConfigHex(), StoreEntry::attachToDisk(), ExceptionErrorDetail::brief(), Security::ErrorDetail::brief(), Fs::Ufs::UFSStoreState::close(), Fs::Ufs::UFSStoreState::closeCompleted(), Fs::Ufs::UFSStrategy::create(), Rock::SwapDir::createStoreIO(), Rock::SwapDir::createUpdateIO(), Fs::Ufs::UFSSwapDir::DirClean(), Comm::DoSelect(), Fs::Ufs::UFSSwapDir::dumpEntry(), Security::ErrorDetail::ErrorDetail(), Fs::Ufs::RebuildState::getNextFile(), idnsALookup(), idnsCheckQueue(), idnsGrokReply(), idnsPTRLookup(), idnsSendSlaveAAAAQuery(), Fs::Ufs::UFSStoreState::ioCompletedNotification(), ipcache_gethostbyname(), ldap_escape_value(), Security::ServerOptions::loadDhParams(), ACLTimeData::match(), Acl::ConnMark::match(), Fs::Ufs::UFSStrategy::open(), Rock::SwapDir::openStoreIO(), operator<<(), Security::ParseProtocolVersionBase(), RandomUuid::print(), Fs::Ufs::UFSStoreState::read_(), Fs::Ufs::UFSStoreState::readCompleted(), Fs::Ufs::RebuildState::rebuildFromSwapLog(), Ssl::ReportAndForgetErrors(), Ssl::Bio::stateChanged(), storeDirSwapLog(), storeSwapOutFileClosed(), storeSwapOutStart(), TestIoManip::testAsHex(), Fs::Ufs::UFSSwapDir::unlinkFile(), Ipc::StoreMap::validateHit(), ExceptionErrorDetail::verbose(), Fs::Ufs::UFSStoreState::write(), and Fs::Ufs::UFSStoreState::writeCompleted().
◆ asList()
|
inline |
Definition at line 246 of file IoManip.h.
Referenced by Acl::Node::dumpWhole().
◆ operator<<() [1/5]
|
inline |
Prints AtMostOnce argument if needed. The argument is not constant to prevent wrong usage:
Definition at line 286 of file IoManip.h.
References AtMostOnce< T >::print().
◆ operator<<() [2/5]
|
inline |
◆ operator<<() [3/5]
|
inline |
Definition at line 238 of file IoManip.h.
References AsList< Container >::print().
◆ operator<<() [4/5]
|
inline |
Definition at line 89 of file IoManip.h.
References Debug::Extra(), RawPointerT< Pointer >::label, RawPointerT< Pointer >::nilText, RawPointerT< Pointer >::onExtraLine, and RawPointerT< Pointer >::ptr.
◆ operator<<() [5/5]
|
inline |
Definition at line 304 of file IoManip.h.
References WithExtras< T >::toPrint.
◆ PrintHex()
void PrintHex | ( | std::ostream & | , |
const char * | data, | ||
size_t | n | ||
) |
Definition at line 16 of file IoManip.cc.
References assert, and for_each().
Referenced by Raw::print(), and PrintSecret().
◆ RawPointer() [1/2]
|
inline |
Definition at line 73 of file IoManip.h.
Referenced by finishAndDeleteFetch(), getRoundRobinParent(), getWeightedRoundRobinParent(), neighborsUdpAck(), operator<<(), peerDigestCheck(), peerNoteDigestLookup(), ConnStateData::serveDelayedError(), and Security::PeerConnector::sslCrtvdHandleReply().
◆ RawPointer() [2/2]
|
inline |
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products