Changeset 778 for XIOS/trunk/src/attribute_array_impl.hpp
- Timestamp:
- 11/04/15 15:50:19 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/attribute_array_impl.hpp
r775 r778 133 133 void CAttributeArray<T_numtype, N_rank>::generateCInterface(ostream& oss,const string& className) 134 134 { 135 if (this->isAttributePublic()) 136 CInterface::AttributeCInterface<CArray<T_numtype, N_rank> >(oss, className, this->getName()) ; 135 CInterface::AttributeCInterface<CArray<T_numtype, N_rank> >(oss, className, this->getName()); 137 136 } 138 137 … … 140 139 void CAttributeArray<T_numtype, N_rank>::generateFortran2003Interface(ostream& oss,const string& className) 141 140 { 142 if (this->isAttributePublic()) 143 CInterface::AttributeFortran2003Interface<CArray<T_numtype, N_rank> >(oss, className, this->getName()) ; 141 CInterface::AttributeFortran2003Interface<CArray<T_numtype, N_rank> >(oss, className, this->getName()); 144 142 } 145 143 … … 147 145 void CAttributeArray<T_numtype, N_rank>::generateFortranInterfaceDeclaration_(ostream& oss,const string& className) 148 146 { 149 if (this->isAttributePublic()) 150 CInterface::AttributeFortranInterfaceDeclaration<CArray<T_numtype, N_rank> >(oss, className, this->getName()+"_") ; 147 CInterface::AttributeFortranInterfaceDeclaration<CArray<T_numtype, N_rank> >(oss, className, this->getName() + "_"); 151 148 } 152 149 … … 154 151 void CAttributeArray<T_numtype, N_rank>::generateFortranInterfaceBody_(ostream& oss,const string& className) 155 152 { 156 if (this->isAttributePublic()) 157 CInterface::AttributeFortranInterfaceBody<CArray<T_numtype, N_rank> >(oss, className, this->getName()) ; 153 CInterface::AttributeFortranInterfaceBody<CArray<T_numtype, N_rank> >(oss, className, this->getName()); 158 154 } 159 155 … … 161 157 void CAttributeArray<T_numtype, N_rank>::generateFortranInterfaceDeclaration(ostream& oss,const string& className) 162 158 { 163 if (this->isAttributePublic()) 164 CInterface::AttributeFortranInterfaceDeclaration<CArray<T_numtype, N_rank> >(oss, className, this->getName()) ; 159 CInterface::AttributeFortranInterfaceDeclaration<CArray<T_numtype, N_rank> >(oss, className, this->getName()); 165 160 } 166 161 … … 168 163 void CAttributeArray<T_numtype, N_rank>::generateFortranInterfaceGetDeclaration_(ostream& oss,const string& className) 169 164 { 170 if (this->isAttributePublic()) 171 CInterface::AttributeFortranInterfaceGetDeclaration<CArray<T_numtype, N_rank> >(oss, className, this->getName()+"_") ; 165 CInterface::AttributeFortranInterfaceGetDeclaration<CArray<T_numtype, N_rank> >(oss, className, this->getName() + "_"); 172 166 } 173 167 … … 175 169 void CAttributeArray<T_numtype, N_rank>::generateFortranInterfaceGetBody_(ostream& oss,const string& className) 176 170 { 177 if (this->isAttributePublic()) 178 CInterface::AttributeFortranInterfaceGetBody<CArray<T_numtype, N_rank> >(oss, className, this->getName()) ; 171 CInterface::AttributeFortranInterfaceGetBody<CArray<T_numtype, N_rank> >(oss, className, this->getName()); 179 172 } 180 173 … … 182 175 void CAttributeArray<T_numtype, N_rank>::generateFortranInterfaceGetDeclaration(ostream& oss,const string& className) 183 176 { 184 if (this->isAttributePublic()) 185 CInterface::AttributeFortranInterfaceGetDeclaration<CArray<T_numtype, N_rank> >(oss, className, this->getName()) ; 177 CInterface::AttributeFortranInterfaceGetDeclaration<CArray<T_numtype, N_rank> >(oss, className, this->getName()); 186 178 } 187 179 } // namespace xios
Note: See TracChangeset
for help on using the changeset viewer.