COOPY » Guide  version 0.6.5
/home/paulfitz/cvs/coopy_scm/coopy/src/libcoopy_full/ShortTextBook.cpp
Go to the documentation of this file.
00001 
00002 #include <coopy/ShortTextBook.h>
00003 
00004 #include <coopy/CsvFile.h>
00005 
00006 using namespace coopy::store;
00007 using namespace std;
00008 
00009 bool ShortTextBook::open(const Property& config) {
00010   if (!config.check("file")) return false;
00011   if (config.check("name")) {
00012     name = config.get("name").asString();
00013   }
00014   return CsvFile::read(config.get("file").asString().c_str(),sheet,config)==0;
00015 }
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines