CoreLinux++  0.4.32
Strategy.hpp
1 #if !defined (__STRATEGY_HPP)
2 #define __STRATEGY_HPP
3 
4 /*
5  CoreLinux++
6  Copyright (C) 1999,2000 CoreLinux Consortium
7 
8  The CoreLinux++ Library is free software; you can redistribute it and/or
9  modify it under the terms of the GNU Library General Public License as
10  published by the Free Software Foundation; either version 2 of the
11  License, or (at your option) any later version.
12 
13  The CoreLinux++ Library Library is distributed in the hope that it will
14  be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  Library General Public License for more details.
17 
18  You should have received a copy of the GNU Library General Public
19  License along with the GNU C Library; see the file COPYING.LIB. If not,
20  write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21  Boston, MA 02111-1307, USA.
22 */
23 
24 #if !defined( __COMMON_HPP)
25 #include <Common.hpp>
26 #endif
27 
28 namespace corelinux
29 {
30 
31  DECLARE_CLASS( Strategy );
32 
39  class Strategy
40  {
41  public:
42 
44 
45  Strategy( void );
46 
52 
54 
55  virtual ~Strategy( void );
56 
57  //
58  // Operator overloads
59  //
67 
74  bool operator==( StrategyCref ) const;
75 
82  bool operator!=( StrategyCref ) const;
83 
84  };
85 
86 }
87 
88 #endif // if !defined(__STRATEGY_HPP)
89 
90 /*
91  Common rcs information do not modify
92  $Author: frankc $
93  $Revision: 1.1 $
94  $Date: 2000/05/13 12:32:21 $
95  $Locker: $
96 */
97 
98 
virtual ~Strategy(void)
Virtual Destructor.
Definition: Strategy.cpp:53
StrategyRef operator=(StrategyCref)
Assignment operator overload.
Definition: Strategy.cpp:62
Strategy is a base class for describing families of alogrithms.
Definition: Strategy.hpp:39
bool operator!=(StrategyCref) const
Non-equality operator overload.
Definition: Strategy.cpp:90
Strategy(void)
Default Constructor.
Definition: Strategy.cpp:35
bool operator==(StrategyCref) const
Equality operator overload.
Definition: Strategy.cpp:71

This is the CoreLinux++ reference manual
Provided by The CoreLinux Consortium