Scarab
v2.1.0
Project 8 C++ Utility Library
Main Page
Namespaces
Classes
Files
File List
File Members
library
param
param_base.cc
Go to the documentation of this file.
1
/*
2
* param_base.cc
3
*
4
* Created on: Jan 14, 2014
5
* Author: nsoblath
6
*/
7
8
#define SCARAB_API_EXPORTS
9
10
#include <sstream>
11
using
std::string;
12
using
std::stringstream;
13
14
#include "
param_base.hh
"
15
16
#include "
param_base_impl.hh
"
17
18
namespace
scarab
19
{
20
21
SCARAB_API
unsigned
param::s_indent_level
= 0;
22
23
param::param
()
24
{
25
}
26
27
param::param
(
const
param
& )
28
{
29
}
30
31
param::param
(
param
&& )
32
{
33
}
34
35
param::~param
()
36
{
37
}
38
39
bool
param::has_subset
(
const
param
&
/*a_subset*/
)
const
40
{
41
// this version of has_subset should only ever be called if a_subset is a null param (i.e. not one of the derived classes)
42
return
true
;
43
}
44
45
SCARAB_API
std::ostream&
operator<<
(std::ostream& out,
const
param
& a_value)
46
{
47
return
out << a_value.
to_string
();
48
}
49
50
}
/* namespace scarab */
scarab::param::has_subset
virtual bool has_subset(const param &a_subset) const
Definition:
param_base.cc:39
param_base_impl.hh
SCARAB_API
#define SCARAB_API
Definition:
scarab_api.hh:24
scarab::param::param
param()
Definition:
param_base.cc:23
scarab::param::to_string
virtual std::string to_string() const
Definition:
param_base_impl.hh:128
param_base.hh
scarab::param::~param
virtual ~param()
Definition:
param_base.cc:35
scarab::param::s_indent_level
static unsigned s_indent_level
Definition:
param_base.hh:76
scarab
Definition:
authentication.cc:18
scarab::operator<<
SCARAB_API std::ostream & operator<<(std::ostream &out, const param_array &a_value)
Definition:
param_array.cc:110
scarab::param
Definition:
param_base.hh:26
Generated by
1.8.11