COOPY » Guide
version 0.6.5
|
00001 #include <coopy/TextBookFactory.h> 00002 00003 #include <stdio.h> 00004 00005 using namespace coopy::store; 00006 00007 TextBookFactory::TextBookFactory() { 00008 } 00009 00010 #define OK(x) ((x)?"yes":"no") 00011 00012 void AttachConfig::show() const { 00013 printf("cancreate? %s shouldcreate? %s overwrite? %s read? %s write? %s prev? %s\n", 00014 OK(canCreate), OK(shouldCreate), 00015 OK(canOverwrite), 00016 OK(shouldRead), OK(shouldWrite), 00017 OK(prevBook!=NULL)); 00018 00019 }