blob: 4f4815787195b4b9cd95cca0c3ea4a000e5caf6d (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
/* -*- C++ -*- */
// $Id$
// ==========================================================================
//
// = LIBRARY
// orbsvcs
//
// = FILENAME
// Notify_Constraint_Interpreter.h
//
// = DESCRIPTION
//
//
// = AUTHOR
// Pradeep Gore <pradeep@cs.wustl.edu>
//
// ==========================================================================
#ifndef TAO_NOTIFY_CONSTRAINT_INTERPRETER_H
#define TAO_NOTIFY_CONSTRAINT_INTERPRETER_H
#include "ace/pre.h"
#include "orbsvcs/Trader/Constraint_Nodes.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "orbsvcs/Trader/Constraint_Visitors.h"
#include "orbsvcs/Trader/Interpreter.h"
#include "orbsvcs/CosNotifyFilterS.h"
#include "notify_export.h"
class TAO_Constraint_Evaluator;
class TAO_Notify_Export TAO_Notify_Constraint_Interpreter : public TAO_Interpreter
{
//
// = TITLE
// TAO_Notify_Constraint_Interpreter
//
// = DESCRIPTION
// "TCL" Interpreter for the Notify queries.
public:
// = Initialization and termination methods.
TAO_Notify_Constraint_Interpreter (void);
~TAO_Notify_Constraint_Interpreter (void);
// Destructor
void build_tree (const char* constraints
TAO_ENV_ARG_DECL)
ACE_THROW_SPEC ((CosNotifyFilter::InvalidConstraint,
CORBA::NO_MEMORY));
// This constructor builds an expression tree representing the
// constraint specified in <constraints>, and throws an Illegal
// Constraint exception if the constraint given has syntax errors or
// semantic errors, such as mismatched types.
CORBA::Boolean evaluate (TAO_Constraint_Evaluator& evaluator);
// Returns true if the constraint is evaluated successfully by
// the evaluator.
};
#include "ace/post.h"
#endif /* TAO_NOTIFY_CONSTRAINT_INTERPRETER_H */
|