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
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 reply "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
parent reply "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
parent "Matt Wilson" <matthewwilson acm.org> writes:
Started a new project - libpath - on SF, to which I will be releasing in a 
reasonably short amount of time: the path parsing is 95% complete; the path 
comparison about 30%.

Interestingly, so far it has no dependency on STLSoft

Am also hoping to get out an article on its design parameters and motivation 
soon(-ish)

Matt


"Matt Wilson" <matthewwilson acm.org> wrote in message 
news:jj1c26$2kd6$1 digitalmars.com...
 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
Feb 08 2013