Command.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 /* DEBUG: section 16 Cache Manager API */
10 
11 #include "squid.h"
12 #include "mgr/ActionProfile.h"
13 #include "mgr/Command.h"
14 
15 std::ostream &
16 Mgr::operator <<(std::ostream &os, const Command &cmd)
17 {
18  if (cmd.profile != nullptr)
19  return os << *cmd.profile;
20  return os << "undef";
21 }
22 
combined hard-coded action profile with user-supplied action parameters
Definition: Command.h:21
std::ostream & operator<<(std::ostream &os, const ActionProfile &profile)
Definition: ActionProfile.h:50
ActionProfilePointer profile
hard-coded action specification
Definition: Command.h:27

 

Introduction

Documentation

Support

Miscellaneous