If I define a CPLString this way:

CPLString osString; 

And I want to check if osString is not empty, what would be the best way?

My bet:

if (osString.c_str() == NULL) 

But I find it a little rusty... Is there any other better way?

Many thanks in advance 

-- 
Jorge Arevalo
Freelance developer

http://www.krop.com/jorgearevalo
http://about.me/jorgeas80

Enviado con Sparrow (http://www.sparrowmailapp.com/?sig)


_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to