stlfeature.h

Go to the documentation of this file.
00001 /*  -*- c++ -*-  (for Emacs)
00002  *
00003  *  stlfeature.h
00004  * 
00005  *  Created by Aidan Lane on Sun Apr 30 2006.
00006  *  Copyright (c) 2006 Optimisation and Constraint Solving Group,
00007  *  Monash University. All rights reserved.
00008  *
00009  *  This program is free software; you can redistribute it and/or modify
00010  *  it under the terms of the GNU General Public License as published by
00011  *  the Free Software Foundation; either version 2 of the License, or
00012  *  (at your option) any later version.
00013  *
00014  *  This program is distributed in the hope that it will be useful,
00015  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  *  GNU General Public License for more details.
00018  *
00019  *  You should have received a copy of the GNU General Public License
00020  *  along with this program; if not, write to the Free Software
00021  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
00022  */
00023 
00024 #ifndef STLFEATURE_H
00025 #define STLFEATURE_H
00026 
00027 
00028 #include "stlfeatureinterface.h"
00029 
00030 using namespace std;
00031 
00032 
00033 class StlFeature : public StlFeatureInterface {
00034 
00035 public:
00036   StlFeature();
00037   ~StlFeature();
00038 
00039   DECLARE_STL_FEATURE_KEY( "stlfeature" );
00040   DECLARE_STL_FEATURE_TITLE( "STL C++ Feature" );
00041   DECLARE_STL_FEATURE_DESCRIPTION( "This is not a real feature, "
00042                                    "just a \"skeleton\" example of one.");
00043 
00044   StlFeatureResultT calcValue( const StlStroke& stroke, bool* ok = 0 ) const;
00045 };
00046 
00047 
00048 #endif  // ! STLFEATURE_H

Generated on Mon Jul 30 09:46:50 2007 for Digest by  doxygen 1.5.2