summaryrefslogtreecommitdiff
path: root/xsd/cxx/tree/counter.hxx
blob: b5c7c8f735b43d9713b7b28eb220fa621a50cf46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// file      : xsd/cxx/tree/counter.hxx
// author    : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2006-2011 Code Synthesis Tools CC
// license   : GNU GPL v2 + exceptions; see accompanying LICENSE file

#ifndef CXX_TREE_COUNTER_HXX
#define CXX_TREE_COUNTER_HXX

#include <cxx/tree/elements.hxx>
#include <cxx/tree/cli.hxx>

namespace CXX
{
  namespace Tree
  {
    class Counter
    {
    public:
      Counter (); // Dummy ctor, helps with long symbols on HP-UX.

      Counts
      count (CLI::Options const&,
             SemanticGraph::Schema&,
             SemanticGraph::Path const&);
    };
  }
}

#endif // CXX_TREE_COUNTER_HXX