pdf_search_criteria.h

Go to the documentation of this file.
00001 /*
00002  * File Name: pdf_search_criteria.h
00003  */
00004 
00005 /*
00006  * This file is part of uds-plugin-pdf.
00007  *
00008  * uds-plugin-pdf is free software: you can redistribute it and/or modify
00009  * it under the terms of the GNU General Public License as published by
00010  * the Free Software Foundation, either version 2 of the License, or
00011  * (at your option) any later version.
00012  *
00013  * uds-plugin-pdf is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00016  * GNU General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with this program. If not, see <http://www.gnu.org/licenses/>.
00020  */
00021 
00022 /**
00023  * Copyright (C) 2008 iRex Technologies B.V.
00024  * All rights reserved.
00025  */
00026 
00027 #ifndef PDF_SEARCH_CRITERIA_H_
00028 #define PDF_SEARCH_CRITERIA_H_
00029 
00030 #include "pdf_define.h"
00031 
00032 namespace pdf
00033 {
00034 
00035 /// @brief PDFSearchCriteria
00036 struct PDFSearchCriteria
00037 {
00038     string  text;
00039     bool    case_sensitive;
00040     bool    match_whole_word;
00041     bool    forward;
00042 
00043     PDFSearchCriteria()
00044         : text(), case_sensitive(false), match_whole_word(false), forward(false)
00045     {}
00046 
00047     explicit PDFSearchCriteria(const PDFSearchCriteria &right)
00048         : text(right.text), case_sensitive(right.case_sensitive)
00049         , match_whole_word(right.match_whole_word)
00050         , forward(right.forward)
00051     {
00052     }
00053 
00054     ~PDFSearchCriteria() {}
00055 };
00056 
00057 };
00058 
00059 #endif // PDF_SEARCH_CRITERIA_H_
00060 
00061 
Generated by  doxygen 1.6.2-20100208