Changeset 3232 in Sophya for trunk


Ignore:
Timestamp:
Apr 27, 2007, 5:19:39 PM (18 years ago)
Author:
ansari
Message:

Ajout namespace SOPHYA ds les fichiers .cc au lieu de include sopnamsp.h en presence de DECL_TEMP_SPEC , cmv+reza 27/04/2007

Location:
trunk/SophyaLib/BaseTools
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/BaseTools/datatype.cc

    r3225 r3232  
    44// LAL (Orsay) / IN2P3-CNRS  DAPNIA/SPP (Saclay) / CEA
    55
    6 #include "sopnamsp.h"
    76#include "datatype.h"
    87#include <typeinfo>
    98
    109#include <complex>
     10
     11namespace SOPHYA {
    1112
    1213template <class T>
     
    169170}
    170171
     172
    171173#ifdef __CXX_PRAGMA_TEMPLATES__
    172174#pragma define_template DataTypeInfo<uint_1>
     
    185187
    186188#if defined(ANSI_TEMPLATES) || defined(GNU_TEMPLATES)
    187 namespace SOPHYA {
    188189template class DataTypeInfo<uint_1>;
    189190template class DataTypeInfo<int_1>;
     
    198199template class DataTypeInfo< complex<r_4> >;
    199200template class DataTypeInfo< complex<r_8> >;
    200 }
    201 #endif
     201#endif
     202
     203} // FIN namespace SOPHYA
  • trunk/SophyaLib/BaseTools/dvlist.cc

    r2936 r3232  
    33// LAL (Orsay) / IN2P3-CNRS  DAPNIA/SPP (Saclay) / CEA
    44
    5 #include "sopnamsp.h"
    65#include "machdefs.h"
    76#include <stdlib.h>
     
    109#include "dvlist.h"
    1110#include "strutil.h"
     11
     12namespace SOPHYA {
    1213
    1314//++
     
    624625}
    625626
     627
    626628#ifdef __CXX_PRAGMA_TEMPLATES__
    627629#pragma define_template ObjFileIO<DVList>
     
    629631
    630632#if defined(ANSI_TEMPLATES) || defined(GNU_TEMPLATES)
    631 template class SOPHYA::ObjFileIO<DVList>;
     633template class ObjFileIO<DVList>;
    632634#endif
     635
     636} // FIN namespace SOPHYA
     637
  • trunk/SophyaLib/BaseTools/ppftpointerio.cc

    r2859 r3232  
    55
    66#include "machdefs.h"
    7 #include "sopnamsp.h"
    87#include "ppftpointerio.h"
    98
     9namespace SOPHYA {
     10
    1011//----------------------------------------------------------------------
    11 namespace SOPHYA {
    1212//! \cond
    1313// Specific implementation using table I/O in PPFBinaryIOStreams
     
    8181//! \endcond
    8282
    83 }  // namespace SOPHYA
    8483/*
    8584#ifdef __CXX_PRAGMA_TEMPLATES__
     
    10099
    101100#if defined(ANSI_TEMPLATES) || defined(GNU_TEMPLATES)
    102 namespace SOPHYA {
    103101template class PPF_TPointer_IO< char >;
    104102template class PPF_TPointer_IO< int_1 >;
     
    114112template class PPF_TPointer_IO< complex<r_4> >;
    115113template class PPF_TPointer_IO< complex<r_8> >;
    116 }
    117114#endif
    118115*/
     116
     117}  // namespace SOPHYA
  • trunk/SophyaLib/BaseTools/timestamp.cc

    r3082 r3232  
    1 #include "sopnamsp.h"
    21#include "machdefs.h"
    32#include <stdio.h>
     
    87#include "pexceptions.h"
    98#include <iostream>
     9
     10namespace SOPHYA {
    1011
    1112/*!
     
    352353
    353354#if defined(ANSI_TEMPLATES) || defined(GNU_TEMPLATES)
    354 template class SOPHYA::ObjFileIO<TimeStamp>;
     355template class ObjFileIO<TimeStamp>;
    355356#endif
     357
     358} // FIN namespace SOPHYA
Note: See TracChangeset for help on using the changeset viewer.