MFEM
v3.2
Finite element discretization library
Main Page
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Pages
general
osockstream.hpp
Go to the documentation of this file.
1
// Copyright (c) 2010, Lawrence Livermore National Security, LLC. Produced at
2
// the Lawrence Livermore National Laboratory. LLNL-CODE-443211. All Rights
3
// reserved. See file COPYRIGHT for details.
4
//
5
// This file is part of the MFEM library. For more information and source code
6
// availability see http://mfem.org.
7
//
8
// MFEM is free software; you can redistribute it and/or modify it under the
9
// terms of the GNU Lesser General Public License (as published by the Free
10
// Software Foundation) version 2.1 dated February 1999.
11
12
#ifndef MFEM_OSOCKSTREAM
13
#define MFEM_OSOCKSTREAM
14
15
#include "
socketstream.hpp
"
16
17
namespace
mfem
18
{
19
28
class
osockstream
:
public
socketstream
29
{
30
public
:
31
34
osockstream
(
int
port,
const
char
*hostname);
35
39
int
send
() { (*this) << std::flush;
return
0; }
40
42
virtual
~osockstream
() { }
43
};
44
45
}
46
47
#endif
socketstream.hpp
mfem::osockstream::~osockstream
virtual ~osockstream()
Definition:
osockstream.hpp:42
mfem::osockstream::send
int send()
Definition:
osockstream.hpp:39
mfem::osockstream
Definition:
osockstream.hpp:28
mfem::socketstream
Definition:
socketstream.hpp:201
mfem::osockstream::osockstream
osockstream(int port, const char *hostname)
Definition:
osockstream.cpp:17
Generated on Fri Feb 18 2022 19:00:30 for MFEM by
1.8.5