~ubuntu-branches/ubuntu/oneiric/dammit/oneiric

« back to all changes in this revision

Viewing changes to dammit/output_node.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Simon Richter
  • Date: 2008-05-25 18:09:39 UTC
  • Revision ID: james.westby@ubuntu.com-20080525180939-iguzr0jb41w5s1oe
Tags: upstream-0~preview1
ImportĀ upstreamĀ versionĀ 0~preview1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright 2008 Simon Richter <Simon.Richter@hogyros.de>
 
2
 *
 
3
 * Released under the GNU General Public Licence version 3.
 
4
 */
 
5
 
 
6
#ifdef HAVE_CONFIG_H
 
7
#include <config.h>
 
8
#endif
 
9
 
 
10
#include "output_node.hpp"
 
11
 
 
12
#include "visitor.hpp"
 
13
#include "const_visitor.hpp"
 
14
 
 
15
namespace dammit {
 
16
 
 
17
intrusive_ptr<node> output_node::apply(visitor &v)
 
18
{
 
19
        return v.visit(*this);
 
20
}
 
21
 
 
22
void output_node::apply(const_visitor &v) const
 
23
{
 
24
        v.visit(*this);
 
25
}
 
26
 
 
27
}