plebble
addr_t.h
Go to the documentation of this file.
1
/*
2
-------------------------------------------------------------------------------
3
PLEBBLE
4
-------------------------------------------------------------------------------
5
Copyright (C) 2019-2020 KATLAS Technology. (http://katlastechnology.com)
6
Copyright (C) 2017-2020 Marcos Mayorga. (mm@mm-studios.com)
7
8
This file is part of our Plebble(R) Platform.
9
10
The code below cannot be copied, used for any purpose other than the one
11
agreed and/or distributed without the express permission of
12
KATLAS Technology.
13
-------------------------------------------------------------------------------
14
15
16
*/
17
#ifndef USGOV_35983b282eac9c91c0e90893cd4b3586191237650a0dc3908a66e683a0dd15b5
18
#define USGOV_35983b282eac9c91c0e90893cd4b3586191237650a0dc3908a66e683a0dd15b5
19
20
#include <string>
21
#include <iostream>
22
23
namespace
us
{
namespace
gov {
24
namespace
engine {
25
using namespace
std
;
26
27
struct
addr_t
{
28
virtual
~addr_t
() {}
29
virtual
void
to_stream
(ostream& os)
const
=0;
30
static
addr_t
*
from_stream
(istream& is);
31
};
32
33
ostream&
operator <<
(ostream& os,
const
addr_t
& o);
34
35
}
36
}}
37
38
#endif
39
us::gov::engine::addr_t::from_stream
static addr_t * from_stream(istream &is)
tcp_addr.h
us
Definition:
daemon.h:22
us::gov::engine::addr_t::~addr_t
virtual ~addr_t()
Definition:
addr_t.h:28
operator<<
ostream & operator<<(ostream &os, const addr_t &o)
Definition:
addr_t.cpp:31
us::gov::engine::addr_t::to_stream
virtual void to_stream(ostream &os) const =0
c
us::gov::engine::addr_t c
Definition:
addr_t.cpp:20
addr_t.h
c
Definition:
client.cpp:417
us::gov::engine
Definition:
hmi.h:32
std
Definition:
app.h:380
us::gov::engine::operator<<
ostream & operator<<(ostream &os, const addr_t &o)
us::gov::engine::addr_t
Definition:
addr_t.h:27
gov
engine
addr_t.h
Generated by
1.8.20