www.digitalmars.com         C & C++   DMDScript  

c++.stlsoft - Does STLSoft have a function to test if a string can be a valid file

reply "Adi" <adishavit_thisDoesNotBelongHere_ gmail.com> writes:
Hi,

   I want to test a string to see if it a valid file-name (even if 
the file does not exist).

Does STLSoft (or PlatformSTL) provide any way to do this?

Thanks,
Adi
Feb 23 2012
next sibling parent reply "Matt Wilson" <matthewwilson acm.org> writes:
No, but it arguably should.

I'm hoping to finally get 1.10-proper going soon, so maybe that can be added 
in then. Are you interested in working on it with me? :-)

Matt

"Adi" <adishavit_thisDoesNotBelongHere_ gmail.com> wrote in message 
news:wfwnxctpupnfhhmhlrnp forum.dlang.org...
 Hi,

   I want to test a string to see if it a valid file-name (even if the file 
 does not exist).

 Does STLSoft (or PlatformSTL) provide any way to do this?

 Thanks,
 Adi 

Feb 26 2012
parent "Matt Wilson" <matthewwilson acm.org> writes:
Did a chunk of this a few days ago. Will send through to you off-list, and 
we can talk more about it then.

Note: it's somewhat complicated/verbose/constrained because I required it to 
be C-compatible.

Matt

P.S. Nearly there on the other stuff we've been talking about ... ;-)


"Adi" <adishavit_thisDoesNotBelongHere_ gmail.com> wrote in message 
news:aizufidmkdkkhotlhsdg forum.dlang.org...
 Sure. I can do a Windows version.
 Please suggest a proper API.
 We can take it off-list.
 Adi

 On Monday, 27 February 2012 at 02:34:52 UTC, Matt Wilson wrote:
 No, but it arguably should.

 I'm hoping to finally get 1.10-proper going soon, so maybe that can be 
 added
 in then. Are you interested in working on it with me? :-)

 Matt

 "Adi" <adishavit_thisDoesNotBelongHere_ gmail.com> wrote in message
 news:wfwnxctpupnfhhmhlrnp forum.dlang.org...
 Hi,

   I want to test a string to see if it a valid file-name (even if the 
 file does not exist).

 Does STLSoft (or PlatformSTL) provide any way to do this?

 Thanks,
 Adi



Mar 04 2012
prev sibling parent "Adi" <adishavit_thisDoesNotBelongHere_ gmail.com> writes:
Sure. I can do a Windows version.
Please suggest a proper API.
We can take it off-list.
Adi

On Monday, 27 February 2012 at 02:34:52 UTC, Matt Wilson wrote:
 No, but it arguably should.

 I'm hoping to finally get 1.10-proper going soon, so maybe that 
 can be added
 in then. Are you interested in working on it with me? :-)

 Matt

 "Adi" <adishavit_thisDoesNotBelongHere_ gmail.com> wrote in 
 message
 news:wfwnxctpupnfhhmhlrnp forum.dlang.org...
 Hi,

   I want to test a string to see if it a valid file-name (even 
 if the file does not exist).

 Does STLSoft (or PlatformSTL) provide any way to do this?

 Thanks,
 Adi


Feb 26 2012