Ignore:
Timestamp:
02/18/12 22:43:24 (12 years ago)
Author:
ymipsl
Message:

Fortran attribut interface are now automaticaly generated.
Add get attribut fonctionnality from fortran.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/attribute_template_impl.hpp

    r300 r313  
    66#include "buffer_in.hpp" 
    77#include "buffer_out.hpp" 
    8  
     8#include "generate_interface_impl.hpp" 
     9 
     10 
     11   
    912namespace xmlioserver 
    1013{ 
     14 
    1115   namespace tree 
    1216   { 
     
    181185      } 
    182186 
     187      template <typename T> 
     188      void CAttributeTemplate<T>::generateCInterface(ostream& oss,const string& className) 
     189      { 
     190        CInterface::AttributeCInterface<T>(oss, className, this->getName()) ; 
     191      } 
     192       
     193      template <typename T> 
     194      void CAttributeTemplate<T>::generateFortran2003Interface(ostream& oss,const string& className) 
     195      { 
     196        CInterface::AttributeFortran2003Interface<T>(oss, className, this->getName()) ; 
     197      } 
     198       
     199      template <typename T> 
     200      void CAttributeTemplate<T>::generateFortranInterfaceDeclaration_(ostream& oss,const string& className) 
     201      { 
     202        CInterface::AttributeFortranInterfaceDeclaration<T>(oss, className, this->getName()+"_") ; 
     203      } 
     204  
     205      template <typename T> 
     206      void CAttributeTemplate<T>::generateFortranInterfaceBody_(ostream& oss,const string& className) 
     207      { 
     208        CInterface::AttributeFortranInterfaceBody<T>(oss, className, this->getName()) ; 
     209      } 
     210 
     211      template <typename T> 
     212      void CAttributeTemplate<T>::generateFortranInterfaceDeclaration(ostream& oss,const string& className) 
     213      { 
     214        CInterface::AttributeFortranInterfaceDeclaration<T>(oss, className, this->getName()) ; 
     215      } 
     216       
     217      template <typename T> 
     218      void CAttributeTemplate<T>::generateFortranInterfaceGetDeclaration_(ostream& oss,const string& className) 
     219      { 
     220        CInterface::AttributeFortranInterfaceGetDeclaration<T>(oss, className, this->getName()+"_") ; 
     221      } 
     222  
     223      template <typename T> 
     224      void CAttributeTemplate<T>::generateFortranInterfaceGetBody_(ostream& oss,const string& className) 
     225      { 
     226        CInterface::AttributeFortranInterfaceGetBody<T>(oss, className, this->getName()) ; 
     227      } 
     228 
     229      template <typename T> 
     230      void CAttributeTemplate<T>::generateFortranInterfaceGetDeclaration(ostream& oss,const string& className) 
     231      { 
     232        CInterface::AttributeFortranInterfaceGetDeclaration<T>(oss, className, this->getName()) ; 
     233      } 
     234  
     235       
    183236      //--------------------------------------------------------------- 
    184237 
Note: See TracChangeset for help on using the changeset viewer.