Changeset 778 for XIOS/trunk/src/attribute_template_impl.hpp
- Timestamp:
- 11/04/15 15:50:19 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/attribute_template_impl.hpp
r775 r778 245 245 void CAttributeTemplate<T>::generateCInterface(ostream& oss,const string& className) 246 246 { 247 if (this->isAttributePublic()) 248 CInterface::AttributeCInterface<T>(oss, className, this->getName()) ; 249 // CInterface::AttributeIsDefinedCInterface(oss, className, this->getName()) ; 247 CInterface::AttributeCInterface<T>(oss, className, this->getName()); 250 248 } 251 249 … … 253 251 void CAttributeTemplate<T>::generateFortran2003Interface(ostream& oss,const string& className) 254 252 { 255 if (this->isAttributePublic()) 256 CInterface::AttributeFortran2003Interface<T>(oss, className, this->getName()) ; 257 // CInterface::AttributeIsDefinedFortran2003Interface(oss, className, this->getName()) ; 253 CInterface::AttributeFortran2003Interface<T>(oss, className, this->getName()); 258 254 } 259 255 … … 261 257 void CAttributeTemplate<T>::generateFortranInterfaceDeclaration_(ostream& oss,const string& className) 262 258 { 263 if (this->isAttributePublic()) 264 CInterface::AttributeFortranInterfaceDeclaration<T>(oss, className, this->getName()+"_") ; 259 CInterface::AttributeFortranInterfaceDeclaration<T>(oss, className, this->getName() + "_"); 265 260 } 266 261 … … 268 263 void CAttributeTemplate<T>::generateFortranInterfaceBody_(ostream& oss,const string& className) 269 264 { 270 if (this->isAttributePublic()) 271 CInterface::AttributeFortranInterfaceBody<T>(oss, className, this->getName()) ; 265 CInterface::AttributeFortranInterfaceBody<T>(oss, className, this->getName()); 272 266 } 273 267 … … 275 269 void CAttributeTemplate<T>::generateFortranInterfaceDeclaration(ostream& oss,const string& className) 276 270 { 277 if (this->isAttributePublic()) 278 CInterface::AttributeFortranInterfaceDeclaration<T>(oss, className, this->getName()) ; 271 CInterface::AttributeFortranInterfaceDeclaration<T>(oss, className, this->getName()); 279 272 } 280 273 … … 282 275 void CAttributeTemplate<T>::generateFortranInterfaceGetDeclaration_(ostream& oss,const string& className) 283 276 { 284 if (this->isAttributePublic()) 285 CInterface::AttributeFortranInterfaceGetDeclaration<T>(oss, className, this->getName()+"_") ; 277 CInterface::AttributeFortranInterfaceGetDeclaration<T>(oss, className, this->getName() + "_"); 286 278 } 287 279 … … 290 282 void CAttributeTemplate<T>::generateFortranInterfaceGetBody_(ostream& oss,const string& className) 291 283 { 292 if (this->isAttributePublic()) 293 CInterface::AttributeFortranInterfaceGetBody<T>(oss, className, this->getName()) ; 284 CInterface::AttributeFortranInterfaceGetBody<T>(oss, className, this->getName()); 294 285 } 295 286 … … 297 288 void CAttributeTemplate<T>::generateFortranInterfaceGetDeclaration(ostream& oss,const string& className) 298 289 { 299 if (this->isAttributePublic()) 300 CInterface::AttributeFortranInterfaceGetDeclaration<T>(oss, className, this->getName()) ; 290 CInterface::AttributeFortranInterfaceGetDeclaration<T>(oss, className, this->getName()); 301 291 } 302 292
Note: See TracChangeset
for help on using the changeset viewer.