feisty meow concerns codebase
2.140
configurable.h
Go to the documentation of this file.
1
#ifndef CONFIGURABLE_CLASS
2
#define CONFIGURABLE_CLASS
3
4
/*****************************************************************************\
5
* *
6
* Name : configurable *
7
* Author : Chris Koeritz *
8
* *
9
*******************************************************************************
10
* Copyright (c) 2001-$now By Author. This program is free software; you can *
11
* redistribute it and/or modify it under the terms of the GNU General Public *
12
* License as published by the Free Software Foundation; either version 2 of *
13
* the License or (at your option) any later version. This is online at: *
14
* http://www.fsf.org/copyleft/gpl.html *
15
* Please send any updates to: fred@gruntose.com *
16
\*****************************************************************************/
17
19
29
#include <
basis/contracts.h
>
30
31
32
// forward.
33
class
configuration_list;
34
35
class
configurable
:
public
virtual
root_object
36
{
37
public
:
38
virtual
~configurable
() {}
39
40
DEFINE_CLASS_NAME
(
"configurable"
);
41
42
virtual
void
get_config
(configuration_list &to_fill,
bool
append
)
const
= 0;
44
50
virtual
bool
set_config
(
const
configuration_list &to_use) = 0;
52
54
};
55
56
#endif
57
configurable
Definition
configurable.h:36
configurable::DEFINE_CLASS_NAME
DEFINE_CLASS_NAME("configurable")
configurable::set_config
virtual bool set_config(const configuration_list &to_use)=0
retrieves the config items from "to_use" and stores them here.
configurable::~configurable
virtual ~configurable()
Definition
configurable.h:38
configurable::get_config
virtual void get_config(configuration_list &to_fill, bool append) const =0
interprets the contents of this object as a configuration list.
contracts.h
append
bool append
Definition
makedep.cpp:110
nucleus
library
configuration
configurable.h
Generated by
1.9.8