[of-dev] ofDirectoryLister

arturo castro arturo at openframeworks.cc
Mon Apr 11 12:46:59 PDT 2011


it's integrated into ofDir now. we've split ofFileUtils into ofFile +
ofDir and merged ofDirectoryLister with ofDir :S

also ofFile has stream capabilities now so you can do things like

cout << ofFile("file.txt");

ofFile filew("file.txt",ofFile::WriteOnly);
filew << 5 << " " << ofVec3f(0,0,1);
filew.close();

ofFile filer("file.txt");
int a;
ofVec3f v;
filer >> a >> v;

ofBuffer buf;
ofFile("file.txt") >> buf;

....

El lun, 11-04-2011 a las 20:40 +0100, Memo Akten escribió:
> Hey, just wondering what happened to ofDirectoryLister?
> 
> -- 
> Memo Akten
> 
> 
> www.memo.tv
> www.twitter.com/memotv
> www.msavisuals.com
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> of-dev mailing list
> of-dev at dev.openframeworks.cc
> http://dev.openframeworks.cc/listinfo.cgi/of-dev-openframeworks.cc





More information about the of-dev mailing list