2006-09-26 21:48:40 +02:00
|
|
|
/*
|
2011-11-23 04:38:36 +01:00
|
|
|
* Copyright (c) 2006-2011 Stephen Williams <steve@icarus.com>
|
2006-09-26 21:48:40 +02:00
|
|
|
*
|
|
|
|
|
* This source code is free software; you can redistribute it
|
|
|
|
|
* and/or modify it in source code form under the terms of the GNU
|
|
|
|
|
* General Public License as published by the Free Software
|
|
|
|
|
* Foundation; either version 2 of the License, or (at your option)
|
|
|
|
|
* any later version.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
|
* along with this program; if not, write to the Free Software
|
2012-08-29 03:41:23 +02:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2006-09-26 21:48:40 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
# include "PSpec.h"
|
|
|
|
|
|
2023-01-07 03:56:24 +01:00
|
|
|
PSpecPath::PSpecPath(const std::list<perm_string> &src_list,
|
|
|
|
|
const std::list<perm_string> &dst_list,
|
|
|
|
|
char polarity, bool full_flag)
|
2007-02-12 02:52:21 +01:00
|
|
|
: conditional(false), condition(0), edge(0),
|
2023-01-07 03:56:24 +01:00
|
|
|
src(src_list.begin(), src_list.end()), dst(dst_list.begin(), dst_list.end()),
|
2007-02-12 02:52:21 +01:00
|
|
|
data_source_expression(0)
|
2006-09-26 21:48:40 +02:00
|
|
|
{
|
2011-11-23 04:38:36 +01:00
|
|
|
full_flag_ = full_flag;
|
|
|
|
|
polarity_ = polarity;
|
2006-09-26 21:48:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
PSpecPath::~PSpecPath()
|
|
|
|
|
{
|
|
|
|
|
}
|