Changeset 3208 in Sophya for trunk/SophyaLib/BaseTools/datatype.h


Ignore:
Timestamp:
Apr 10, 2007, 5:57:02 PM (18 years ago)
Author:
ansari
Message:

Ajout classe ThSafeOp (thsafeop.h) pour rendre NDataBlock<T> (et SegDataBlock) thread-safe, ajout methode DataTypeInfo::getTypeId() , implementation ThSafeOp ds ndatablock.cc (.h), Reza 10/04/2007

File:
1 edited

Legend:

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

    r1238 r3208  
    1313namespace SOPHYA {
    1414
     15//! class returning type name for usual numrical types (int_2,int_4,r_4,r_8 ...)
    1516template <class T>
    1617class DataTypeInfo {
    1718public:
    1819  static string getTypeName();
     20  static int    getTypeId();
    1921  DataTypeInfo();
    2022};
Note: See TracChangeset for help on using the changeset viewer.