XC Open source finite element analysis program
Public Member Functions | Friends | List of all members
XC::IntPtrWrapper Class Reference
Inheritance diagram for XC::IntPtrWrapper:

Public Member Functions

 IntPtrWrapper (void)
 Standard constructor, sets size = 0;.
 
 IntPtrWrapper (int *data, int size, bool cleanIt=false)
 
int Size (void) const
 
void Zero (void)
 
const int * getDataPtr (void) const
 
int * getDataPtr (void)
 
bool Nulo (void) const
 
const int & max (void) const
 Returns the maximum of vector components.
 
const int & min (void) const
 Returns the minimum of vector components.
 
bool checkRange (const int &) const
 check if argument is inside range [0,sz-1]
 
int & at (const int &)
 
const int & at (const int &) const
 
int & operator() (const int &)
 
const int & operator() (const int &) const
 
int & operator[] (const int &i)
 
const int & operator[] (const int &i) const
 
int setData (int *newData, int size, bool cleanIt=false)
 
int getLocation (int value) const
 
int getLocationOrdered (int value) const
 
int removeValue (int value)
 

Friends

class UDP_Socket
 
class TCP_Socket
 
class TCP_SocketNoDelay
 
class MPI_Channel
 
std::ostream & operator<< (std::ostream &, const IntPtrWrapper &)
 

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