COOPY » Guide  version 0.6.5
/home/paulfitz/cvs/coopy_scm/coopy/src/libcoopy_full/include/coopy/FilteredTextBook.h
Go to the documentation of this file.
00001 #ifndef COOPY_FILTEREDTEXTBOOK
00002 #define COOPY_FILTEREDTEXTBOOK
00003 
00004 #include <coopy/PolyBook.h>
00005 
00006 namespace coopy {
00007   namespace store {
00008     class FilteredTextBook;
00009   }
00010 }
00011 
00017 class coopy::store::FilteredTextBook : public PolyBook {
00018 public:
00019   std::vector<std::string> names;
00020   PolyBook orig;
00021 
00022   FilteredTextBook(TextBook *book, const  std::vector<std::string>& names) {
00023     this->names = names;
00024     take(book);
00025   }
00026 
00027   virtual std::vector<std::string> getNames() {
00028     return names;
00029   }
00030 };
00031 
00032 #endif
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines