Changes between Version 22 and Version 23 of FDORfc6


Ignore:
Timestamp:
Jul 30, 2007, 3:35:25 PM (17 years ago)
Author:
gregboone
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FDORfc6

    v22 v23  
    1010||Last Modified||Maggie Yang [[Timestamp]]||
    1111||Author||Maggie Yang||
    12 ||RFC Status||draft||
    13 ||Implementation Status||under development ||
    14 ||Proposed Milestone||TBD||
    15 ||Assigned PSC guide(s)||TBD||
     12||RFC Status||Draft||
     13||Implementation Status||Under Development ||
     14||Proposed Milestone||3.3.0.0||
     15||Assigned PSC guide(s)||Greg Boone||
    1616||'''Voting History'''||TBD||
    1717||+1|| ||
     
    3636
    3737/// \brief
    38 /// The WmsCommandType enumeration defines the list of WMS+ commands.
    39 enum WmsCommandType{
     38/// The FdoWmsCommandType enumeration defines the list of WMS Provider specific commands.
     39enum FdoWmsCommandType{
    4040
    4141    /// Represents the GetImageFormats command.
    42     WmsCommandType_GetImageFormats =  FdoCommandType_FirstProviderCommand + WMS_FIRST_PROVIDER_COMMAND,
    43     WmsCommandType_GetFeatureClassStyles,
    44     WmsCommandType_GetFeatureClassCRSNames
     42    FdoWmsCommandType_GetImageFormats =  FdoCommandType_FirstProviderCommand + WMS_FIRST_PROVIDER_COMMAND,
     43    FdoWmsCommandType_GetFeatureClassStyles,
     44    FdoWmsCommandType_GetFeatureClassCRSNames
    4545};
    4646}}}
    4747
     483 new commands will be added to the FDO WMS Providers, individually for getting image formats, styles and CS names.
    4849
    49 3 new commands will be added to the FDO WMS Providers, individually for getting image formats, styles and CS names.
    50 [[BR]] * '''''Get Image Formats Command'''''
     50=== Get Image Formats Command ===
     51
    5152{{{
    52 class FdoIGetImageFormats: public FdoICommand
     53class FdoWmsIGetImageFormats: public FdoICommand
    5354{
    54     friend class FdoIConnection;
    55 
    5655public:
    5756    /// \brief
     
    6564};
    6665
    67 class FdoWmsGetImageFormatsCommand : public FdoWmsCommand<FdoIGetImageFormats>
    68 {
    69     friend class FdoWmsConnection;
    70 
    71 protected:
    72     //
    73     // Prevent the use of the copy constructor by definning it and not implemeting it.
    74     // DO NOT IMPLEMENT
    75     FdoWmsGetImageFormatsCommand (const FdoWmsGetImageFormatsCommand &right);
    76 
    77     /// <summary>Constructs an instance of a command for the given connection. </summary>
    78     /// <returns>Returns nothing</returns>
    79     FdoWmsGetImageFormatsCommand (FdoIConnection* connection);
    80 
    81     /// <summary>Virtual Destructor.</summary>
    82     /// <returns>Returns nothing</returns>
    83     virtual ~ FdoWmsGetImageFormatsCommand (void);
    84 
    85     /// <summary>Dispose this object.</summary>
    86     /// <returns>Returns nothing</returns>
    87     virtual void Dispose ();
    88 
    89     // Prevent the use of the Assignment Operation by definning it and not implemeting it.
    90     // DO NOT IMPLEMENT
    91     FdoWmsGetImageFormatsCommand & operator= (const FdoWmsGetImageFormatsCommand &right);
    92 
    93 public:
    94     //
    95     /// <summary>
    96     /// Executes the GetFormats command and returns a
    97     /// FdoStringCollection, which contains all image formats supported by WMS service.
    98     /// <returns>
    99     /// Returns the image format collection supported by WMS service.
    100     /// </returns>
    101     virtual FdoStringCollection* Execute ();
    102 
    103 };
    10466}}}
    10567
    106 [[BR]] * '''''Get Styles Command Interface'''''
    107 [[BR]]''Note: FeatureClass is a FDO conception, one feature class is correspond with one layer name in the WMS service. We use feature class, instead of layer here, in order to avoid the confusion of FDO user.''
     68=== Get Styles Command ===
     69
     70''NOTE: FeatureClass is a FDO conception, one feature class is correspond with one layer name in the WMS service. We use feature class, instead of layer here, in order to avoid the confusion of FDO user.''
     71
    10872{{{
    109 class FdoIGetFeatureClassStyles : public FdoICommand
     73class FdoWmsIGetFeatureClassStyles : public FdoICommand
    11074{
    111     friend class FdoIConnection;
    112 
    11375public:
    11476    /// \brief
     
    145107};
    146108
    147 class FdoWmsGetFeatureClassStylesCommand : public FdoWmsCommand< FDOIGetFeatureClassStyles >
    148 {
    149     friend class FdoWmsConnection;
    150 
    151 protected:
    152     //
    153     // Prevent the use of the copy constructor by definning it and not implemeting it.
    154     // DO NOT IMPLEMENT
    155     FdoWmsGetFeatureClassStylesCommand  (const FdoWmsGetFeatureClassStylesCommand  &right);
    156 
    157     // <summary>Constructs an instance of a command for the given connection. </summary>
    158     // <returns>Returns nothing</returns>
    159     FdoWmsGetFeatureClassStylesCommand  (FdoIConnection* connection);
    160 
    161     // <summary>Virtual Destructor.</summary>
    162     // <returns>Returns nothing</returns>
    163     virtual ~ FdoWmsGetFeatureClassStylesCommand  (void);
    164 
    165     // <summary>Dispose this object.</summary>
    166     // <returns>Returns nothing</returns>
    167     virtual void Dispose ();
    168 
    169     // Prevent the use of the Assignment Operation by definning it and not implemeting it.
    170     // DO NOT IMPLEMENT
    171     FdoWmsGetFeatureClassStylesCommand  & operator= (const FdoWmsGetFeatureClassStylesCommand  &right);
    172 
    173 public:
    174     //
    175     /// <summary>Gets the name of the feature class to get all supported styles. </summary>
    176     /// <returns>Returns the feature class name</returns>
    177     virtual FdoString* GetFeatureClassName ();
    178 
    179     /// <summary>Sets the name of the FeatureClass to get all supported styles
    180     /// This function is mandatory; if not specified,
    181     /// execution of the command will throw exception.
    182     /// </summary>
    183     /// <param name="value">Input the FeatureClass name</param>
    184     /// <returns>Returns nothing</returns>
    185     virtual void SetFeatureClassName (FdoString* value);
    186 
    187     /// <summary>
    188     /// Executes the GetFeatureClassStyles command and returns a
    189     /// FdoStringCollection, which contains entire styles supported by feature class.
    190     /// and all styles supported by its ancestors, because WMS service supports Style
    191     /// declarations are inherited by child Layers.
    192     ///
    193     /// </summary>
    194     /// <returns> Returns the style collection supported by FeatureClass. </returns>
    195     virtual FdoStringCollection* Execute ();
    196 
    197 private:
    198     FdoStringP mFeatureClassName;
    199 };
    200109}}}
    201110
    202 [[BR]] * '''''Get CRS Names Command Interface'''''
    203 [[BR]]''Note: FeatureClass is a FDO conception, one feature class is correspond with one layer name in the WMS service. We use feature class, instead of layer here, in order to avoid the confusion of FDO user.''
     111=== Get CRS Names Command ===
     112
     113''NOTE: A FeatureClass is an FDO concept. One feature class corresponds to one layer name in the originating WMS service. We use feature class, instead of layer here, in order to remain consistant with the feature concepts defined in the FDO API.''
    204114
    205115{{{
    206 class FdoIGetFeatureClassCRSNames: public FdoICommand
     116class FdoWmsIGetFeatureClassCRSNames: public FdoICommand
    207117{
    208     friend class FdoIConnection;
    209 
    210118public:
    211119    /// \brief
     
    242150};
    243151
    244 class FdoWmsGetFeatureClassCRSNamesCommand: public FdoWmsCommand< FdoIGetFeatureClassCRSNames >
    245 {
    246     friend class FdoWmsConnection;
    247 
    248 protected:
    249     //
    250     // Prevent the use of the copy constructor by definning it and not implemeting it.
    251     // DO NOT IMPLEMENT
    252     FdoWmsGetFeatureClassCRSNamesCommand (const FdoWmsGetFeatureClassCRSNamesCommand &right);
    253 
    254     // <summary>Constructs an instance of a command for the given connection. </summary>
    255     // <returns>Returns nothing</returns>
    256     FdoWmsGetFeatureClassCRSNamesCommand (FdoIConnection* connection);
    257 
    258     // <summary>Virtual Destructor.</summary>
    259     // <returns>Returns nothing</returns>
    260     virtual ~ FdoWmsGetFeatureClassCRSNamesCommand (void);
    261 
    262     // <summary>Dispose this object.</summary>
    263     // <returns>Returns nothing</returns>
    264     virtual void Dispose ();
    265 
    266     // Prevent the use of the Assignment Operation by defining it and not implementing it.
    267     // DO NOT IMPLEMENT
    268     FdoWmsGetFeatureClassCRSNamesCommand & operator= (const FdoWmsGetFeatureClassCRSNamesCommand &right);
    269 
    270 public:
    271     //
    272     /// <summary> Gets the name of the FeatureClass to get all supported CRS names. </summary>
    273     /// <returns>Returns the FeatureClass name</returns>
    274     virtual FdoString* GetFeatureClassName ();
    275 
    276     /// <summary> Sets the name of the FeatureClass to get all supported CRS names.
    277     /// This function is mandatory; if not specified,
    278     /// execution of the command will throw exception.
    279     /// </summary>
    280     /// <param name="value">Input the FeatureClass name</param>
    281     /// <returns>Returns nothing</returns>
    282     virtual void SetFeatureClassName (FdoString* value);
    283 
    284     /// <summary>
    285     /// Executes the GetFeatureClassCRSNames command and returns a
    286     /// FdoStringCollection, which contains entire CRS names supported by feature class.
    287     /// and all CRS names supported by its ancestors, because WMS service supports CRS
    288     /// declarations are inherited by child Layers.
    289     /// </summary>
    290     /// <returns> Returns the CRS names collection supported by FeatureClass.</returns>
    291     virtual FdoStringCollection* Execute ();
    292 
    293 private:
    294     FdoStringP mFeatureClassName;
    295 };
    296152}}}
    297153