29 #ifndef IntPtrWrapper_h    30 #define IntPtrWrapper_h    32 #include "utility/kernel/CommandEntity.h"    33 #include <boost/python/list.hpp>    43     static int ID_NOT_VALID_ENTRY;
    48     void check_sizes(
void);
    58     inline int Size(
void)
 const    61     inline const int *getDataPtr(
void)
 const    63     inline int *getDataPtr(
void)
    65     bool isEmpty(
void) 
const;
    66     const int &
max(
void) 
const;
    67     const int &
min(
void) 
const;
    71     const int &at(
const int &) 
const; 
    72     int &operator()(
const int &);
    73     const int &operator()(
const int &) 
const;
    74     int &operator[](
const int &i)           
    76     const int &operator[](
const int &i)
 const               79     int setData(
int *newData, 
int size, 
bool cleanIt = 
false);
    80     int getLocation(
int value) 
const;
    81     int getLocationOrdered(
int value) 
const; 
    82     int removeValue(
int value);
    84     friend std::ostream &operator<<(std::ostream &, 
const IntPtrWrapper &);
    93 std::ostream &operator<<(std::ostream &, 
const IntPtrWrapper &);
    97 inline bool IntPtrWrapper::isEmpty(
void)
 const    98   { 
return (data== 
nullptr); }
   103     if((i < 0) || (i >= sz)) 
   105         std::cerr << 
"IntPtrWrapper::(loc) - loc "   106           << i << 
" outside range 0 - " <<  sz-1 << std::endl;
   113 inline int &IntPtrWrapper::at(
const int &i) 
   118       return ID_NOT_VALID_ENTRY;
   121 inline const int &IntPtrWrapper::at(
const int &i)
 const    126       return ID_NOT_VALID_ENTRY;
   130 inline int &IntPtrWrapper::operator()(
const int &i) 
   135       return ID_NOT_VALID_ENTRY;
   140 inline const int &IntPtrWrapper::operator()(
const int &i)
 const    145       return ID_NOT_VALID_ENTRY;
 const int & min(void) const
Returns the minimum of vector components. 
Definition: IntPtrWrapper.cc:264
IntPtrWrapper(void)
Standard constructor, sets size = 0;. 
Definition: IntPtrWrapper.cc:88
TCP_Socket is a sub-class of channel. 
Definition: TCP_Socket.h:71
TCP_SocketNoDelay is a sub-class of channel. 
Definition: TCP_SocketNoDelay.h:73
const int & max(void) const
Returns the maximum of vector components. 
Definition: IntPtrWrapper.cc:260
bool checkRange(const int &) const
check if argument is inside range [0,sz-1] 
Definition: IntPtrWrapper.h:101
Objet that can execute python scripts. 
Definition: CommandEntity.h:40
MPI_Channel is a sub-class of channel. 
Definition: MPI_Channel.h:70
std::vector< int > id_to_std_vector(const IntPtrWrapper &)
Convierte el vector en un std::vector<double>. 
Definition: IntPtrWrapper.cc:307
Integer array wrapper class. 
Definition: IntPtrWrapper.h:40
Open source finite element program for structural analysis. 
Definition: ContinuaReprComponent.h:35
DP_Socket is a sub-class of channel. 
Definition: UDP_Socket.h:76