DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
Host.hpp File Reference
#include <netinet/in.h>
#include <arpa/inet.h>
#include <string>
#include <vector>
Include dependency graph for Host.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OksSystem::Host
 Network host. More...
 
class  OksSystem::LocalHost
 Network host - localhost. More...
 

Namespaces

namespace  OksSystem
 

Functions

bool OksSystem::operator== (const Host &a, const Host &b) throw ()
 equality operator
 
bool OksSystem::operator!= (const Host &a, const Host &b) throw ()
 inequality operator
 
const char * OksSystem::getfullhost () throw ()
 get fully qualified host name
 
bool OksSystem::operator== (const LocalHost &a, const LocalHost &b) throw ()
 
bool OksSystem::operator!= (const LocalHost &a, const LocalHost &b) throw ()
 
std::ostream & operator<< (std::ostream &stream, const OksSystem::Host &host)
 

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & stream,
const OksSystem::Host & host )

Definition at line 329 of file Host.cpp.

329 {
330 stream << host.full_name();
331 return stream;
332} // operator<<
const std::string & full_name() const
get fully qualified name
Definition Host.cpp:161