summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Log/Log_Constraint_Interpreter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Log/Log_Constraint_Interpreter.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/Log/Log_Constraint_Interpreter.cpp49
1 files changed, 0 insertions, 49 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Log/Log_Constraint_Interpreter.cpp b/TAO/orbsvcs/orbsvcs/Log/Log_Constraint_Interpreter.cpp
deleted file mode 100644
index e741de09004..00000000000
--- a/TAO/orbsvcs/orbsvcs/Log/Log_Constraint_Interpreter.cpp
+++ /dev/null
@@ -1,49 +0,0 @@
-#include "orbsvcs/Log/Log_Constraint_Interpreter.h"
-
-#include "orbsvcs/Log/Log_Constraint_Visitors.h"
-
-ACE_RCSID (Log,
- Log_Constraint_Interpreter,
- "$Id$")
-
-TAO_BEGIN_VERSIONED_NAMESPACE_DECL
-
-TAO_Log_Constraint_Interpreter::TAO_Log_Constraint_Interpreter (
- const char *constraints
- ACE_ENV_ARG_DECL
- )
- ACE_THROW_SPEC ((DsLogAdmin::InvalidConstraint,
- CORBA::NO_MEMORY))
-{
- if (TAO_ETCL_Interpreter::is_empty_string (constraints))
- {
- // Root is deleted in the TAO_Interpreter's destructor.
- ACE_NEW_THROW_EX (this->root_,
- TAO_ETCL_Literal_Constraint ((CORBA::Boolean) 1),
- CORBA::NO_MEMORY ());
- ACE_CHECK;
- }
- else
- {
- // root_ is set in this base class call.
- if (TAO_ETCL_Interpreter::build_tree (constraints) != 0)
- ACE_THROW (DsLogAdmin::InvalidConstraint ());
- }
-}
-
-TAO_Log_Constraint_Interpreter::~TAO_Log_Constraint_Interpreter (void)
-{
-}
-
-CORBA::Boolean
-TAO_Log_Constraint_Interpreter::evaluate (
- TAO_Log_Constraint_Visitor &evaluator
- )
-{
- CORBA::Boolean retval =
- evaluator.evaluate_constraint (this->root_);
-
- return retval;
-}
-
-TAO_END_VERSIONED_NAMESPACE_DECL