//
// See the file LICENSE for redistribution information.
//
// Copyright (c) 2002-2003
//	Sleepycat Software.  All rights reserved.
//

static const char revid[] = "$Id: QueryExpression.cpp,v 1.18 2003/05/12 23:13:09 merrells Exp $";

#include "dbxml_config.h"
#include "dbxml/XmlPortability.hpp"
#include "QueryExpression.hpp"

using namespace DbXml;

QueryExpression::QueryExpression(QueryContext &context)
	: ReferenceCounted(), context_(context), qp_(0)
{}

QueryExpression::~QueryExpression()
{}

void QueryExpression::set(const std::string &xpath, QueryPlan::SharedPtr qp)
{
	xpath_ = xpath;
	qp_ = qp;
}

