Changes between Version 3 and Version 4 of FdoEnhancedVersionSupport


Ignore:
Timestamp:
Oct 18, 2007, 9:20:52 AM (17 years ago)
Author:
gregboone
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FdoEnhancedVersionSupport

    v3 v4  
    1671673.1.2[[br]]
    168168
     169The 4th example is for illustration and would not likely happen in the real world. It is unlikely that versions as similar as 3.1.0.1 and 3.1.0.2 would be incompatible.
    169170
     171==== !FdoProviderNameTokens ====
     172
     173This class will be modified to support the removing of version parts from a provider name.
     174
     175'''!ToString (new)'''
     176
     177This function converts this tokenize provider name back to a string:
     178
     179{{{
     180GisStringP FdoProviderNameTokens::ToString( bool includeVersion = true )
     181}}}
     182
     183When includeVersion is true, the full provider name is returned. When includeVersion is false, the version parts are omitted from the returned name.
     184
     185For Example, the following removes the version parts from a provider name:
     186
     187{{{
     188FdoStringP srcName = L"OSGeo.SDF.3.1";
     189FdoStringP destName;
     190FdoProviderNameTokensP tokens = FdoProviderNameTokens::Create( srcName );
     191destName = tokens->ToString( false );
     192assert ( destName == L"OSGeo.SDF" );
     193}}}
     194
     195