SENF Extensible Network Framework
Home
Overview
Examples
HowTos
Glossary
Ext
NetEmu
PPI
Packets
Scheduler
Socket
Utils
Console
Daemon
Logger
Termlib
LazyDirectory.cc
Go to the documentation of this file.
1
//
2
// Copyright (c) 2020 Fraunhofer Institute for Applied Information Technology (FIT)
3
// Network Research Group (NET)
4
// Schloss Birlinghoven, 53754 Sankt Augustin, GERMANY
5
// Contact: support@wiback.org
6
//
7
// This file is part of the SENF code tree.
8
// It is licensed under the 3-clause BSD License (aka New BSD License).
9
// See LICENSE.txt in the top level directory for details or visit
10
// https://opensource.org/licenses/BSD-3-Clause
11
//
12
13
17
#include "
LazyDirectory.hh
"
18
//#include "LazyDirectory.ih"
19
20
// Custom includes
21
#include "
ScopedDirectory.hh
"
22
23
//#include "LazyDirectory.mpp"
24
#define prefix_
25
//-/////////////////////////////////////////////////////////////////////////////////////////////////
26
27
prefix_
senf::console::LazyDirectory::LazyDirectory
()
28
: p_( new
ScopedDirectory
<>() )
29
{}
30
31
prefix_
senf::console::LazyDirectory::~LazyDirectory
()
32
{}
33
34
prefix_
senf::console::ScopedDirectory<>
&
senf::console::LazyDirectory::operator()
()
35
{
36
return
*p_;
37
}
38
39
//-/////////////////////////////////////////////////////////////////////////////////////////////////
40
#undef prefix_
41
//#include "LazyDirectory.mpp"
42
43
44
// Local Variables:
45
// mode: c++
46
// fill-column: 100
47
// comment-column: 40
48
// c-file-style: "senf"
49
// indent-tabs-mode: nil
50
// ispell-local-dictionary: "american"
51
// compile-command: "scons -u test"
52
// End:
senf::console::LazyDirectory::operator()
ScopedDirectory & operator()()
Definition:
LazyDirectory.cc:34
ScopedDirectory.hh
ScopedDirectory public header.
senf::console::ScopedDirectory
DirectoryNode member proxy.
Definition:
LazyDirectory.hh:30
senf::console::LazyDirectory::LazyDirectory
LazyDirectory()
Definition:
LazyDirectory.cc:27
prefix_
#define prefix_
Definition:
LazyDirectory.cc:24
LazyDirectory.hh
LazyDirectory public header.
senf::console::LazyDirectory::~LazyDirectory
~LazyDirectory()
Definition:
LazyDirectory.cc:31