Back to index

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

#include <CorbaTypeManipulator.hxx>

List of all members.

Public Types

typedef T * Type
typedef const T & CorbaInType
typedef T InnerType

Static Public Member Functions

static Type get_data (CorbaInType data)
static InnerType *const getPointer (Type data, bool ownerShip=false)
static void relPointer (InnerType *dataPtr)
static Type clone (Type data)
static Type clone (CorbaInType data)
static Type create (size_t size=1)
static void delete_data (Type data)
static size_t size (Type data)
static void dump (CorbaInType data)

Detailed Description

template<typename T>
class user_type_manipulation< T >

Definition at line 66 of file CorbaTypeManipulator.hxx.


Member Typedef Documentation

template<typename T >
typedef const T& user_type_manipulation< T >::CorbaInType

Definition at line 72 of file CorbaTypeManipulator.hxx.

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

Definition at line 73 of file CorbaTypeManipulator.hxx.

template<typename T >
typedef T* user_type_manipulation< T >::Type

Definition at line 69 of file CorbaTypeManipulator.hxx.


Member Function Documentation

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

Definition at line 91 of file CorbaTypeManipulator.hxx.

                                      { 
    return new T (* data);
  } 
template<typename T >
static Type user_type_manipulation< T >::clone ( CorbaInType  data) [inline, static]

Definition at line 94 of file CorbaTypeManipulator.hxx.

                                             {
    return new T (data);
  }
template<typename T >
static Type user_type_manipulation< T >::create ( size_t  size = 1) [inline, static]

Definition at line 99 of file CorbaTypeManipulator.hxx.

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

Definition at line 104 of file CorbaTypeManipulator.hxx.

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

Definition at line 114 of file CorbaTypeManipulator.hxx.

{}
template<typename T >
static Type user_type_manipulation< T >::get_data ( CorbaInType  data) [inline, static]

Definition at line 77 of file CorbaTypeManipulator.hxx.

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

Definition at line 82 of file CorbaTypeManipulator.hxx.

                                                                                {
    return data;
  }
template<typename T >
static void user_type_manipulation< T >::relPointer ( InnerType dataPtr) [inline, static]

Definition at line 86 of file CorbaTypeManipulator.hxx.

                                                     {
    delete dataPtr;
  }
template<typename T >
static size_t user_type_manipulation< T >::size ( Type  data) [inline, static]

Definition at line 109 of file CorbaTypeManipulator.hxx.

                                       { 
    return 1;
  } 

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