[fdo-trac] #679: Add GetExpressionIdentifiers to the Expression Engine

FDO trac_fdo at osgeo.org
Fri Aug 13 14:28:27 EDT 2010


#679: Add GetExpressionIdentifiers to the Expression Engine
-----------------------------+----------------------------------------------
   Reporter:  gregboone      |       Owner:  gregboone        
       Type:  enhancement    |      Status:  assigned         
   Priority:  major          |   Milestone:  3.6.0            
  Component:  Utilities API  |     Version:                   
   Severity:  3              |    Keywords:  Expression Engine
External_id:                 |  
-----------------------------+----------------------------------------------

Comment(by gregboone):

 This will be a static method:


 {{{
     /// \brief
     /// Returns the list of class identifiers referenced by an expression
     ///
     /// \param functions
     /// Input a list of functions to be used when processing function type
 expressions
     ///
     /// \param originalClassDef
     /// Input the class definition applicable to the expression being
 evaluated
     ///
     /// \param expression
     /// Input the expression to be evaluated
     ///
     /// \param identifiers
     /// Output the IdentifierCollection that will be populated with the
 list of class
     /// identifiers referenced by the expression
     ///
     /// \return
     /// Returns nothing
     ///
     EXPRESSIONENGINE_API static void
 GetExpressionIdentifiers(FdoFunctionDefinitionCollection
 *functionDefinitions,
 FdoClassDefinition* originalClassDef,
 FdoExpression *expression,
 FdoIdentifierCollection* identifiers);

     /// \brief
     /// Returns the list of class identifiers referenced by an expression
     ///
     /// \param originalClassDef
     /// Input the class definition applicable to the expression being
 evaluated
     ///
     /// \param expression
     /// Input the expression to be evaluated
     ///
     /// \param identifiers
     /// Output the IdentifierCollection that will be populated with the
 list of class
     /// identifiers referenced by the expression
     ///
     /// \return
     /// Returns nothing
     ///
     EXPRESSIONENGINE_API static void
 GetExpressionIdentifiers(FdoClassDefinition* originalClassDef,
 FdoExpression *expression,
 FdoIdentifierCollection* identifiers);
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/679#comment:2>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list