clipsmm - C++ CLIPS Interface Library

clipsmm logo
factory.h
Go to the documentation of this file.
1/***************************************************************************
2 * Copyright (C) 2006 by Rick L. Vinyard, Jr. *
3 * rvinyard@cs.nmsu.edu *
4 * *
5 * This file is part of the clipsmm library. *
6 * *
7 * The clipsmm library is free software; you can redistribute it and/or *
8 * modify it under the terms of the GNU General Public License *
9 * version 3 as published by the Free Software Foundation. *
10 * *
11 * The clipsmm library is distributed in the hope that it will be *
12 * useful, but WITHOUT ANY WARRANTY; without even the implied warranty *
13 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
14 * General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU General Public License *
17 * along with this software. If not see <http://www.gnu.org/licenses/>. *
18 ***************************************************************************/
19#ifndef CLIPSFACTORY_H
20#define CLIPSFACTORY_H
21
22#include <clipsmm/value.h>
23
24extern "C" {
25 struct dataObject;
26}
27
28namespace CLIPS {
29 class Environment;
30
32 Values data_object_to_values(dataObject* clipsdo);
33 Values data_object_to_values(dataObject& clipsdo);
34
35 dataObject* value_to_data_object(const Environment& env, const Values& values,
36 dataObject *obj = NULL);
37 dataObject* value_to_data_object(const Environment& env, const Value& value,
38 dataObject *obj = NULL);
39
40 dataObject* value_to_data_object_rawenv(void *env, const Values& values,
41 dataObject *obj = NULL);
42 dataObject* value_to_data_object_rawenv(void *env, const Value& value,
43 dataObject *obj = NULL);
44
45}
46
47#endif
Definition: activation.cpp:29
dataObject * value_to_data_object(const Environment &env, const Value &value, dataObject *obj)
Definition: factory.cpp:115
std::vector< Value > Values
Definition: value.h:278
dataObject * value_to_data_object_rawenv(void *env, const Value &value, dataObject *obj)
Definition: factory.cpp:122
Values data_object_to_values(dataObject *clipsdo)
TODO Move to utility, since these are no longer factory methods.
Definition: factory.cpp:32

Generated on Thu Jan 19 2023 00:00:00 for clipsmm by doxygen 1.9.6