00001 00002 // File: ccstruct.h 00003 // Description: ccstruct class. 00004 // Author: Samuel Charron 00005 // 00006 // (C) Copyright 2006, Google Inc. 00007 // Licensed under the Apache License, Version 2.0 (the "License"); 00008 // you may not use this file except in compliance with the License. 00009 // You may obtain a copy of the License at 00010 // http://www.apache.org/licenses/LICENSE-2.0 00011 // Unless required by applicable law or agreed to in writing, software 00012 // distributed under the License is distributed on an "AS IS" BASIS, 00013 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00014 // See the License for the specific language governing permissions and 00015 // limitations under the License. 00016 // 00018 00019 #ifndef TESSERACT_CCSTRUCT_CCSTRUCT_H__ 00020 #define TESSERACT_CCSTRUCT_CCSTRUCT_H__ 00021 00022 #include "cutil.h" 00023 #include "image.h" 00024 00025 class PBLOB; 00026 class DENORM; 00027 class WERD; 00028 class BLOB_CHOICE_LIST; 00029 00030 namespace tesseract { 00031 class CCStruct : public CUtil { 00032 public: 00033 CCStruct(); 00034 ~CCStruct(); 00035 00036 protected: 00037 Image image_; 00038 }; 00039 00040 class Tesseract; 00041 } // namespace tesseract 00042 00043 typedef void (tesseract::Tesseract::*POLY_MATCHER) 00044 (PBLOB *, PBLOB *, PBLOB *, WERD *, 00045 DENORM *, BLOB_CHOICE_LIST *, const char*); 00046 /* 00047 typedef void (tesseract::Tesseract::*POLY_TESTER) 00048 (const STRING&, PBLOB *, DENORM *, BOOL8, char *, 00049 inT32, BLOB_CHOICE_LIST *); 00050 */ 00051 00052 #endif // TESSERACT_CCSTRUCT_CCSTRUCT_H__