Back to index

salome-kernel  6.5.0
Public Types | Static Public Member Functions
atom_manipulation< T > Class Template Reference

#include <CorbaTypeManipulator.hxx>

List of all members.

Public Types

typedef T Type
typedef T CorbaInType
typedef T InnerType

Static Public Member Functions

static Type get_data (CorbaInType data)
static InnerType *const getPointer (Type &data, bool getOwnerShip=false)
static Type clone (Type data)
static void delete_data (Type data)
static size_t size (Type data)
static void dump (CorbaInType data)

Detailed Description

template<typename T>
class atom_manipulation< T >

Definition at line 125 of file CorbaTypeManipulator.hxx.


Member Typedef Documentation

template<typename T>
typedef T atom_manipulation< T >::CorbaInType

Definition at line 130 of file CorbaTypeManipulator.hxx.

template<typename T>
typedef T atom_manipulation< T >::InnerType

Definition at line 131 of file CorbaTypeManipulator.hxx.

template<typename T>
typedef T atom_manipulation< T >::Type

Definition at line 128 of file CorbaTypeManipulator.hxx.


Member Function Documentation

template<typename T>
static Type atom_manipulation< T >::clone ( Type  data) [inline, static]

Definition at line 161 of file CorbaTypeManipulator.hxx.

                                      {
    return data;
  }
template<typename T>
static void atom_manipulation< T >::delete_data ( Type  data) [inline, static]

Definition at line 181 of file CorbaTypeManipulator.hxx.

{}
template<typename T>
static void atom_manipulation< T >::dump ( CorbaInType  data) [inline, static]

Definition at line 189 of file CorbaTypeManipulator.hxx.

                                             {
    std::cerr << "[atom_manipulation] Data : " << data << std::endl;
  }
template<typename T>
static Type atom_manipulation< T >::get_data ( CorbaInType  data) [inline, static]

Definition at line 135 of file CorbaTypeManipulator.hxx.

                                                {
    return data;
  }
template<typename T>
static InnerType* const atom_manipulation< T >::getPointer ( Type data,
bool  getOwnerShip = false 
) [inline, static]

Definition at line 139 of file CorbaTypeManipulator.hxx.

                                                                                    {
//    InnerType * ptr;
//     if (getOwnerShip) {
//       ptr =new InnerType[1];*ptr=data;
//       return ptr;
//     } else
//      return &data;
   return &data;
 }
template<typename T>
static size_t atom_manipulation< T >::size ( Type  data) [inline, static]

Definition at line 184 of file CorbaTypeManipulator.hxx.

                                       { 
    return 1;
  } 

The documentation for this class was generated from the following file: